RFR: 8338890: Add monitoring/management interface for the virtual thread scheduler [v3]
Alan Bateman
alanb at openjdk.org
Thu Sep 5 18:24:51 UTC 2024
On Thu, 5 Sep 2024 17:59:50 GMT, David M. Lloyd <duke at openjdk.org> wrote:
> The API docs don't seem to specify what a value of `-1` means; is it meant to indicate "not known"? It seems like other implementations are returning e.g. `MAX_VALUE` sometimes too; is that worth calling out in the doc for `getParallelism()`?
That can't happen right now as there is no support for configuring a different virtual thread scheduler in main line. So this could throw an "should not reach here" Error. If we were to expose something then it would include a side channel to obtain the management interface for that scheduler.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20816#discussion_r1745980908
More information about the serviceability-dev
mailing list