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

Improve InterpreterCodelet data footprint

    XMLWordPrintable

Details

    • b18

    Backports

      Description

        Current InterpreterCodelet lays the field in inefficient order:

        sizeof: 24
        _size: @0
        _description: @8
        _bytecode: @16

        Stub generation aligns codelets and their related code at CodeEntryAlignment, which means with CEA=16 we are taking two CEA units for InterpreterCodelet data. Rearranging the fields a bit improves the interpreter code density a bit, dropping its sizeof to 16 and thus taking one CEA unit.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: