jbse
jbse copied to clipboard
Replacement about sun.misc.Unsafe
Greetings!
Currently, I'm looking at the source code of JBSE, and I notice that there are some codes that use sun.misc.Unsafe
, which will be potentially deprecated in the future due to its unsafety. I wonder whether replacing the usage of Unsafe is in your future plan. FFM provided in Java 22, together with VarHandle, may be able to replace Unsafe without affecting the performance very much and make it safer.
Thanks very much!