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

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P2 P2
    • None
    • 9
    • core-libs

      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.

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

              Created:
              Updated:
              Resolved: