On Sun, 8 Sep 2024 15:30:21 GMT, SendaoYan <[email protected]> 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.

Yes, I think more information needed as the JBS issue suggests the 
ClassCircularityError happens before main. If there was something fundamental 
here then I would expect every JDK tests for Java Agents to fail with -Xcomp. 
In addition to the locale, can you confirm that you are testing an images build 
and not an exploded build?

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

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

Reply via email to