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

Interpreter could avoid calling the runtime for defaultvalue [x86]

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: repo-valhalla
    • Fix Version/s: None
    • Component/s: hotspot

      Description

      The defaultvalue bytecode just returns the pre-allocated default value. The interpreter currently calls the runtime to perform this operation. But once the CP entry has been resoled and the inline class has been initialized, the default value could be retrieved and returned without calling the runtime, reducing the cost of this bytecode.

        Attachments

          Activity

            People

            Assignee:
            fparain Frederic Parain
            Reporter:
            fparain Frederic Parain
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: