Withdrawn: 8339701: Test TestPinCaseWithCFLH.java fails with -Xcomp
SendaoYan
syan at openjdk.org
Tue Jan 14 02:46:54 UTC 2025
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. If I add `Thread.sleep(1000)` or `System.gc();` before `instrumentation.addTransformer`, this test also passed with `-Xcomp`.
> 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.
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.org/jdk/pull/20906
More information about the serviceability-dev
mailing list