Small Metaspace allocation requests can fail even though SmallChunks are available

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • 9
    • Affects Version/s: 8
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: