Sparse remset wastes half of entry memory

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • gc
    • b120

      When allocating the hash table for the sparse remset the code allocates capacity SparsePRTEntrys. However, only approximately half of them are ever used because if the occupancy is 1/2 of capacity the hash table expands.

      Fix this memory wastage by allocating only the appropriate amount of SparsePRTEntrys.

            Assignee:
            Thomas Schatzl
            Reporter:
            Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: