< prev index next >
test/hotspot/jtreg/runtime/valhalla/valuetypes/ObjectMethods.java
Print this page
*** 34,43 ****
--- 34,46 ----
* @library /test/lib
* @compile -XDenableValueTypes ObjectMethods.java
* @run main/othervm -Xint -XX:+EnableValhalla -XX:+UseBiasedLocking -XX:+UseCompressedClassPointers runtime.valhalla.valuetypes.ObjectMethods
* @run main/othervm -Xint -XX:+EnableValhalla -XX:-UseBiasedLocking -XX:-UseCompressedClassPointers runtime.valhalla.valuetypes.ObjectMethods
* @run main/othervm -Xint -XX:+EnableValhalla -noverify runtime.valhalla.valuetypes.ObjectMethods noverify
+ * @run main/othervm -Xcomp -XX:+EnableValhalla -XX:+UseBiasedLocking -XX:+UseCompressedClassPointers runtime.valhalla.valuetypes.ObjectMethods
+ * @run main/othervm -Xcomp -XX:+EnableValhalla -XX:-UseBiasedLocking -XX:-UseCompressedClassPointers runtime.valhalla.valuetypes.ObjectMethods
+ * @run main/othervm -Xcomp -XX:+EnableValhalla -noverify runtime.valhalla.valuetypes.ObjectMethods noverify
*/
public class ObjectMethods {
public static void main(String[] args) {
*** 136,147 ****
}).invokeExact(val);
throw new IllegalStateException("Unreachable code, reached");
} catch (Throwable t) {
if (t instanceof IllegalMonitorStateException) {
sawImse = true;
! }
! else {
throw new RuntimeException(t);
}
}
if (!sawImse) {
throw new RuntimeException("monitorexit did not fail");
--- 139,149 ----
}).invokeExact(val);
throw new IllegalStateException("Unreachable code, reached");
} catch (Throwable t) {
if (t instanceof IllegalMonitorStateException) {
sawImse = true;
! } else {
throw new RuntimeException(t);
}
}
if (!sawImse) {
throw new RuntimeException("monitorexit did not fail");
< prev index next >