JDK-8205698 : [lworld] unsafe array support for value types for VarHandles
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: repo-valhalla
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2018-06-26
  • Updated: 2018-07-13
  • Resolved: 2018-07-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
repo-valhallaResolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
VarHandles rely on unsafe APIs. 
Frederic is adding support for unsafe support for value type fields.
Arrays appear to depend on:
unsafe.arrayBaseOffset, arrayIndexScale and then
variations of PutObject/GetObject operating on arrayKlasses.
Comments
Approach has been modified to assume user knows what they are doing and checks for both value types and flattened value types.
13-07-2018