RFR: 8355228: Improve runtime/CompressedOops/CompressedClassPointersEncodingScheme.java to support JDK build with -XX:+UseCompactObjectHeaders
SendaoYan
syan at openjdk.org
Tue Apr 22 06:53:43 UTC 2025
On Mon, 21 Apr 2025 21:18:34 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
> Sometimes it is easier to test JDK by building it with
> -XX:+UseCompactObjectHeaders
> enabled by default. So CDS archives are generated and all tests including flagless are executed.
> The option is transparent fand all tests even flagless tests are expected to pass.
>
> The only test runtime/CompressedOops/CompressedClassPointersEncodingScheme.java
> start failing because expects to be executed with -XX:-UseCompactObjectHeaders
>
> Please, note that it is a not a bug, just RFE. Test works correctly.
>
> The fix improves test to support testing of JDK build with -XX:+UseCompactObjectHeaders.
>
> Tested with JDK build with UseCompactObjectHeaders enabled by default.
LGTM
-------------
Marked as reviewed by syan (Committer).
PR Review: https://git.openjdk.org/jdk/pull/24781#pullrequestreview-2782945803
More information about the hotspot-runtime-dev
mailing list