From 10043d0aa3907d1117a208162bb037648a243142 Mon Sep 17 00:00:00 2001 From: jwilhelm Date: Wed, 26 Feb 2014 22:11:26 +0100 Subject: [PATCH] 8035822: Unable to test minimalVM Summary: Moved test code inside INCLUDE_ALL_GCS Reviewed-by: stefank, ehelin --- src/share/vm/prims/jni.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/share/vm/prims/jni.cpp b/src/share/vm/prims/jni.cpp index 5deecdb40..3d8943f2d 100644 --- a/src/share/vm/prims/jni.cpp +++ b/src/share/vm/prims/jni.cpp @@ -5065,8 +5065,8 @@ void TestVirtualSpace_test(); void TestMetaspaceAux_test(); void TestMetachunk_test(); void TestVirtualSpaceNode_test(); -void TestOldFreeSpaceCalculation_test(); #if INCLUDE_ALL_GCS +void TestOldFreeSpaceCalculation_test(); void TestG1BiasedArray_test(); #endif @@ -5086,11 +5086,11 @@ void execute_internal_vm_tests() { 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 -- GitLab