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

MetadataFactory::free_array and MetadataFactory::free_metadata may crash during -Xshare:dump

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 8u40, 9
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:

      Description

      Currently these two functions are disabled because they may cause -Xshare:dump, especially if a lot of classes are dumped and PrintSharedSpaces is enabled.

      During dumping, a small amount of metaspace objects are freed. these two functions should be fixed so that we can reuse the freed space to make the CDS image (slightly) smaller.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: