diff -r 82b8d12a553f -r e5b3e9732c3c hotspot/test/compiler/stable/TestStableMemoryBarrier.java --- a/hotspot/test/compiler/stable/TestStableMemoryBarrier.java Wed Jul 05 21:39:33 2017 +0200 +++ b/hotspot/test/compiler/stable/TestStableMemoryBarrier.java Tue May 03 09:09:20 2016 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -30,7 +30,7 @@ * @library /testlibrary /test/lib * @modules java.base/jdk.internal.vm.annotation * - * @run main/bootclasspath -Xcomp -XX:CompileOnly=::testCompile + * @run main/bootclasspath/othervm -Xcomp -XX:CompileOnly=::testCompile * compiler.stable.TestStableMemoryBarrier * * @author hui.shi@linaro.org