8134858: Remove G1 specific checking of Young/OldPLABSize in G1CollectorPolicy constructor
authortschatzl
Wed, 02 Sep 2015 09:57:03 +0200
changeset 32609 e121ff3775da
parent 32608 ef2ec6fac731
child 32610 bf513f9f3fb9
8134858: Remove G1 specific checking of Young/OldPLABSize in G1CollectorPolicy constructor Summary: Remove obsolete and wrong code. Reviewed-by: mgerdin, brutisso
hotspot/src/share/vm/gc/g1/g1CollectorPolicy.cpp
--- a/hotspot/src/share/vm/gc/g1/g1CollectorPolicy.cpp	Wed Sep 02 09:51:05 2015 +0200
+++ b/hotspot/src/share/vm/gc/g1/g1CollectorPolicy.cpp	Wed Sep 02 09:57:03 2015 +0200
@@ -181,15 +181,6 @@
     G1ErgoVerbose::set_enabled(false);
   }
 
-  // Verify PLAB sizes
-  const size_t region_size = HeapRegion::GrainWords;
-  if (YoungPLABSize > region_size || OldPLABSize > region_size) {
-    char buffer[128];
-    jio_snprintf(buffer, sizeof(buffer), "%sPLABSize should be at most " SIZE_FORMAT,
-                 OldPLABSize > region_size ? "Old" : "Young", region_size);
-    vm_exit_during_initialization(buffer);
-  }
-
   _recent_prev_end_times_for_all_gcs_sec->add(os::elapsedTime());
   _prev_collection_pause_end_ms = os::elapsedTime() * 1000.0;