[External] : Re: New candidate JEP: 471: Deprecate the Memory-Access Methods in sun.misc.Unsafe for Removal
Alan Bateman
Alan.Bateman at oracle.com
Tue Jun 11 17:57:23 UTC 2024
On 11/06/2024 18:19, David Lloyd wrote:
> :
>
> I thought that might be where Alan was headed with this. I would
> support this solution; it would solve the problem for conformant
> serialization libraries. If a class has a `readObject`/etc. then we
> use it - we wouldn't care if it was "natural" or generated. This also
> gives us the option to allow the user to use `opens` selectively to
> opt-in to special optimizations, without a major penalty if they do not.
>
> Is there already someone assigned for this task
Not to my knowledge so you have cycles to prototype and have these
methods return a MH that work like a "default" readObject/writeObject
then it would help the discussion.
-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20240611/974e48fd/attachment-0001.htm>
More information about the core-libs-dev
mailing list