Integrated: 8315051: jdk/jfr/jvm/TestGetEventWriter.java fails with non-JVMCI GCs

Aleksey Shipilev shade at openjdk.org
Thu Aug 31 11:18:12 UTC 2023


On Mon, 28 Aug 2023 13:15:37 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> See the bug for example test failure. There are two ways to fix it: bring in `Whitebox` and sense the JVMCI support from there, or use the `@requires` to sense this and other conditions for JVMCI enablement then. `@requires` seems safer, so I did that one.
> 
> Additional testing:
>  - [x] Affected test with `-XX:+UseShenandoahGC` (now passes)
>  - [x] Affected test with `-XX:+UseParallelGC` (still passes)

This pull request has now been integrated.

Changeset: 145d8bc1
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/145d8bc1a3ef4f4fe0c10385be111838e7ed9250
Stats:     28 lines in 1 file changed: 24 ins; 3 del; 1 mod

8315051: jdk/jfr/jvm/TestGetEventWriter.java fails with non-JVMCI GCs

Reviewed-by: phh, egahlin

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

PR: https://git.openjdk.org/jdk/pull/15446


More information about the hotspot-jfr-dev mailing list