Mercurial > hg > truffle
comparison src/share/vm/prims/jni.cpp @ 12305:a19bea467577
7163191: G1: introduce a "heap spanning table" abstraction
Summary: 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
author | tschatzl |
---|---|
date | Wed, 25 Sep 2013 13:25:24 +0200 |
parents | da051ce490eb |
children | 03f493ce3a71 |
comparison
equal
deleted
inserted
replaced
12304:10cc3b624f8f | 12305:a19bea467577 |
---|---|
5045 // Forward declaration | 5045 // Forward declaration |
5046 void TestReservedSpace_test(); | 5046 void TestReservedSpace_test(); |
5047 void TestReserveMemorySpecial_test(); | 5047 void TestReserveMemorySpecial_test(); |
5048 void TestVirtualSpace_test(); | 5048 void TestVirtualSpace_test(); |
5049 void MetaspaceAux_test(); | 5049 void MetaspaceAux_test(); |
5050 #if INCLUDE_ALL_GCS | |
5051 void TestG1BiasedArray_test(); | |
5052 #endif | |
5050 | 5053 |
5051 void execute_internal_vm_tests() { | 5054 void execute_internal_vm_tests() { |
5052 if (ExecuteInternalVMTests) { | 5055 if (ExecuteInternalVMTests) { |
5053 tty->print_cr("Running internal VM tests"); | 5056 tty->print_cr("Running internal VM tests"); |
5054 run_unit_test(TestReservedSpace_test()); | 5057 run_unit_test(TestReservedSpace_test()); |
5064 run_unit_test(test_loggc_filename()); | 5067 run_unit_test(test_loggc_filename()); |
5065 #if INCLUDE_VM_STRUCTS | 5068 #if INCLUDE_VM_STRUCTS |
5066 run_unit_test(VMStructs::test()); | 5069 run_unit_test(VMStructs::test()); |
5067 #endif | 5070 #endif |
5068 #if INCLUDE_ALL_GCS | 5071 #if INCLUDE_ALL_GCS |
5072 run_unit_test(TestG1BiasedArray_test()); | |
5069 run_unit_test(HeapRegionRemSet::test_prt()); | 5073 run_unit_test(HeapRegionRemSet::test_prt()); |
5070 #endif | 5074 #endif |
5071 tty->print_cr("All internal VM tests passed"); | 5075 tty->print_cr("All internal VM tests passed"); |
5072 } | 5076 } |
5073 } | 5077 } |