8156867: Simplify/reduce testing in ParallelCompact_test
authorjmasa
Fri, 13 May 2016 12:36:03 -0700
changeset 38311 9f2555351233
parent 38309 9b8e9c373740
child 38312 78d71e48e040
8156867: Simplify/reduce testing in ParallelCompact_test Reviewed-by: jwilhelm, jprovino
hotspot/src/share/vm/gc/parallel/psParallelCompact.cpp
--- a/hotspot/src/share/vm/gc/parallel/psParallelCompact.cpp	Tue May 17 08:51:05 2016 -0400
+++ b/hotspot/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);
 }