RFC: 8204690: Simplify usage of Access API
kim.barrett at oracle.com
Mon Jun 11 21:41:39 UTC 2018
> On Jun 11, 2018, at 5:29 PM, David Holmes <david.holmes at oracle.com> wrote:
> Hi Kim,
> I've avoided this area so far so can't comment on details as this is all foreign to me, however:
> > Proposal 4: The use of "root" by Access should be replaced by "native". So
> > IN_ROOT => IN_NATIVE, and RootAccess<> => NativeAccess<>.
> In what way is this "native"? And what would be a non-native access ??
“native” := off-heap, e.g. the location being accessed is in some C/C++ data structure
(including global variables). So we have IN_NATIVE (for those) and IN_HEAP (for
locations in the Java heap).
More information about the hotspot-dev