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

Small Metaspace allocation requests can fail even though SmallChunks are available

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 9
    • 8
    • hotspot
    • gc

      The current Metaspace chunk allocation policy allocates into four SmallChunks before starting to allocate into MediumChunks. When the metaspace for a ClassLoader has once started to allocate into MediumChunks it will continue to allocate into MediumChunks and never consider the SmallChunks, even though the alloc requests might only need a SmallChunk.

      This might lead to unnecessary GCs and OOMEs.

            jprovino Joseph Provino (Inactive)
            stefank Stefan Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: