RFR: 8339701: Test TestPinCaseWithCFLH.java fails with -Xcomp

Alan Bateman alanb at openjdk.org
Mon Sep 9 08:41:06 UTC 2024


On Sun, 8 Sep 2024 15:30:21 GMT, SendaoYan <syan at openjdk.org> wrote:

> Hi all,
>   The newly added testcase `serviceability/jvmti/vthread/TestPinCaseWithCFLH/TestPinCaseWithCFLH.java` fails with `-Xcomp` jvm option. The jvm option `-Xcomp` will make `BackgroundCompilation` false. In this test, disable `BackgroundCompilation` will make `instrumentation` in `premain` throw `java.util.MissingResourceException` in some test  environments.
>    So, I think it's necessary add `-XX:+BackgroundCompilation` option for this test to make this test more robustness, to make this test run passed with `-Xcomp` option.
>   Test-fix only, no risk.

Can you say if there are any other modifications to the JDK that is being tested? I'm wondering if anyone else can duplicate this.

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

PR Comment: https://git.openjdk.org/jdk/pull/20906#issuecomment-2337488265


More information about the serviceability-dev mailing list