Re: 回复:RFD: Can we remove the deprecated internal Unsafe *Object* methods?

2024-03-06 Thread Eirik Bjørsnøs
On Wed, Mar 6, 2024 at 5:41 PM Alan Bateman wrote: This discussion is about the JDK's internal Unsafe, not sun.misc.Unsafe. > Thanks Alan, I guess I should have made this more clear from the beginning. I'll await a response from the wise men on Mandy's JDK-8207146 comment before proposing a

Re: 回复:RFD: Can we remove the deprecated internal Unsafe *Object* methods?

2024-03-06 Thread Alan Bateman
On 06/03/2024 10:56, wenshao wrote: Many libraries use Unsafe to improve performance, especially in many performance-critical scenarios of big data, such as Apache Flink/Apache Arrow, etc. Direct removal will make it difficult to adopt the new version of JDK. It is recommended to use it

回复:RFD: Can we remove the deprecated internal Unsafe *Object* methods?

2024-03-06 Thread wenshao
Many libraries use Unsafe to improve performance, especially in many performance-critical scenarios of big data, such as Apache Flink/Apache Arrow, etc. Direct removal will make it difficult to adopt the new version of JDK. It is recommended to use it similar to JEP 396, which needs to be