xvrl commented on a change in pull request #8397: fix JVMMonitor initialization 
with JDK11
URL: https://github.com/apache/incubator-druid/pull/8397#discussion_r317393056
 
 

 ##########
 File path: 
core/src/main/java/org/apache/druid/java/util/metrics/JvmMonitor.java
 ##########
 @@ -40,10 +42,12 @@
 
 public class JvmMonitor extends FeedDefiningMonitor
 {
+  private static final Logger log = new Logger(JvmMonitor.class);
+
   private final Map<String, String[]> dimensions;
   private final long pid;
 
-  private final GcCounters gcCounters = new GcCounters();
+  final GcCounters gcCounters;
 
 Review comment:
   done

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to