Unify metaspace list index handling and reinstantiate ChunkManager listindex gtest

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 11
    • Affects Version/s: 11
    • Component/s: hotspot
    • None
    • b07

      Since 8198423, we have a bit of redundancy:

      - get_chunk_type_by_size(size, is_class) and ChunkManager::list_index().
      - get_size_for_nonhumongous_chunktype() and ChunkManager::size_by_index()

      Since the new get_.. functions are more versatile (usable without a ChunkManager instance), they should be kept. The ChunkManager methods should be removed or reimplemented using the get_... functions.

      Also, 8198423 accidentally removed the ChunkManager list_index gtest, which should be reinstantiated.

            Assignee:
            Thomas Stuefe
            Reporter:
            Thomas Stuefe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: