JDK-8080588 : VarHandles development
  • Type: New Feature
  • Component: core-libs
  • Sub-Component: java.lang.invoke
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Fix Versions: 9
  • Submitted: 2015-05-18
  • Updated: 2016-09-02
  • Resolved: 2016-09-02
Related Reports
Blocks :  
Blocks :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Sub Tasks
JDK-8080590 :  
JDK-8080591 :  
JDK-8080592 :  
JDK-8080594 :  
JDK-8080595 :  
JDK-8080596 :  
JDK-8080597 :  
JDK-8080599 :  
JDK-8080685 :  
JDK-8130756 :  
JDK-8130758 :  
JDK-8130920 :  
JDK-8130923 :  
JDK-8132229 :  
JDK-8132327 :  
JDK-8132332 :  
JDK-8132471 :  
JDK-8132472 :  
JDK-8133348 :  
JDK-8133451 :  
JDK-8133568 :  
JDK-8134293 :  
JDK-8135081 :  
JDK-8136401 :  
JDK-8136761 :  
JDK-8141635 :  
JDK-8148146 :  
JDK-8149469 :  
JDK-8149644 :  
JDK-8151198 :  
JDK-8151705 :  
JDK-8151706 :  
JDK-8152645 :  
JDK-8153870 :  
JDK-8154447 :  
JDK-8154556 :  
JDK-8154737 :  
JDK-8154755 :  
JDK-8155258 :  
JDK-8155739 :  
JDK-8155965 :  
JDK-8156068 :  
JDK-8156485 :  
JDK-8156486 :  
JDK-8157171 :  
JDK-8157726 :  
JDK-8158039 :  
JDK-8161444 :  
JDK-8162106 :  
JDK-8162107 :  
JDK-8162108 :  
Description
Overall issue for the design, implementation and test of VarHandles for JEP 193: Enhanced Volatiles.

The implementation is integrated into the jdk9/dev repository.

Any follow on work may, before integration into jdk9/dev, occur in the JDK 9 sandbox with the branch:

$ hg clone http://hg.openjdk.java.net/jdk9/sandbox sandbox
$ cd sandbox/
$ sh ./get_source.sh
$ sh ./common/bin/hgforest.sh up -r JEP-193-VarHandles-branch
$ sh ./configure
$ make images

http://cr.openjdk.java.net/~psandoz/jdk9/varhandles/specdiff/overview-summary.html

Comments
The variable handle implementations for arrays will benefit from an intrinsic check index method, which helps ensure that Unsafe-based array access is similar to direct array access in terms of generated code
09-09-2015