<div class="__aliyun_email_body_block"><div  style="line-height:1.7;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#0070c0;"><div  style="clear:both;"><span >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. </span></div><div  style="clear:both;"><span ><br ></span></div><div  style="clear:both;"><span >It is recommended to use it similar to JEP 396, which needs to be opened through parameters before it can be used and configured. The JVM startup parameter "--illegal-unsafe=warn" can be enabled. </span></div><div  style="clear:both;"><span ><br ></span></div><div  style="clear:both;"><span >Removal should be after JDK 26.</span></div><div  style="clear:both;"><br /></div><blockquote  style="margin-right:0;margin-top:0;margin-bottom:0;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;"><div  style="clear:both;">------------------------------------------------------------------</div><div  style="clear:both;">发件人:Alan Bateman <Alan.Bateman@oracle.com></div><div  style="clear:both;">发送时间:2024年3月6日(星期三) 17:22</div><div  style="clear:both;">收件人:mandy.chung <mandy.chung@oracle.com>; core-libs-dev <core-libs-dev@openjdk.org></div><div  style="clear:both;">主 题:Re: RFD: Can we remove the deprecated internal Unsafe *Object* methods?</div><div  style="clear:both;"><br /></div>On 05/03/2024 22:57, mandy.chung@oracle.com wrote:<br >> These deprecated methods were added to make jsr166.jar to run on <br >> different JDK releases.  I think it's time to remove these deprecated <br >> xxxObject* methods as the renames have been done since JDK 12 for 5 <br >> years.<br ><br >Yes, I think they can be removed. They aren't accessible outside of the <br >JDK so nothing should be dependent on them.<br ><br >-Alan</blockquote></div></div>