JDK-8075663 : compiler/rangechecks/TestExplicitRangeChecks.java fails in compiler nightlies
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2015-03-21
  • Updated: 2015-06-03
  • Resolved: 2015-03-27
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 9
9 b64Fixed
Related Reports
Relates :  
Description
The test compiler/rangechecks/TestExplicitRangeChecks.java fails in the compiler nightlies. Here is an excerpt of the test's output:

CompileCommand: compileonly TestExplicitRangeChecks.test*
test1 not deoptimized on invalid access
test1 not deoptimized on invalid access
test2 not deoptimized on invalid access
test2 not deoptimized on invalid access
test3 not deoptimized on invalid access
test3 not deoptimized on invalid access
test4 not deoptimized on invalid access
test4 not deoptimized on invalid access
test5 not deoptimized on invalid access
test5 not deoptimized on invalid access
test6 not deoptimized on invalid access
test6 not deoptimized on invalid access
test7 not deoptimized on invalid access
test7 not deoptimized on invalid access
test8 not deoptimized on invalid access
test8 not deoptimized on invalid access
test9 not deoptimized on invalid access
test9 not deoptimized on invalid access
test11 not deoptimized on invalid access
test12 not deoptimized on invalid access
test14 not deoptimized on invalid access
test14 not deoptimized on invalid access
test16 not deoptimized on invalid access
test16 not deoptimized on invalid access
test17 not deoptimized on invalid access
test17 not deoptimized on invalid access
----------System.err:(13/730)----------
java.lang.RuntimeException: some tests failed
	at TestExplicitRangeChecks.main(TestExplicitRangeChecks.java:593)
	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:502)
	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: some tests failed
JavaTest Message: shutting down test
Comments
When a jtreg test cannot be run properly with -Xcomp we include -Xmixed in the arguments to the test. But -Xcomp -Xmixed is not the same as -Xmixed when tiered is enabled because it doesn���t set Tier3InvokeNotifyFreqLog and Tier4InvocationThreshold back to their initial value.
30-03-2015