Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8080588 VarHandles development
  3. JDK-8153870

Result-boxed and result-less VarHandles are significantly penalized

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:

      Description

      This might be generic to VarHandles to begin with, but best demonstrated with this CompareAndExchangeTest:
       http://cr.openjdk.java.net/~shade/8153870/BadCAE.java
       http://cr.openjdk.java.net/~shade/8153870/bad-cae.txt

      The problem is that we hit slow-path if we don't match the signature exactly.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              psandoz Paul Sandoz
              Reporter:
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: