changeset 11257:f0c6ff7fcfa9

8156867: Simplify/reduce testing in ParallelCompact_test Reviewed-by: jwilhelm, jprovino
author jmasa
date Fri, 13 May 2016 12:36:03 -0700
parents 23f19168390c
children 890d81d31ea1
files src/share/vm/gc/parallel/psParallelCompact.cpp
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/gc/parallel/psParallelCompact.cpp	Tue May 17 08:51:05 2016 -0400
+++ b/src/share/vm/gc/parallel/psParallelCompact.cpp	Fri May 13 12:36:03 2016 -0700
@@ -394,13 +394,6 @@
   HeapWord* end_heap =
     (HeapWord*) heap->young_gen()->virtual_space()->high_boundary();
 
-  size_t end_index =
-    PSParallelCompact::summary_data().addr_to_region_idx(end_heap);
-  ParallelCompactData::RegionData* c = PSParallelCompact::summary_data().region(end_index);
-
-  // Initialize the end region with a bad destination.
-  c->set_destination(begin_heap - 1);
-
   print_generic_summary_data(PSParallelCompact::summary_data(),
     begin_heap, end_heap);
 }