[foreign-abi] RFR: 8248499: Add methods to allocate off heap arrays from Java arrays [v3]
Jorn Vernee
jvernee at openjdk.java.net
Wed Jul 1 10:29:38 UTC 2020
On Tue, 30 Jun 2020 21:26:46 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> src/jdk.incubator.foreign/share/classes/jdk/internal/foreign/AbstractMemorySegmentImpl.java line 135:
>>
>>> 134:
>>> 135: public void copyFromSwap(MemorySegment src, long elemSize) {
>>> 136: AbstractMemorySegmentImpl that = (AbstractMemorySegmentImpl)src;
>>
>> Should this maybe be a public API in MemorySegment as well?
>
>> Should this maybe be a public API in MemorySegment as well?
>
> I'll prefer to leave that discussion for another patch
Ok. Was just wondering if you had any thoughts about that already :)
-------------
PR: https://git.openjdk.java.net/panama-foreign/pull/222
More information about the panama-dev
mailing list