changeset 5901:cc3f124c6eae

8035822: Unable to test minimalVM Summary: Moved test code inside INCLUDE_ALL_GCS Reviewed-by: stefank, ehelin
author jwilhelm
date Wed, 26 Feb 2014 22:11:26 +0100
parents d35df3079834
children ab36007d6358
files src/share/vm/prims/jni.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/prims/jni.cpp	Wed Feb 26 17:36:20 2014 -0800
+++ b/src/share/vm/prims/jni.cpp	Wed Feb 26 22:11:26 2014 +0100
@@ -5065,8 +5065,8 @@
 void TestMetaspaceAux_test();
 void TestMetachunk_test();
 void TestVirtualSpaceNode_test();
+#if INCLUDE_ALL_GCS
 void TestOldFreeSpaceCalculation_test();
-#if INCLUDE_ALL_GCS
 void TestG1BiasedArray_test();
 #endif
 
@@ -5086,11 +5086,11 @@
     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());
 #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());
 #endif