< prev index next >
test/hotspot/jtreg/compiler/aot/calls/fromAot/AotInvokeDynamic2InterpretedTest.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2019, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -35,11 +35,12 @@
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run driver compiler.aot.AotCompiler
* -libname AotInvokeDynamic2InterpretedTest.so
* -class compiler.calls.common.InvokeDynamic
* -compile compiler.calls.common.InvokeDynamic.caller()V
- * @run main/othervm -XX:AOTLibrary=./AotInvokeDynamic2InterpretedTest.so
+ * @run main/othervm -XX:+UnlockExperimentalVMOptions
+ * -XX:AOTLibrary=./AotInvokeDynamic2InterpretedTest.so
* -XX:CompileCommand=exclude,compiler.calls.common.InvokeDynamic::callee
* -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:.
* -XX:+UseAOT compiler.calls.common.InvokeDynamic -checkCallerCompileLevel -1
* @summary check calls from aot to interpreted code using invokedynamic
*/
< prev index next >