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

serviceability/sa/TestJmapCoreMetaspace.java should run with -XX:-VerifyDependencies

XMLWordPrintable

    • b15

        serviceability/sa/TestJmapCoreMetaspace.java runs in hotspot:tier2, and takes about 330 seconds out of 670 seconds of the entire run on x86_64 fastdebug. The tier2 completion usually waits on it.

        Profiling shows we are spending time during classloading, checking dependencies. Since we load lots of classes, we do it many times, and each time the cost grows linearly to the number of classes. Some other tests that target metaspace explicitly disable `VerifyDependencies` to avoid this.

              rsoumadipta Roy Soumadipta
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: