src/hotspot/share/gc/parallel/psMarkSweep.cpp
changeset 54678 93f09ca4a7f8
parent 54669 ad45b3802d4e
child 54786 ebf733a324d4
--- a/src/hotspot/share/gc/parallel/psMarkSweep.cpp	Thu May 02 10:38:00 2019 +0200
+++ b/src/hotspot/share/gc/parallel/psMarkSweep.cpp	Mon Apr 15 11:47:46 2019 +0200
@@ -88,7 +88,7 @@
 // Note that this method should only be called from the vm_thread while
 // at a safepoint!
 //
-// Note that the all_soft_refs_clear flag in the collector policy
+// Note that the all_soft_refs_clear flag in the soft ref policy
 // may be true because this method can be called without intervening
 // activity.  For example when the heap space is tight and full measure
 // are being taken to free space.
@@ -135,7 +135,7 @@
   PSAdaptiveSizePolicy* size_policy = heap->size_policy();
 
   // The scope of casr should end after code that can change
-  // CollectorPolicy::_should_clear_all_soft_refs.
+  // SoftRefolicy::_should_clear_all_soft_refs.
   ClearedAllSoftRefs casr(clear_all_softrefs, heap->soft_ref_policy());
 
   PSYoungGen* young_gen = heap->young_gen();