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

CDS MethodHandle tests should add -XX:-VerifyDependencies

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b26

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: