On Sat, 3 Oct 2026 03:23:30 GMT, Fei Yang <[email protected]> wrote:

>> Thank you, @mhaessig, for reviews and suggestions.
>
> @vnkozlov : Hi, I witnessed test failures on linux-x86 with 
> `-XX:+PrintC1Statistics`. You might want to try this modified test using 
> fastdebug build. I think similar issue is there on other platforms as well.
> 
> 
> diff --git a/test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeTest.java 
> b/test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeTest.java
> index a27711b716b..ec7ca0e7d80 100644
> --- a/test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeTest.java
> +++ b/test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeTest.java
> @@ -145,6 +145,7 @@ public List<String> getGCArgs() {
>              args.add("-Xmx100M");
>              if (withVerifyOops) {
>                args.add("-XX:+VerifyOops");
> +              args.add("-XX:+PrintC1Statistics");
>              }
>              switch (gcName) {
>              case "G1":

Thank you, @RealFYang. I will try to reproduce the issue and fix it.

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

PR Comment: https://git.openjdk.org/jdk/pull/30778#issuecomment-5971927127

Reply via email to