Re: RFR: 8338890: Add monitoring/management interface for the virtual thread scheduler [v4]

2024-09-09 Thread Kevin Walls
On Mon, 9 Sep 2024 06:28:45 GMT, Alan Bateman wrote: >> This PR proposes to add a JDK-specific monitoring and management interface >> for the virtual thread scheduler. The interface is named >> [VirtualThreadSchedulerMXBean](https://download.java.net/java/early_access/loom/docs/api/jdk.manageme

Re: RFR: 8338890: Add monitoring/management interface for the virtual thread scheduler [v4]

2024-09-08 Thread Alan Bateman
> This PR proposes to add a JDK-specific monitoring and management interface > for the virtual thread scheduler. The interface is named > [VirtualThreadSchedulerMXBean](https://download.java.net/java/early_access/loom/docs/api/jdk.management/jdk/management/VirtualThreadSchedulerMXBean.html) > an

Re: RFR: 8338890: Add monitoring/management interface for the virtual thread scheduler [v3]

2024-09-06 Thread Alan Bateman
On Fri, 6 Sep 2024 10:47:29 GMT, Kevin Walls wrote: > The ObjectName String "jdk.management:type=VirtualThreadScheduler" could have > a public static final definition somewhere in future, but there is no obvious > home, e.g. java.lang.management.ManagementFactory is in the wrong package. > Som

Re: RFR: 8338890: Add monitoring/management interface for the virtual thread scheduler [v3]

2024-09-06 Thread Kevin Walls
On Thu, 5 Sep 2024 17:54:46 GMT, Alan Bateman wrote: >> This PR proposes to add a JDK-specific monitoring and management interface >> for the virtual thread scheduler. The interface is named >> [VirtualThreadSchedulerMXBean](https://download.java.net/java/early_access/loom/docs/api/jdk.manageme

Re: RFR: 8338890: Add monitoring/management interface for the virtual thread scheduler [v3]

2024-09-05 Thread Alan Bateman
On Thu, 5 Sep 2024 17:59:50 GMT, David M. Lloyd 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 > `getPara

Re: RFR: 8338890: Add monitoring/management interface for the virtual thread scheduler [v3]

2024-09-05 Thread David M . Lloyd
On Thu, 5 Sep 2024 17:54:46 GMT, Alan Bateman wrote: >> This PR proposes to add a JDK-specific monitoring and management interface >> for the virtual thread scheduler. The interface is named >> [VirtualThreadSchedulerMXBean](https://download.java.net/java/early_access/loom/docs/api/jdk.manageme

Re: RFR: 8338890: Add monitoring/management interface for the virtual thread scheduler [v3]

2024-09-05 Thread Alan Bateman
> This PR proposes to add a JDK-specific monitoring and management interface > for the virtual thread scheduler. The interface is named > [VirtualThreadSchedulerMXBean](https://download.java.net/java/early_access/loom/docs/api/jdk.management/jdk/management/VirtualThreadSchedulerMXBean.html) > an

Re: RFR: 8338890: Add monitoring/management interface for the virtual thread scheduler [v2]

2024-09-04 Thread Alan Bateman
> This PR proposes to add a JDK-specific monitoring and management interface > for the virtual thread scheduler. The interface is named > [VirtualThreadSchedulerMXBean](https://download.java.net/java/early_access/loom/docs/api/jdk.management/jdk/management/VirtualThreadSchedulerMXBean.html) > an

Re: RFR: 8338890: Add monitoring/management interface for the virtual thread scheduler

2024-09-03 Thread ExE Boss
On Mon, 2 Sep 2024 12:25:05 GMT, Alan Bateman wrote: > This PR proposes to add a JDK-specific monitoring and management interface > for the virtual thread scheduler. The interface is named > VirtualThreadSchedulerMXBean and allows JMX based tooling monitor/manage the > scheduler's target paral

RFR: 8338890: Add monitoring/management interface for the virtual thread scheduler

2024-09-03 Thread Alan Bateman
This PR proposes to add a JDK-specific monitoring and management interface for the virtual thread scheduler. The interface is named VirtualThreadSchedulerMXBean and allows JMX based tooling monitor/manage the scheduler's target parallelism and monitor thread counts. The JDK 5/6 era JDK-specific