pluggable schedulers
Alan Bateman
Alan.Bateman at oracle.com
Fri Jun 7 04:37:45 UTC 2024
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
More information about the loom-dev
mailing list