JVM crash by creating VarHandle
Ty Young
youngty1997 at gmail.com
Sat Feb 1 23:01:12 UTC 2020
On 2/1/20 4:49 PM, Maurizio Cimadamore wrote:
>
> On 01/02/2020 12:31, Ty Young wrote:
>> MemoryHandles.varHandle(long.class, ByteOrder.nativeOrder());
> Hi Ty,
> thanks for reaching out - I assume you are on the foreign-jextract branch?
Yep. The build is right after the name() method was added to SystemABI.
> And also, is the above snippet enough to reproduce the crash for you?
> Or does it only happen sometimes, but not others?
It seems to only happen when accessing the struct field from a struct
that resides in memory. Never outside of an array.
Here is a Github Gist, if it helps any:
https://gist.github.com/BlueGoliath/307f60856afee04e218b759420a53fb7
>
> Thanks
> Maurizio
>
More information about the panama-dev
mailing list