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

Relax InterpreterCodelet stub alignment

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 19
    • 11, 17, 18, 19
    • hotspot
    • b19

    Description

      InterpreterCodelet is aligned by CodeEntryAlignment (CAE) twice. First, the entire stub is aligned, which aligns its data section. Then, the code section in the stub is aligned. Since CAE is usually larger than the size of InterpreterCodelet, we are wasting quite a bit of space for each codelet.

      In the extreme cases, like PPC that defaults to CAE=128, we have 16 bytes of codelet data effectively taking 128 bytes!

      This can be made better by relaxing the InterpreterCodelet stub alignment to, say, HeapWordSize.

      Attachments

        Issue Links

          Activity

            People

              shade Aleksey Shipilev
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: