8035822: Unable to test minimalVM
authorjwilhelm
Wed, 26 Feb 2014 14:52:42 +0100
changeset 22906 528490ea7e82
parent 22905 4b1549d69106
child 22907 f978a4a64728
8035822: Unable to test minimalVM Summary: Moved the test code inside INCLUDE_ALL_GCS Reviewed-by: dholmes, stefank
hotspot/src/share/vm/prims/jni.cpp
--- a/hotspot/src/share/vm/prims/jni.cpp	Tue Feb 25 11:02:11 2014 +0100
+++ b/hotspot/src/share/vm/prims/jni.cpp	Wed Feb 26 14:52:42 2014 +0100
@@ -3876,9 +3876,9 @@
 void TestMetaspaceAux_test();
 void TestMetachunk_test();
 void TestVirtualSpaceNode_test();
-void TestOldFreeSpaceCalculation_test();
 void TestNewSize_test();
 #if INCLUDE_ALL_GCS
+void TestOldFreeSpaceCalculation_test();
 void TestG1BiasedArray_test();
 void TestBufferingOopClosure_test();
 #endif
@@ -3899,12 +3899,12 @@
     run_unit_test(QuickSort::test_quick_sort());
     run_unit_test(AltHashing::test_alt_hash());
     run_unit_test(test_loggc_filename());
-    run_unit_test(TestOldFreeSpaceCalculation_test());
     run_unit_test(TestNewSize_test());
 #if INCLUDE_VM_STRUCTS
     run_unit_test(VMStructs::test());
 #endif
 #if INCLUDE_ALL_GCS
+    run_unit_test(TestOldFreeSpaceCalculation_test());
     run_unit_test(TestG1BiasedArray_test());
     run_unit_test(HeapRegionRemSet::test_prt());
     run_unit_test(TestBufferingOopClosure_test());