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

Improve CodeHeap Free Space Management

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b22
    • CPU:
      generic
    • OS:
      generic

      Description

      The code in share/memory/heap.cpp could be improved by some small changes.

      Furthermore, and in particular with these changes, the platform-specific parameter CodeCacheMinBlockLength should by fine-tuned to minimize the number of residual small free blocks.

      Heap block allocation does not create free blocks smaller than CodeCacheMinBlockLength. This parameter value should match the minimal requested heap block size. If it is too small, such free blocks will never be re-allocated. They linger around at the beginning of the free list, slowing down the free block search.

        Attachments

          Activity

            People

            • Assignee:
              lucy Lucy Schmidt
              Reporter:
              lucy Lucy Schmidt
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: