<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, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
Hi Jonathan, </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
There is an open bug related to missing threads in JFR [1]. It could be the issue, or it might something new for VT. <span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">We will take a look. Thanks for reporting. </span><span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">Today
 we record OS thread in the thread struct[2], maybe we could add the carrier/platform thread as well. </span><span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">It would allow JMC to render VTs in the thread
 view.</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
Erik</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
[1] <a href="https://bugs.openjdk.org/browse/JDK-8304033" style="margin:0px;background-color:rgb(255, 255, 255)" class="ContentPasted2">https://bugs.openjdk.org/browse/JDK-8304033</a></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted3">
[2] <a href="https://github.com/openjdk/jdk/blob/master/src/hotspot/share/jfr/metadata/metadata.xml#L1207" id="LPlnkOWALinkPreview_2">https://github.com/openjdk/jdk/blob/master/src/hotspot/share/jfr/metadata/metadata.xml#L1207</a><br>
</div>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview_2 _EReadonly_1">
<div id="LPBorder_GTaHR0cHM6Ly9naXRodWIuY29tL29wZW5qZGsvamRrL2Jsb2IvbWFzdGVyL3NyYy9ob3RzcG90L3NoYXJlL2pmci9tZXRhZGF0YS9tZXRhZGF0YS54bWwjTDEyMDc." class="LPBorder650495" style="width: 100%; margin-top: 16px; margin-bottom: 16px; position: relative; max-width: 800px; min-width: 424px;">
<table id="LPContainer650495" role="presentation" style="padding: 12px 36px 12px 12px; width: 100%; border: 1px solid rgb(200, 200, 200); border-radius: 2px;">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td>
<div id="LPImageContainer650495" style="position: relative; margin-right: 12px; height: 120px; overflow: hidden; width: 240px;">
<a target="_blank" id="LPImageAnchor650495" href="https://github.com/openjdk/jdk/blob/master/src/hotspot/share/jfr/metadata/metadata.xml#L1207"><img id="LPThumbnailImageId650495" alt="" height="120" width="240" style="display: block;" src="https://opengraph.githubassets.com/a5d3f73dbf47f40527cd2c8e76db552e72032595270113a4cd1943e26cc905ca/openjdk/jdk"></a></div>
</td>
<td style="width: 100%;">
<div id="LPTitle650495" style="font-size: 21px; font-weight: 300; margin-right: 8px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px;">
<a target="_blank" id="LPUrlAnchor650495" href="https://github.com/openjdk/jdk/blob/master/src/hotspot/share/jfr/metadata/metadata.xml#L1207" style="text-decoration: none; color: var(--themePrimary);">jdk/metadata.xml at master · openjdk/jdk</a></div>
<div id="LPDescription650495" style="font-size: 14px; max-height: 100px; color: rgb(102, 102, 102); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px; margin-right: 8px; overflow: hidden;">
JDK main-line development https://openjdk.org/projects/jdk - jdk/metadata.xml at master · openjdk/jdk</div>
<div id="LPMetadata650495" style="font-size: 14px; font-weight: 400; color: rgb(166, 166, 166); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif;">
github.com</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview_1 _EReadonly_1">
<div id="LPBorder_GTaHR0cHM6Ly9naXRodWIuY29tL29wZW5qZGsvamRrL2Jsb2IvZTczNDExYTIzNTRjZjI2NmFiN2E1ZGRhZGZiNmVhOThkN2ViNGNkMS9zcmMvaG90c3BvdC9zaGFyZS9qZnIvbWV0YWRhdGEvbWV0YWRhdGEueG1sI0wxMjA3" class="LPBorder682110" style="width: 100%; margin-top: 16px; margin-bottom: 16px; position: relative; max-width: 800px; min-width: 424px;">
<table id="LPContainer682110" role="presentation" style="padding: 12px 36px 12px 12px; width: 100%; border: 1px solid rgb(200, 200, 200); border-radius: 2px;">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td>
<div id="LPImageContainer682110" style="position: relative; margin-right: 12px; height: 120px; overflow: hidden; width: 240px;">
<a target="_blank" id="LPImageAnchor682110" href="https://github.com/openjdk/jdk/blob/e73411a2354cf266ab7a5ddadfb6ea98d7eb4cd1/src/hotspot/share/jfr/metadata/metadata.xml#L1207"><img id="LPThumbnailImageId682110" alt="" height="120" width="240" style="display: block;" src="https://opengraph.githubassets.com/a5d3f73dbf47f40527cd2c8e76db552e72032595270113a4cd1943e26cc905ca/openjdk/jdk"></a></div>
</td>
<td style="width: 100%;">
<div id="LPTitle682110" style="font-size: 21px; font-weight: 300; margin-right: 8px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px;">
<a target="_blank" id="LPUrlAnchor682110" href="https://github.com/openjdk/jdk/blob/e73411a2354cf266ab7a5ddadfb6ea98d7eb4cd1/src/hotspot/share/jfr/metadata/metadata.xml#L1207" style="text-decoration: none; color: var(--themePrimary);">jdk/metadata.xml at e73411a2354cf266ab7a5ddadfb6ea98d7eb4cd1
 · openjdk/jdk</a></div>
