<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
On 11/01/2024 07:22, 何品(虎鸣) wrote:<br>
<blockquote type="cite" cite="mid:390e6455-511b-43a9-ab8c-c651a4b39822.hepin.p@alibaba-inc.com">
<div class="__aliyun_email_body_block">
<div style="line-height:1.7;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;">
<div style="clear:both;"><br>
</div>
<div style="clear:both;"><img src="cid:part1.sYC32y1r.HBEdN224@oracle.com" style="vertical-align:bottom;" class="" width="1357" height="234"></div>
</div>
</div>
</blockquote>
<br>
There is work in progress to allow a virtual thread park and release
its carrier when the virtual thread is holding monitors, also to
release its carrier when a virtual thread blocks on monitor enter.
So while not specific to CHM, it means you won't see pinning in
compute method, assuming the virtual thread isn't pinned for other
reasons. Too early to discuss JDK releases at this time.<br>
<br>
-Alan<br>
</body>
</html>