diff src/share/vm/gc_implementation/parallelScavenge/psScavenge.hpp @ 4913:ab4422d0ed59

7146343: PS invoke methods should indicate the type of gc done Reviewed-by: stefank, jmasa
author jcoomes
date Thu, 16 Feb 2012 13:12:25 -0800
parents 95f6641e38e0
children d2a62e0f25eb
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/parallelScavenge/psScavenge.hpp	Wed Feb 15 13:06:53 2012 -0500
+++ b/src/share/vm/gc_implementation/parallelScavenge/psScavenge.hpp	Thu Feb 16 13:12:25 2012 -0800
@@ -117,10 +117,9 @@
   // Called by parallelScavengeHeap to init the tenuring threshold
   static void initialize();
 
-  // Scavenge entry point
-  static void invoke();
-  // Return true is a collection was done.  Return
-  // false if the collection was skipped.
+  // Scavenge entry point.  This may invoke a full gc; return true if so.
+  static bool invoke();
+  // Return true if a collection was done; false otherwise.
   static bool invoke_no_policy();
 
   // If an attempt to promote fails, this method is invoked