Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8289069

Very slow C1 arraycopy jcstress tests after JDK-8279886

XMLWordPrintable

    • b29

        Seeing this now with JDK 19:

        ```
        $ ~/trunks/jdk/build/linux-x86_64-server-release/images/jdk/bin/java -jar tests-chapter-2a/target/jcstress.jar -m sanity -af NONE -sc false -t copy --jvmArgs "-XX:TieredStopAtLevel=1"

        ..... [TIMEOUT] o.o.j.t.copy.manual.arrays.large.volatiles.ShortTest
                                    
          Scheduling class:
            actor1: package group free, core group free
            actor2: package group free, core group free

          CPU allocation: unspecified

          Compilation: unified across all actors

          JVM args: [-XX:TieredStopAtLevel=1]
          Fork: #1

          Messages:
            Timeout waiting for tasks to complete: 30013 ms
            Have stale threads, forcing VM to exit for proper cleanup.
        ```

        The tests eventually succeed, if we bump the timeouts to much larger values (requires jcstress recompilation, unfortunately).

        JDK 17 does these tests in 5 seconds. JDK 19 does these tests in 3.5 minutes, that is more than 40x slower.

              iveresov Igor Veresov
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: