JDK-8266988 : compiler/jvmci/compilerToVM/IsMatureTest.java fails with Unexpected isMature state for multiple times invoked method: expected false to equal true
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 17,18
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-05-12
  • Updated: 2022-08-02
  • Resolved: 2021-07-23
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 11 JDK 17 JDK 18
11.0.14-oracleFixed 17.0.2Fixed 18 b08Fixed
Related Reports
Relates :  
Relates :  
Description
Has only been seen with '-XX:TieredStopAtLevel=2' so far. Some failures have also '-Xcomp'. A repetition of the JDK-8219555?

----------System.err:(17/1263)----------
java.lang.RuntimeException: Unexpected isMature state for multiple times invoked method: expected false to equal true
	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.jvmci.compilerToVM.IsMatureTest.test(IsMatureTest.java:83)
	at compiler.jvmci.compilerToVM.IsMatureTest.main(IsMatureTest.java:59)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.base/java.lang.Thread.run(Thread.java:831)
Comments
Changeset: f79ea823 Author: Ramkumar Sunderbabu <rsunderbabu@openjdk.org> Committer: Abdul Kolarkunnu <akolarkunnu@openjdk.org> Date: 2021-08-27 08:55:53 +0000 URL: https://git.openjdk.java.net/jdk17u-dev/commit/f79ea82331718509b34c01297df869851c8641e1
20-01-2022

Changeset: f79ea823 Author: Ramkumar Sunderbabu <rsunderbabu@openjdk.org> Committer: Abdul Kolarkunnu <akolarkunnu@openjdk.org> Date: 2021-08-27 08:55:53 +0000 URL: https://git.openjdk.java.net/jdk17u/commit/f79ea82331718509b34c01297df869851c8641e1
20-01-2022

Changeset: 7468bbcd Author: Igor Veresov <iveresov@openjdk.org> Date: 2021-07-23 22:18:51 +0000 URL: https://git.openjdk.java.net/jdk/commit/7468bbcd647dc525ca75c7fb29d52c26c9c5e528
23-07-2021

The test is not designed to function properly with -XX:TieredStopAtLevel=2. While this will create an MDO, methods are not going to be profiled and hence not doing to be "mature".
23-07-2021

[~iveresov], please take a look at this.
13-05-2021