JDK-8080592 : VarHandles for arrays
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang.invoke
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-05-18
  • Updated: 2016-02-09
  • Resolved: 2016-02-09
Description
Support VarHandles for variables that are elements of an array. 

All primitive types should be supported for relaxed and volatile access.

Reference, int and long types support enhanced fenced and atomic operations. Int and long types support additional numeric atomic operations. 

Bound checks are performed before access.