[foreign-memaccess+abi] RFR: Fix test failures following 8300201
Maurizio Cimadamore
mcimadamore at openjdk.org
Tue Feb 7 21:57:17 UTC 2023
On Tue, 7 Feb 2023 19:21:53 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
> Thanks for fixing.
>
> I think the virtual call might be triggering to earlier class loading during verification, to see whether the receiver argument on the stack is actually compatible with the receiver type of the declared called method.
>
> Unsafe depends on ByteBuffer, which then leads back to MemorySegment, and from there to NativeMemorySegmentImpl I'm guessing.
I don't think that's it - with the other PR (with the API changes) doing `Arena.ofAuto().allocate(...)` was enough to reproduce. No ByteBuffers.
-------------
PR: https://git.openjdk.org/panama-foreign/pull/782
More information about the panama-dev
mailing list