<div id="LPDescription682110" style="font-size: 14px; max-height: 100px; color: rgb(102, 102, 102); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px; margin-right: 8px; overflow: hidden;">
JDK main-line development https://openjdk.org/projects/jdk - jdk/metadata.xml at e73411a2354cf266ab7a5ddadfb6ea98d7eb4cd1 · openjdk/jdk</div>
<div id="LPMetadata682110" style="font-size: 14px; font-weight: 400; color: rgb(166, 166, 166); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif;">
github.com</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview _EReadonly_1">
<div id="LPBorder_GTaHR0cHM6Ly9naXRodWIuY29tL29wZW5qZGsvamRrL2Jsb2IvZTczNDExYTIzNTRjZjI2NmFiN2E1ZGRhZGZiNmVhOThkN2ViNGNkMS9zcmMvaG90c3BvdC9zaGFyZS9qZnIvbWV0YWRhdGEvbWV0YWRhdGEueG1sI0wxMjA3" class="LPBorder891208" style="width: 100%; margin-top: 16px; margin-bottom: 16px; position: relative; max-width: 800px; min-width: 424px;">
<table id="LPContainer891208" role="presentation" style="padding: 12px 36px 12px 12px; width: 100%; border: 1px solid rgb(200, 200, 200); border-radius: 2px;">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td>
<div id="LPImageContainer891208" style="position: relative; margin-right: 12px; height: 120px; overflow: hidden; width: 240px;">
<a target="_blank" id="LPImageAnchor891208" href="https://github.com/openjdk/jdk/blob/e73411a2354cf266ab7a5ddadfb6ea98d7eb4cd1/src/hotspot/share/jfr/metadata/metadata.xml#L1207"><img id="LPThumbnailImageId891208" alt="" height="120" style="display: block;" width="240" src="https://opengraph.githubassets.com/a5d3f73dbf47f40527cd2c8e76db552e72032595270113a4cd1943e26cc905ca/openjdk/jdk"></a></div>
</td>
<td style="width: 100%;">
<div id="LPTitle891208" style="font-size: 21px; font-weight: 300; margin-right: 8px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px;">
<a target="_blank" id="LPUrlAnchor891208" href="https://github.com/openjdk/jdk/blob/e73411a2354cf266ab7a5ddadfb6ea98d7eb4cd1/src/hotspot/share/jfr/metadata/metadata.xml#L1207" style="text-decoration: none; color: var(--themePrimary);">jdk/metadata.xml at e73411a2354cf266ab7a5ddadfb6ea98d7eb4cd1
 · openjdk/jdk</a></div>
<div id="LPDescription891208" style="font-size: 14px; max-height: 100px; color: rgb(102, 102, 102); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px; margin-right: 8px; overflow: hidden;">
JDK main-line development https://openjdk.org/projects/jdk - jdk/metadata.xml at e73411a2354cf266ab7a5ddadfb6ea98d7eb4cd1 · openjdk/jdk</div>
<div id="LPMetadata891208" style="font-size: 14px; font-weight: 400; color: rgb(166, 166, 166); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif;">
github.com</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
Erik</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> hotspot-jfr-dev <hotspot-jfr-dev-retn@openjdk.org> on behalf of Alan Bateman <Alan.Bateman@oracle.com><br>
<b>Sent:</b> Wednesday, March 22, 2023 9:21 PM<br>
<b>To:</b> Jonathan Ross <jonathan.ross@cjug.org><br>
<b>Cc:</b> hotspot-jfr-dev <hotspot-jfr-dev@openjdk.java.net>; loom-dev@openjdk.org <loom-dev@openjdk.org><br>
<b>Subject:</b> Re: JFR integration</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">On 22/03/2023 19:16, Jonathan Ross wrote:<br>
> Okay, it must be something else causing the jfr problem, I'll contact <br>
> jfr-dev as you suggest, thanks for that suggestion.<br>
><br>
> Can you comment on jfr events not including information about the <br>
> carrier thread?  Is there any particular reason not to (want to) <br>
> include platform thread information?  I, for one, would like to be <br>
> able to see the underlying fork-join scheduler at work in flight <br>
> recordings.<br>
The scheduler threads are distinct and you may see some events committed <br>
on those threads. What would you do with the linkage if it was in the <br>
recording?<br>
<br>
<br>
><br>
> A second, somewhat related question: is it possible to use multiple <br>
> distinct carrier thread pools, with different parallelism? (Perhaps <br>
> there is some magic around creating virtual threads from within a <br>
> forkjoin task?)<br>
><br>
Not at this time. It will take time for the eco system to get used to <br>
virtual threads and in the future we can evaluate if are compelling <br>
reasons to allow for custom schedulers.<br>
<br>
-Alan<br>
<br>
</div>
</span></font></div>
</body>
</html>