diff src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.hpp @ 496:b27c885f75f9

6786188: par compact - "SplitALot" stress mode should fill to_space Reviewed-by: jmasa, tonyp
author jcoomes
date Thu, 18 Dec 2008 10:54:01 -0800
parents 234c22e54b98
children 0fbdb4381b99
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.hpp	Thu Dec 18 10:53:35 2008 -0800
+++ b/src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.hpp	Thu Dec 18 10:54:01 2008 -0800
@@ -978,6 +978,10 @@
   // Include the new objects in the summary data.
   static void summarize_new_objects(SpaceId id, HeapWord* start);
 
+  // Add live objects to a survivor space since it's rare that both survivors
+  // are non-empty.
+  static void provoke_split_fill_survivor(SpaceId id);
+
   // Add live objects and/or choose the dense prefix to provoke splitting.
   static void provoke_split(bool & maximum_compaction);
 #endif