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

Unify metaspace list index handling and reinstantiate ChunkManager listindex gtest

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
      None
    • Resolved In Build:
      b07

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: