8136681: Factor out IHOP calculation from G1CollectorPolicy

Move out existing IHOP value calculation into an implementation of a new interface called G1IHOPControl. Prepare for changes to accomodate adaptive IHOP implementation.

Reviewed-by: jmasa, mgerdin, ehelin
This commit is contained in:
Thomas Schatzl 2015-11-24 10:22:36 +01:00
parent c63309f725
commit 66a728fc27
10 changed files with 551 additions and 53 deletions

View file

@ -3889,6 +3889,7 @@ void TestG1BiasedArray_test();
void TestBufferingOopClosure_test();
void TestCodeCacheRemSet_test();
void FreeRegionList_test();
void IHOP_test();
void test_memset_with_concurrent_readers();
void TestPredictions_test();
void WorkerDataArray_test();
@ -3937,6 +3938,7 @@ void execute_internal_vm_tests() {
run_unit_test(TestCodeCacheRemSet_test());
if (UseG1GC) {
run_unit_test(FreeRegionList_test());
run_unit_test(IHOP_test());
}
run_unit_test(test_memset_with_concurrent_readers());
run_unit_test(TestPredictions_test());