JDK-8254805 : compiler/debug/TestStressCM.java is still failing
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 16
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • CPU: x86_64
  • Submitted: 2020-10-15
  • Updated: 2020-10-28
  • Resolved: 2020-10-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
16 b21Fixed
Related Reports
Relates :  
Description
Even after JDK-8254602 the test is still failing:

----------System.err:(49/2389)----------
java.lang.RuntimeException: got different optimization stats for the same seed: expected 45
--- Compiler Statistics ---
Methods seen: 1  Methods parsed: 1  Nodes created: 2082
Blocks parsed: 5  Blocks seen: 5
0 made implicit ( 0%)
CCP: 1  constants found: 0
Total frameslots = 136, Max frameslots = 16
Inserted 0 spill loads, 0 spill stores, 0 mem-mem moves and 0 copies.
Total load cost=      0, store cost =      0, mem-mem cost =  0.00, copy cost =     0.
Adjusted spill cost =       0.
Conservatively coalesced 36 copies, 0 pairs, 0 post alloc.
Used cisc instruction  0,  remained in register 28
Average allocation trips 1.000000
High Pressure Blocks = 29, Low Pressure Blocks = 103
Nops added 0 bytes to total of 1839 bytes, for 0.00%
Peephole: peephole rules applied: 0
PhaseIdealLoop=7, sum _unique=1744
 to equal 45
--- Compiler Statistics ---
Methods seen: 1  Methods parsed: 1  Nodes created: 2068
Blocks parsed: 5  Blocks seen: 5
0 made implicit ( 0%)
CCP: 1  constants found: 0
Total frameslots = 136, Max frameslots = 16
Inserted 0 spill loads, 0 spill stores, 0 mem-mem moves and 0 copies.
Total load cost=      0, store cost =      0, mem-mem cost =  0.00, copy cost =     0.
Adjusted spill cost =       0.
Conservatively coalesced 36 copies, 0 pairs, 0 post alloc.
Used cisc instruction  0,  remained in register 28
Average allocation trips 1.000000
High Pressure Blocks = 29, Low Pressure Blocks = 103
Nops added 0 bytes to total of 1649 bytes, for 0.00%
Peephole: peephole rules applied: 0
PhaseIdealLoop=7, sum _unique=1744

	at jdk.test.lib.Asserts.fail(Asserts.java:594)
	at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
	at jdk.test.lib.Asserts.assertEQ(Asserts.java:178)
	at compiler.debug.TestStressCM.main(TestStressCM.java:67)
	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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
	at java.base/java.lang.Thread.run(Thread.java:832)

Comments
Changeset: 98ec4a67 Author: Roberto Casta��eda Lozano <roberto.castaneda.lozano@oracle.com> Committer: Tobias Hartmann <thartmann@openjdk.org> Date: 2020-10-20 06:08:25 +0000 URL: https://git.openjdk.java.net/jdk/commit/98ec4a67
20-10-2020

Current failures seem to be limited to Windows x64.
18-10-2020

ILW = Test is failing due to unexpected difference in compilation statistics (most likely test bug), intermittent with single test, no workaround = MMH = P3
15-10-2020

The fix for JDK-8254602 was integrated in jdk-16+20-1081 and the first failure was in jdk-16+20-1097.
15-10-2020