adoptium / aqa-tests

Home of test infrastructure for Adoptium builds
https://adoptium.net/aqavit
Apache License 2.0
130 stars 308 forks source link

Openjdk tests not ran in flagless configuration #5354

Open zzambers opened 4 months ago

zzambers commented 4 months ago

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

There are some issues with that. Additional flags may cause some tests to misbehave (e.g.: https://github.com/adoptium/aqa-tests/issues/2708#issuecomment-1451869869, https://github.com/adoptium/aqa-tests/issues/5245#issuecomment-2096594183 ) 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: https://github.com/adoptium/aqa-tests/issues/5316)