JFR integration
Alan Bateman
Alan.Bateman at oracle.com
Wed Mar 22 20:21:56 UTC 2023
On 22/03/2023 19:16, Jonathan Ross wrote:
> Okay, it must be something else causing the jfr problem, I'll contact
> jfr-dev as you suggest, thanks for that suggestion.
>
> Can you comment on jfr events not including information about the
> carrier thread? Is there any particular reason not to (want to)
> include platform thread information? I, for one, would like to be
> able to see the underlying fork-join scheduler at work in flight
> recordings.
The scheduler threads are distinct and you may see some events committed
on those threads. What would you do with the linkage if it was in the
recording?
>
> A second, somewhat related question: is it possible to use multiple
> distinct carrier thread pools, with different parallelism? (Perhaps
> there is some magic around creating virtual threads from within a
> forkjoin task?)
>
Not at this time. It will take time for the eco system to get used to
virtual threads and in the future we can evaluate if are compelling
reasons to allow for custom schedulers.
-Alan
More information about the loom-dev
mailing list