hotspot/test/compiler/dependencies/MonomorphicObjectCall/TestMonomorphicObjectCall.java
--- a/hotspot/test/compiler/dependencies/MonomorphicObjectCall/TestMonomorphicObjectCall.java Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/dependencies/MonomorphicObjectCall/TestMonomorphicObjectCall.java Tue Jul 12 18:24:48 2016 +0300
@@ -25,11 +25,17 @@
* @test
* @bug 8050079
* @summary Compiles a monomorphic call to finalizeObject() on a modified java.lang.Object to test C1 CHA.
+ *
* @build java.base/java.lang.Object
* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -Xcomp -XX:-VerifyDependencies
- * -XX:TieredStopAtLevel=1 -XX:CompileOnly=TestMonomorphicObjectCall::callFinalize
- * -XX:CompileOnly=java.lang.Object::finalizeObject TestMonomorphicObjectCall
+ * -XX:TieredStopAtLevel=1
+ * -XX:CompileCommand=compileonly,compiler.dependencies.MonomorphicObjectCall.TestMonomorphicObjectCall::callFinalize
+ * -XX:CompileCommand=compileonly,java.lang.Object::finalizeObject
+ * compiler.dependencies.MonomorphicObjectCall.TestMonomorphicObjectCall
*/
+
+package compiler.dependencies.MonomorphicObjectCall;
+
public class TestMonomorphicObjectCall {
private static void callFinalize(Object object) throws Throwable {