mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
committed by
Vitaly Provodin
parent
b4e578da29
commit
a2e5f00e9f
@@ -25,17 +25,17 @@
|
||||
/*
|
||||
* @test id=int
|
||||
* @summary Check that monitorenter A; monitorenter B; monitorexit A; monitorexit B; works
|
||||
* @compile TestUnstructuredLocking.jasm
|
||||
* @run main/othervm -Xint TestUnstructuredLocking
|
||||
* @compile TestOutOfOrderUnlocking.jasm
|
||||
* @run main/othervm -Xint TestOutOfOrderUnlocking
|
||||
*/
|
||||
/*
|
||||
* @test id=comp
|
||||
* @summary Check that monitorenter A; monitorenter B; monitorexit A; monitorexit B; works, with -Xcomp
|
||||
* @compile TestUnstructuredLocking.jasm
|
||||
* @run main/othervm -Xcomp TestUnstructuredLocking
|
||||
* @compile TestOutOfOrderUnlocking.jasm
|
||||
* @run main/othervm -Xcomp TestOutOfOrderUnlocking
|
||||
*/
|
||||
|
||||
super public class TestUnstructuredLocking version 64:0 {
|
||||
super public class TestOutOfOrderUnlocking version 64:0 {
|
||||
|
||||
public static Method main:"([Ljava/lang/String;)V" stack 2 locals 4 {
|
||||
new class java/lang/Object;
|
||||
Reference in New Issue
Block a user