Commit a290256 authored and committed Nov 7, 2023
1 parent b1625af commit a290256 Copy full SHA for a290256
File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 27
27
*
28
28
* @requires vm.opt.DeoptimizeALot != true
29
29
*
30
- * @run main/othervm -Xint -Dpremature=false ReachabilityFenceTest
31
- * @run main/othervm -XX:TieredStopAtLevel=1 -Dpremature=true ReachabilityFenceTest
32
- * @run main/othervm -XX:TieredStopAtLevel=2 -Dpremature=true ReachabilityFenceTest
33
- * @run main/othervm -XX:TieredStopAtLevel=3 -Dpremature=true ReachabilityFenceTest
34
- * @run main/othervm -XX:TieredStopAtLevel=4 -Dpremature=true ReachabilityFenceTest
30
+ * @run main/othervm -Xint -Dpremature=false ReachabilityFenceTest
31
+ * @run main/othervm -Xbatch - XX:TieredStopAtLevel=1 -Dpremature=true ReachabilityFenceTest
32
+ * @run main/othervm -Xbatch - XX:TieredStopAtLevel=2 -Dpremature=true ReachabilityFenceTest
33
+ * @run main/othervm -Xbatch - XX:TieredStopAtLevel=3 -Dpremature=true ReachabilityFenceTest
34
+ * @run main/othervm -Xbatch - XX:TieredStopAtLevel=4 -Dpremature=true ReachabilityFenceTest
35
35
*/
36
36
37
37
import java .lang .ref .Reference ;
@@ -54,7 +54,7 @@ public class ReachabilityFenceTest {
54
54
* the object cannot be finalized. There is no sense running a positive test when premature finalization
55
55
* is not expected. It is a job for negative test to verify that invariant.
56
56
*
57
- * The test methods should be appropriately compiled, therefore we do several iterations.
57
+ * The test methods should be appropriately compiled, therefore we do several iterations and run with -Xbatch .
58
58
*/
59
59
60
60
// Enough to OSR and compile
You can’t perform that action at this time.
0 commit comments