<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span class="x_elementToProof ContentPasted0" style="font-size: 12pt; margin: 0px; background-color: rgb(255, 255, 255);">Both the JEP [1] and the original Loom proposal [2] state that running native code will pin the virtual thread to its carrier.</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<div class="x_elementToProof" style="font-size: 12pt; margin: 0px; background-color: rgb(255, 255, 255);">
<br class="ContentPasted0">
</div>
<div class="x_elementToProof ContentPasted0" style="font-size: 12pt; margin: 0px; background-color: rgb(255, 255, 255);">
I am curious to learn more about the reasons and implementation challenges that cause this limitation. Does it have something to do with how the native code is managed by the JVM? Could you please point me in the right direction? </div>
<div class="x_elementToProof" style="font-size: 12pt; margin: 0px; background-color: rgb(255, 255, 255);">
<br class="ContentPasted0">
</div>
<div class="x_elementToProof x_ContentPasted0 ContentPasted0" style="font-size: 12pt; margin: 0px; background-color: rgb(255, 255, 255);">
[1] <a href="https://openjdk.org/jeps/444" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable" data-linkindex="0" style="margin:0px" class="ContentPasted0">https://openjdk.org/jeps/444</a></div>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span class="x_elementToProof x_ContentPasted1 ContentPasted0" style="font-size: 12pt; margin: 0px; background-color: rgb(255, 255, 255);">[2] <a href="https://cr.openjdk.org/~rpressler/loom/Loom-Proposal.html" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable" data-linkindex="1" style="margin:0px" class="ContentPasted0">https://cr.openjdk.org/~rpressler/loom/Loom-Proposal.html</a> </span><br>
</div>
</body>
</html>