JDK-8228672 : [TESTBUG] gc/metaspace/TestSizeTransitions.java fails on 32-bit platforms
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 14
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-07-26
  • Updated: 2022-11-08
  • Resolved: 2019-07-30
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 14
11.0.18Fixed 14 b08Fixed
Related Reports
Relates :  
Description
UseCompressedOops is not defined on those platforms, and therefore test fails with:

STDERR:
 stdout: [];
 stderr: [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.
]
 exitValue = 1

We could supply -XX:+IgnoreUnrecognizedVMOptions to the test configurations, but test itself needs to switch the regexp it uses to match the output. Needs a bit more work.
Comments
Fix request [11u] I backport this as follow-up of 8227179, which was backported for parity with 11.0.18-oracle. No risk, only a test change. Clean backport. But I added a small edit from 8244010. That is a test cleanup change that was already backported. Test passes. SAP nighlty testing passed.
25-10-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk11u-dev/pull/1469 Date: 2022-10-24 07:07:59 +0000
24-10-2022

URL: https://hg.openjdk.java.net/jdk/jdk/rev/dad0062bb7f3 User: shade Date: 2019-07-30 20:15:39 +0000
30-07-2019

Somewhat ugly fix: http://cr.openjdk.java.net/~shade/8228672/webrev.01/
26-07-2019