diff -r 04183bf08bff -r dfe1cff5c2f6 test/hotspot/gtest/utilities/test_spinYield.cpp --- a/test/hotspot/gtest/utilities/test_spinYield.cpp Wed Aug 01 09:33:56 2018 -0700 +++ b/test/hotspot/gtest/utilities/test_spinYield.cpp Wed Aug 01 10:04:08 2018 -0700 @@ -65,7 +65,7 @@ check_report(&spinner, "yields = 2"); } -TEST(SpinYield, one_sleep) { +TEST_VM(SpinYield, one_sleep) { SpinYield spinner(0, 0); spinner.wait(); @@ -77,7 +77,7 @@ ASSERT_TRUE(strncmp(expected, buffer, strlen(expected)) == 0); } -TEST(SpinYield, one_spin_one_sleep) { +TEST_VM(SpinYield, one_spin_one_sleep) { SpinYield spinner(1, 0); spinner.wait(); spinner.wait();