JDK-8321820 : TestLoadNIdeal fails on 32-bit because -XX:+UseCompressedOops is not recognized
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 23
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-12-11
  • Updated: 2023-12-21
  • Resolved: 2023-12-14
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 23
23 b03Fixed
Related Reports
Relates :  
Description
TestLoadNIdeal.java added by JDK-8310524 fails on 32-bit:

--- OUTPUT TestFramework flag VM ---
Unrecognized VM option 'UseCompressedOops'
Did you mean '(+/-)CheckCompressedOops'?
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

java.lang.RuntimeException: TestFramework flag VM exited with 1
	at compiler.lib.ir_framework.driver.FlagVMProcess.checkFlagVMExitCode(FlagVMProcess.java:135)
	at compiler.lib.ir_framework.driver.FlagVMProcess.start(FlagVMProcess.java:121)
	at compiler.lib.ir_framework.driver.FlagVMProcess.<init>(FlagVMProcess.java:63)
	at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:707)
	at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:338)
	at compiler.lib.ir_framework.TestFramework.runWithFlags(TestFramework.java:244)
	at compiler.c2.irTests.igvn.TestLoadNIdeal.main(TestLoadNIdeal.java:40)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
	at java.base/java.lang.Thread.run(Thread.java:1570)

https://github.com/biboudis/jdk/actions/runs/7172520895/job/19530806441

Thanks to [~abimpoudis] for reporting!
Comments
Changeset: d632d743 Author: Daniel Lundén <daniel.lunden@oracle.com> Committer: Christian Hagedorn <chagedorn@openjdk.org> Date: 2023-12-14 09:29:34 +0000 URL: https://git.openjdk.org/jdk/commit/d632d743e018c69ecf423af75b65354e8ffaefc8
14-12-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/17083 Date: 2023-12-13 09:45:29 +0000
13-12-2023

Thanks, will do
12-12-2023

ILW = Test fails due to unrecognized VM option, single test on 32-bit, no workaround = MLH = P4
11-12-2023

Daniel, please have a look.
11-12-2023