pluggable schedulers

Liam Miller-Cushon cushon at google.com
Fri Jun 7 18:55:06 UTC 2024


Thanks Alan! It looks like this is the commit that removed the prototype?
https://github.com/openjdk/loom/commit/cad26ce74c98e28854f02106117fe03741f69ba0

I'll see if that's enough to experiment with, and will report back if I
have any feedback in case that's useful if this is revisited in the future.

On Thu, Jun 6, 2024 at 9:37 PM Alan Bateman <Alan.Bateman at oracle.com> wrote:

> On 07/06/2024 01:51, Liam Miller-Cushon wrote:
> > Hi,
> >
> > There were some mentions of 'pluggable schedulers' in the early Loom
> > docs [1][2] that would have allowed users to replace ForkJoinPool with
> > a custom scheduler, but it wasn't included in the later proposals. I
> > found a mention on loom-dev@ in 2022 that they were 'being worked on
> > but were not delivered in JEP 425' [3].
> >
> > I'm curious what became of that idea--is it still possible future
> > work, or was a decision made not to support that at some point?
>
> It's a feature that we have to be very cautious about. The EA builds
> exposed a prototype API for a long time but there wasn't much feedback.
> Definitely not enough usage to help decide what hooks to expose. The API
> (not the implementation support)  was pulled when preparing the proposal
> for the main line (JEP 425). There is interest in some areas to explore
> the topic again, just nothing definite (no JEP) at this time.
>
> -Alan
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20240607/dfefc83a/attachment.htm>


More information about the loom-dev mailing list