[foreign-abi] RFR 8236004: Memory access var handles should support MemoryAddress carrier
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Wed Dec 18 16:12:34 UTC 2019
On 18/12/2019 13:42, Maurizio Cimadamore wrote:
> X-VarHandleMemoryAddressView.java.template:
> - In the long2addr method I'd prefer using invokeExact instead of
> invoke, to make sure the call always gets inlined.
Forgot - this was deliberate too - the target type is not (and cannot
be) the same as the declared return type (MemoyAddress) because that's
in a different module. So invoke() is, I believe, the only hacky option
here.
Maurizio
More information about the panama-dev
mailing list