RFR: 8374796: CompressedOops versions of runtime/cds/TestDefaultArchiveLoading.java aren't run

Aleksey Shipilev shade at openjdk.org
Fri Jan 9 10:45:53 UTC 2026


On Thu, 8 Jan 2026 19:44:27 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> This could be a bug in jtreg-ext/requires/VMProps.java support but I was unable to find that.

Not a bug, it is a complicated behavior of these properties.

`vm.gc.Z` means "Current VM potentially supports ZGC, so you can opt into it later with -XX:+UseZGC"

`vm.gc == "Z"` means "Current VM supports ZGC *and* has it currently enabled (e.g. with -XX:+UseZGC, e.g. with additional VM test options)"

So `!vm.gc.Z` effectively says "only run these tests if ZGC is not available in VM, e.g. by disabled build feature flag". Which means it is disabled pretty much everywhere.

-------------

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/29125#pullrequestreview-3643384080


More information about the hotspot-runtime-dev mailing list