JDK-8066250 : compiler/dependencies/MonomorphicObjectCall/TestMonomorphicObjectCall.java fails product
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 8u40,9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-12-01
  • Updated: 2017-09-12
  • Resolved: 2014-12-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u152Fixed 9 b44Fixed
Related Reports
Duplicate :  
Description
compiler/dependencies/MonomorphicObjectCall/TestMonomorphicObjectCall.java uses develop flag VerifyDependencies which is unavailable in product build

----------System.out:(10/1004)----------
Command line: [/export/local/aurora/CommonData/jdk/bin/java -Xcomp -client -Xcomp -Xbootclasspath/p:/export/local/aurora/sandbox/results/workDir/classes/compiler/dependencies/MonomorphicObjectCall/ -Xcomp -XX:-VerifyDependencies -XX:CompileOnly=TestMonomorphicObjectCall::callFinalize -XX:CompileOnly=Object::finalizeObject -XX:TieredStopAtLevel=1 TestMonomorphicObjectCall true ]
--- ProcessLog ---
cmd: /export/local/aurora/CommonData/jdk/bin/java -Xcomp -client -Xcomp -Xbootclasspath/p:/export/local/aurora/sandbox/results/workDir/classes/compiler/dependencies/MonomorphicObjectCall/ -Xcomp -XX:-VerifyDependencies -XX:CompileOnly=TestMonomorphicObjectCall::callFinalize -XX:CompileOnly=Object::finalizeObject -XX:TieredStopAtLevel=1 TestMonomorphicObjectCall true
exitvalue: 1
stderr: Error: VM option 'VerifyDependencies' is develop and is available only in debug version of VM.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

stdout: 

----------System.err:(24/1199)----------
 stdout: [];
 stderr: [Error: VM option 'VerifyDependencies' is develop and is available only in debug version of VM.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
]
 exitValue = 1

java.lang.RuntimeException: Expected to get exit value of [0]

	at com.oracle.java.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:308)
	at TestMonomorphicObjectCall.executeTestJvm(TestMonomorphicObjectCall.java:71)
	at TestMonomorphicObjectCall.main(TestMonomorphicObjectCall.java:51)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:745)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]
Comments
Why was this not backported to 8? How are you dealing with the failure?
29-11-2016

ILW=lose test coverage;product build;IgnoreUnrecognizedVMOptions=MML=>P4
01-12-2014

the test should have -XX:+IgnoreUnrecognizedVMOptions in flags
01-12-2014