ObjectVector
Chen Liang
chen.l.liang at oracle.com
Thu May 8 15:37:14 UTC 2025
Hi Remi, where do you plan to use such a vector? Reading from an array of references?
Regards, Chen
________________________________
From: panama-dev <panama-dev-retn at openjdk.org> on behalf of Remi Forax <forax at univ-mlv.fr>
Sent: Thursday, May 8, 2025 10:31 AM
To: panama-dev at openjdk.org <panama-dev at openjdk.org>
Subject: ObjectVector
Hello,
in java, unlike in C, references are opaque so a lot of operations on the value of the reference are not allowed,
but some still exist like checking if the value is null or not.
Is there a way to create an ObjectVector that would only implement those simple operations ?
Or is it a stupid idea given that both ZGC and shenandoah use read-barrier ?
regards,
Rémi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20250508/70f18ca8/attachment.htm>
More information about the panama-dev
mailing list