< prev index next >

src/share/vm/services/memoryService.hpp

Print this page

        

@@ -25,10 +25,11 @@
 #ifndef SHARE_VM_SERVICES_MEMORYSERVICE_HPP
 #define SHARE_VM_SERVICES_MEMORYSERVICE_HPP
 
 #include "gc/shared/gcCause.hpp"
 #include "gc/shared/generation.hpp"
+#include "logging/log.hpp"
 #include "memory/allocation.hpp"
 #include "runtime/handles.hpp"
 #include "services/memoryUsage.hpp"
 
 // Forward declaration

@@ -162,11 +163,11 @@
                      bool recordGCEndTime, bool countCollection,
                      GCCause::Cause cause);
 
   static void oops_do(OopClosure* f);
 
-  static bool get_verbose() { return PrintGC; }
+  static bool get_verbose() { return log_is_enabled(Info, gc); }
   static bool set_verbose(bool verbose);
 
   // Create an instance of java/lang/management/MemoryUsage
   static Handle create_MemoryUsage_obj(MemoryUsage usage, TRAPS);
 
< prev index next >