< prev index next >

src/hotspot/share/services/lowMemoryDetector.hpp

Print this page

        

@@ -57,11 +57,11 @@
 // For Code cache, detection will be performed in the allocation
 // and deallocation.
 //
 // May need to deal with hysteresis effect.
 //
-// Memory detection code runs in the Service thread (serviceThread.hpp).
+// Memory detection code runs in the Notification thread (notificationThread.hpp).
 
 class OopClosure;
 class MemoryPool;
 
 class ThresholdSupport : public CHeapObj<mtInternal> {

@@ -211,11 +211,11 @@
 #endif // PRODUCT
 };
 
 class LowMemoryDetector : public AllStatic {
   friend class LowMemoryDetectorDisabler;
-  friend class ServiceThread;
+  friend class NotificationThread;
 private:
   // true if any collected heap has low memory detection enabled
   static volatile bool _enabled_for_collected_pools;
   // > 0 if temporary disabed
   static volatile jint _disabled_count;
< prev index next >