comparison src/share/vm/prims/jni.cpp @ 12236:c4c768305a8f

8024638: Count and expose the amount of committed memory in the metaspaces Reviewed-by: brutisso, ehelin
author stefank
date Thu, 12 Sep 2013 10:15:54 +0200
parents 21ffbaa691b5
children 06ae47d9d088
comparison
equal deleted inserted replaced
12235:d6c266999345 12236:c4c768305a8f
5046 unit_test_function_call 5046 unit_test_function_call
5047 5047
5048 // Forward declaration 5048 // Forward declaration
5049 void TestReservedSpace_test(); 5049 void TestReservedSpace_test();
5050 void TestReserveMemorySpecial_test(); 5050 void TestReserveMemorySpecial_test();
5051 void TestVirtualSpace_test();
5052 void MetaspaceAux_test();
5051 5053
5052 void execute_internal_vm_tests() { 5054 void execute_internal_vm_tests() {
5053 if (ExecuteInternalVMTests) { 5055 if (ExecuteInternalVMTests) {
5054 tty->print_cr("Running internal VM tests"); 5056 tty->print_cr("Running internal VM tests");
5055 run_unit_test(TestReservedSpace_test()); 5057 run_unit_test(TestReservedSpace_test());
5056 run_unit_test(TestReserveMemorySpecial_test()); 5058 run_unit_test(TestReserveMemorySpecial_test());
5059 run_unit_test(TestVirtualSpace_test());
5060 run_unit_test(MetaspaceAux_test());
5057 run_unit_test(GlobalDefinitions::test_globals()); 5061 run_unit_test(GlobalDefinitions::test_globals());
5058 run_unit_test(GCTimerAllTest::all()); 5062 run_unit_test(GCTimerAllTest::all());
5059 run_unit_test(arrayOopDesc::test_max_array_length()); 5063 run_unit_test(arrayOopDesc::test_max_array_length());
5060 run_unit_test(CollectedHeap::test_is_in()); 5064 run_unit_test(CollectedHeap::test_is_in());
5061 run_unit_test(QuickSort::test_quick_sort()); 5065 run_unit_test(QuickSort::test_quick_sort());