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

Reorder code cache segments to improve code density

    XMLWordPrintable

Details

    • b17
    • aarch64

    Backports

      Description

        To reduce far jumps, far calls and trampolines in segmented CodeCache of the size [128M, 248M) and equally sized profiled and non-profiled segments, we can put the non-nmethod segment in between the profiled and non-profiled segments.
        Doing this we will have the sizes of the combined segments (non-nmethod, profiled) and (non-nmethod, non-profiled) below 128M. So there is no need for far jumps, far calls and trampolines to the non-nmethod section. Also when we reposition the non-nmethod segment, in the segment on the left we can allocate space from the end to make everything close to each other.

        Attachments

          Issue Links

            Activity

              People

                bulasevich Boris Ulasevich
                eastigeevich Evgeny Astigeevich
                Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: