Mercurial > hg > truffle
comparison src/share/vm/prims/jni.cpp @ 20337:1f1d373cd044
8038423: G1: Decommit memory within heap
Summary: Allow G1 to decommit memory of arbitrary regions within the heap and their associated auxiliary data structures card table, BOT, hot card cache, and mark bitmaps.
Reviewed-by: mgerdin, brutisso, jwilhelm
author | tschatzl |
---|---|
date | Thu, 21 Aug 2014 11:47:10 +0200 |
parents | 8ae0d26ab728 |
children | 833b0f92429a |
comparison
equal
deleted
inserted
replaced
20336:6701abbc4441 | 20337:1f1d373cd044 |
---|---|
5080 #if INCLUDE_ALL_GCS | 5080 #if INCLUDE_ALL_GCS |
5081 void TestOldFreeSpaceCalculation_test(); | 5081 void TestOldFreeSpaceCalculation_test(); |
5082 void TestG1BiasedArray_test(); | 5082 void TestG1BiasedArray_test(); |
5083 void TestBufferingOopClosure_test(); | 5083 void TestBufferingOopClosure_test(); |
5084 void TestCodeCacheRemSet_test(); | 5084 void TestCodeCacheRemSet_test(); |
5085 void FreeRegionList_test(); | |
5085 #endif | 5086 #endif |
5086 | 5087 |
5087 void execute_internal_vm_tests() { | 5088 void execute_internal_vm_tests() { |
5088 if (ExecuteInternalVMTests) { | 5089 if (ExecuteInternalVMTests) { |
5089 tty->print_cr("Running internal VM tests"); | 5090 tty->print_cr("Running internal VM tests"); |
5110 run_unit_test(TestOldFreeSpaceCalculation_test()); | 5111 run_unit_test(TestOldFreeSpaceCalculation_test()); |
5111 run_unit_test(TestG1BiasedArray_test()); | 5112 run_unit_test(TestG1BiasedArray_test()); |
5112 run_unit_test(HeapRegionRemSet::test_prt()); | 5113 run_unit_test(HeapRegionRemSet::test_prt()); |
5113 run_unit_test(TestBufferingOopClosure_test()); | 5114 run_unit_test(TestBufferingOopClosure_test()); |
5114 run_unit_test(TestCodeCacheRemSet_test()); | 5115 run_unit_test(TestCodeCacheRemSet_test()); |
5116 if (UseG1GC) { | |
5117 run_unit_test(FreeRegionList_test()); | |
5118 } | |
5115 #endif | 5119 #endif |
5116 tty->print_cr("All internal VM tests passed"); | 5120 tty->print_cr("All internal VM tests passed"); |
5117 } | 5121 } |
5118 } | 5122 } |
5119 | 5123 |