8137082: Factor out G1 prediction code from G1CollectorPolicy and clean up

Factor out G1 prediction code from G1CollectorPolicy into its own class, constify methods of G1CollectorPolicy and move more implementations to the cpp file.

Reviewed-by: jmasa, sangheki, ecaspole, kbarrett
This commit is contained in:
Thomas Schatzl 2015-10-15 10:07:28 +02:00
parent ebe8b1d7f6
commit b8367b252f
9 changed files with 352 additions and 178 deletions

View file

@ -3870,6 +3870,7 @@ void TestBufferingOopClosure_test();
void TestCodeCacheRemSet_test();
void FreeRegionList_test();
void test_memset_with_concurrent_readers();
void TestPredictions_test();
#endif
void execute_internal_vm_tests() {
@ -3912,6 +3913,7 @@ void execute_internal_vm_tests() {
run_unit_test(FreeRegionList_test());
}
run_unit_test(test_memset_with_concurrent_readers());
run_unit_test(TestPredictions_test());
#endif
tty->print_cr("All internal VM tests passed");
}