JDK-8132472 : VH.{set|get}{Acquire|Release} for raw memory
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang.invoke
  • Priority: P4
  • Status: Resolved
  • Resolution: Won't Fix
  • Submitted: 2015-07-28
  • Updated: 2016-03-25
  • Resolved: 2016-03-25
Description
At this point, Paul is hacking ByteBuffers to gain the access to raw memory via
 U.putObject(null, offset, value); // null base

While this seems to be handled well in intrinsics, we need to follow up if we need to produce raw memory Unsafe accessors for {set|get}{Acquire|Release}, or we can continue translating these accesses to "null base".
Comments
There seem to be no hit when using double-addressing scheme with null base. In fact, JDK-8150921 would go on removing single-addressing scheme. Therefore, this issue is WNF.
25-03-2016