JDK-8251502 : C2: compiler/arraycopy/TestInstanceCloneAsLoadsStores.java fails with -XX:+AlwaysIncrementalInline
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 16
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2020-08-12
  • Updated: 2020-08-20
  • Resolved: 2020-08-20
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 16
16Resolved
Related Reports
Duplicate :  
Duplicate :  
Description
----------System.out:(14/610)----------
CompileCommand: dontinline compiler/arraycopy/TestInstanceCloneAsLoadsStores.m*
Test m3 failed
source: 
int compiler.arraycopy.TestInstanceCloneUtils$E.i1 = 0
int compiler.arraycopy.TestInstanceCloneUtils$E.i2 = 1
int compiler.arraycopy.TestInstanceCloneUtils$E.i3 = 2
int compiler.arraycopy.TestInstanceCloneUtils$E.i4 = 3
int compiler.arraycopy.TestInstanceCloneUtils$E.i5 = 4
int compiler.arraycopy.TestInstanceCloneUtils$E.i6 = 5
int compiler.arraycopy.TestInstanceCloneUtils$E.i7 = 6
int compiler.arraycopy.TestInstanceCloneUtils$E.i8 = 7
int compiler.arraycopy.TestInstanceCloneUtils$E.i9 = 8
result: 
0
----------System.err:(13/847)----------
java.lang.RuntimeException: some tests failed
	at compiler.arraycopy.TestInstanceCloneAsLoadsStores.main(TestInstanceCloneAsLoadsStores.java:114)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.base/java.lang.Thread.run(Thread.java:832)

Comments
This no longer reproduces. I could trace it back to the same issue as JDK-8248791 which is already fixed. I'm closing this as a dup.
20-08-2020