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

Move code cache purging out of CodeCache::UnloadingScope

XMLWordPrintable

    • gc
    • b21

        Currently, in the destructor of CodeCache::UnloadingScope we flush/purge the code cache from dead nmethods.

        This is fairly surprising to do this in the destructor because the purging can take a very signficant amount of time (i.e. 90%+ of total class unloading time).

        Make the flushing/puring explicit.

              tschatzl Thomas Schatzl
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: