<div class="__aliyun_email_body_block"><div  style="font-family:Tahoma,Arial,STHeitiSC-Light,SimSun;"><div  style="clear:both;"><span  style="font-family:Tahoma,Arial,STHeitiSC-Light,SimSun;"><br ></span></div><div  style="clear:both;"><span  style="font-family:Tahoma,Arial,STHeitiSC-Light,SimSun;">Thanks for the sharing, but in the referenced <span ><a  href="https://openjdk.org/jeps/8337395" target="_blank">https://openjdk.org/jeps/8337395</a> & <span ><a  href="https://bugs.openjdk.org/browse/JDK-8337395" target="_blank">https://bugs.openjdk.org/browse/JDK-8337395</a></span></span></span></div><div  style="clear:both;"><span  style="font-family:Tahoma,Arial,STHeitiSC-Light,SimSun;"><br ></span></div><div  style="clear:both;">The Classloading do cause deadlock in our case, where both a Virtual thread and Platform thread try to loading a class and the virtual thread is currently have no chance to run.</div><div  style="clear:both;"><br ></div><div  style="clear:both;">And there is a blog at: <span ><a  href="https://craft.faire.com/java-virtual-threads-increasing-search-performance-while-avoiding-deadlocks-f12fa296d521" target="_blank">https://craft.faire.com/java-virtual-threads-increasing-search-performance-while-avoiding-deadlocks-f12fa296d521</a> too</span></div><div  style="clear:both;"><span ><br ></span></div><div  style="clear:both;">Hope these cases been addressed soon.</div><div  style="clear:both;"><br ></div><blockquote  style="margin-right:.0px;margin-top:.0px;margin-bottom:.0px;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年9月4日(星期三) 16:34</div><div  style="clear:both;">收件人:"loom-dev"<loom-dev@openjdk.org></div><div  style="clear:both;">主 题:EA builds with changes for JDK 24</div><div  style="clear:both;"><br ></div>The builds at the Project Loom Early-Access Builds page [1] have been <br >refreshed.<br ><br >These builds contain most of the changes that this project would like to <br >propose for JDK main line and JDK 24.<br ><br >The builds include the changes to eliminate the pinning issues with <br >object monitors. Thank you to those that tested with the previous builds <br >from a few months ago. It would be great to get some fresh testing <br >before the changes are proposed for main line. The changes are <br >significant and a JEP [2] has been submitted to put this update on the <br >technical roadmap.<br ><br >Structured concurrency. The proposal is for StructuredTaskScope [3] to <br >continue to preview. The API has been updated, the most significant <br >change is the move from implementing policy in a sub-class to <br >implementing it an object that you specify to the static open method. <br >There will be a JEP. For this API, the greatest need is feedback from <br >real-world usage, probably cases that fan-out to remote services or <br >databases and experiences where there is handling of outcome and exceptions.<br ><br >Scoped Values. Andrew Haley already sent a note [4] about proposing <br >ScopedValue [5] continue to preview with a small update. As before, the <br >need here is feedback from real-world usage. This could be insight into <br >how many scoped values are bound or insight on which methods are used in <br >performance critical code.<br ><br >-Alan<br ><br >[1] <a  href="https://jdk.java.net/loom/" target="_blank">https://jdk.java.net/loom/</a><br >[2] <a  href="https://openjdk.org/jeps/8337395" target="_blank">https://openjdk.org/jeps/8337395</a><br >[3] <br ><a  href="https://download.java.net/java/early_access/loom/docs/api/java.base/java/util/concurrent/StructuredTaskScope.html" target="_blank">https://download.java.net/java/early_access/loom/docs/api/java.base/java/util/concurrent/StructuredTaskScope.html</a><br >[4] <a  href="https://mail.openjdk.org/pipermail/loom-dev/2024-August/007133.html" target="_blank">https://mail.openjdk.org/pipermail/loom-dev/2024-August/007133.html</a><br >[5] <br ><a  href="https://download.java.net/java/early_access/loom/docs/api/java.base/java/lang/ScopedValue.html" target="_blank">https://download.java.net/java/early_access/loom/docs/api/java.base/java/lang/ScopedValue.html</a></blockquote></div></div>