<div class="__aliyun_email_body_block"><div style="clear:both;"><span style="font-family:Tahoma,Arial,STHeiti,SimSun;"><br ></span></div><div style="clear:both;"><span style="font-family:Tahoma,Arial,STHeiti,SimSun;">I think integration with ForkJoinPool should be great as the Netty's EventLoop can do a scheduling too. but in some cases, we may need another timer for <span >accuracy.</span></span></div><div style="clear:both;"><span style="font-family:Tahoma,Arial,STHeiti,SimSun;"><span ><br ></span></span></div><div style="clear:both;"><span style="font-family:Tahoma,Arial,STHeiti,SimSun;"><span >I have not encounter a problem because I am doing scheduling with another dedicated timer.</span></span></div><div style="clear:both;"><span style="font-family:Tahoma,Arial,STHeiti,SimSun;"><br ></span></div><div style="clear:both;"><span style="font-family:Tahoma,Arial,STHeiti,SimSun;"><br ></span></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年6月27日(星期四) 19:53</div><div style="clear:both;">收件人:"何品(虎鸣)"<hepin.p@alibaba-inc.com></div><div style="clear:both;">抄 送:"loom-dev"<loom-dev@openjdk.org></div><div style="clear:both;">主 题:Re: 回复:回复:Real-world Pinning/ReentrantLock deadlock</div><div style="clear:both;"><br ></div>
On 27/06/2024 12:21, 何品(虎鸣) wrote:<br >
<div style="margin:14.0px 40.0px;">
<div style="clear:both;">I want to use something like
HashWheelTimer as a `unparker`.</div>
</div>
<br >
Are you running into a scalability issue with timers with the loom
EA builds where the number of times is configurable? Have you done
any experiments in your own repo?<br >
<br >
This project has explored a number of directions for timers,
including hashed and hierarchical timing wheels and making using of
the OS timer support, but didn't come to a conclusion. One thing on
the list is to explore integration with ForkJoinPool but still using
a heap-based data structure.<br >
<br >
-Alan<br >
</blockquote></div>