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

Unify metaspace list index handling and reinstantiate ChunkManager listindex gtest

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 11
    • 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.

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

              Created:
              Updated:
              Resolved: