Mercurial > hg > jdk9-shenandoah > hotspot
changeset 9730:48b57bb45fe5
8134858: Remove G1 specific checking of Young/OldPLABSize in G1CollectorPolicy constructor
Summary: Remove obsolete and wrong code.
Reviewed-by: mgerdin, brutisso
author | tschatzl |
---|---|
date | Wed, 02 Sep 2015 09:57:03 +0200 |
parents | 94b68bbd87b5 |
children | 7eec02b95f9e |
files | src/share/vm/gc/g1/g1CollectorPolicy.cpp |
diffstat | 1 files changed, 0 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/gc/g1/g1CollectorPolicy.cpp Wed Sep 02 09:51:05 2015 +0200 +++ b/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;