mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
7163191: G1: introduce a "heap spanning table" abstraction
Add G1BiasedArray<T> that is an array where each element represents a fixed-sized subdivision of the heap. Use this abstraction to refactor the HeapRegionSeq class. Reviewed-by: brutisso
This commit is contained in:
parent
83ed895a75
commit
ab5637182c
9 changed files with 389 additions and 87 deletions
|
@ -5047,6 +5047,9 @@ void TestReservedSpace_test();
|
|||
void TestReserveMemorySpecial_test();
|
||||
void TestVirtualSpace_test();
|
||||
void MetaspaceAux_test();
|
||||
#if INCLUDE_ALL_GCS
|
||||
void TestG1BiasedArray_test();
|
||||
#endif
|
||||
|
||||
void execute_internal_vm_tests() {
|
||||
if (ExecuteInternalVMTests) {
|
||||
|
@ -5066,6 +5069,7 @@ void execute_internal_vm_tests() {
|
|||
run_unit_test(VMStructs::test());
|
||||
#endif
|
||||
#if INCLUDE_ALL_GCS
|
||||
run_unit_test(TestG1BiasedArray_test());
|
||||
run_unit_test(HeapRegionRemSet::test_prt());
|
||||
#endif
|
||||
tty->print_cr("All internal VM tests passed");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue