Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Openjdk tests not ran in flagless configuration #5354

Open
zzambers opened this issue May 29, 2024 · 0 comments
Open

Openjdk tests not ran in flagless configuration #5354

zzambers opened this issue May 29, 2024 · 0 comments

Comments

@zzambers
Copy link
Contributor

As far as I know openjdk targets now usually run in 2 configurations:

  • with compressed references explicitly enabled using -XX:+UseCompressedOops
  • with compressed references explicitly disabled using -XX:-UseCompressedOops

There are some issues with that. Additional flags may cause some tests to misbehave (e.g.: #2708 (comment), #5245 (comment) ) or even to be SKIPPED. E.g. JDK-8246494 (JDK 11+) introduced @required vm.flagless property, to only run test in configuration, without additional vm flags (-X, -XX). There are quite a lot of tests using @required vm.flagless (mostly in hotspot tests, but also in jdk tests). These tests are currently being skipped.

I think there should be run in flagless configuration (especially hotspot). (Or maybe only selected set of tests could be ran with explicit compressed oops setting?)

Actually there are tests for hotspot, which test compressed references and compressed class pointers (on/off). (However on 11+, most are not ran, see: #5316)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant