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

x86: coalesce reference and int entry points into vtos bytecodes

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 16
    • 16
    • hotspot
    • b22
    • x86
    • generic

    Description

      On x86 - both 32- and 64-bit, the code laid out for transitionining into a vtos bytecode when having a reference and int top-of-stack state is semantically identical, and can be coalesced:

      https://github.com/openjdk/jdk/compare/master...cl4es:atos_itos_opt

      This removes a short jump on some cases which is marginally beneficial when interpreting, while measurably reducing overhead of generating the interpreter itself

      Attachments

        Issue Links

          Activity

            People

              redestad Claes Redestad
              redestad Claes Redestad
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: