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

CDS MethodHandle tests should add -XX:-VerifyDependencies

XMLWordPrintable

    • b26

      Since JDK-8266074, the cost of -XX:+VerifyDependencies, which is enabled by default in debug build, has significantly increased. This has caused significant slow down in the CDS MethodHandle tests. E.g.,

      runtime/cds/appcds/methodHandles/MethodHandlesSpreadArgumentsTest.java

      JDK 16: 117s
      JDK 17: 223s

      These tests were based on java/lang/invoke/*.java, which explicitly disable VerifyDependencies. We should do the same in the CDS tests.

            ccheung Calvin Cheung
            iklam Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: