Re: RFR: 8303242: ThreadMXBean issues with virtual threads [v4]

2023-03-03 Thread Patricio Chilano Mateo
On Thu, 2 Mar 2023 08:18:03 GMT, Alan Bateman wrote: >> This PR covers a number of issues with j.l.management.ThreadMXBean, and the >> JDK-specific extension c.s.management.ThreadMXBean, when there are virtual >> threads in use. >> >> As background, ThreadMXBean was re-specified in Java 19 to

Re: RFR: 8303242: ThreadMXBean issues with virtual threads [v4]

2023-03-02 Thread Mandy Chung
On Thu, 2 Mar 2023 08:18:03 GMT, Alan Bateman wrote: >> This PR covers a number of issues with j.l.management.ThreadMXBean, and the >> JDK-specific extension c.s.management.ThreadMXBean, when there are virtual >> threads in use. >> >> As background, ThreadMXBean was re-specified in Java 19 to

Re: RFR: 8303242: ThreadMXBean issues with virtual threads [v3]

2023-03-02 Thread Alan Bateman
On Wed, 1 Mar 2023 21:46:54 GMT, Mandy Chung wrote: >> Alan Bateman has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Update isXXXThreadCpuTimeSupported descriptions > > src/java.management/share/classes/java/lang/management/ThreadMXBean.j

Re: RFR: 8303242: ThreadMXBean issues with virtual threads [v4]

2023-03-02 Thread Alan Bateman
> This PR covers a number of issues with j.l.management.ThreadMXBean, and the > JDK-specific extension c.s.management.ThreadMXBean, when there are virtual > threads in use. > > As background, ThreadMXBean was re-specified in Java 19 to support the > monitoring and management of platform threads

Re: RFR: 8303242: ThreadMXBean issues with virtual threads [v3]

2023-03-01 Thread Mandy Chung
On Wed, 1 Mar 2023 12:39:52 GMT, Alan Bateman wrote: >> This PR covers a number of issues with j.l.management.ThreadMXBean, and the >> JDK-specific extension c.s.management.ThreadMXBean, when there are virtual >> threads in use. >> >> As background, ThreadMXBean was re-specified in Java 19 to

Re: RFR: 8303242: ThreadMXBean issues with virtual threads [v3]

2023-03-01 Thread Mandy Chung
On Wed, 1 Mar 2023 11:40:26 GMT, Alan Bateman wrote: >> test/jdk/java/lang/management/ThreadMXBean/VirtualThreads.java line 258: >> >>> 256: long tid = Thread.currentThread().threadId(); >>> 257: long cpuTime = bean.getThreadCpuTime(tid); >>> 258: assertEquals

Re: RFR: 8303242: ThreadMXBean issues with virtual threads [v3]

2023-03-01 Thread Mandy Chung
On Wed, 1 Mar 2023 12:39:52 GMT, Alan Bateman wrote: >> This PR covers a number of issues with j.l.management.ThreadMXBean, and the >> JDK-specific extension c.s.management.ThreadMXBean, when there are virtual >> threads in use. >> >> As background, ThreadMXBean was re-specified in Java 19 to

Re: RFR: 8303242: ThreadMXBean issues with virtual threads [v3]

2023-03-01 Thread Alan Bateman
On Tue, 28 Feb 2023 20:49:51 GMT, Mandy Chung wrote: >> Alan Bateman has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Update isXXXThreadCpuTimeSupported descriptions > > src/java.management/share/classes/java/lang/management/ThreadMXBean.

Re: RFR: 8303242: ThreadMXBean issues with virtual threads [v3]

2023-03-01 Thread Alan Bateman
> This PR covers a number of issues with j.l.management.ThreadMXBean, and the > JDK-specific extension c.s.management.ThreadMXBean, when there are virtual > threads in use. > > As background, ThreadMXBean was re-specified in Java 19 to support the > monitoring and management of platform threads

Re: RFR: 8303242: ThreadMXBean issues with virtual threads [v2]

2023-03-01 Thread Alan Bateman
On Tue, 28 Feb 2023 21:06:19 GMT, Mandy Chung wrote: >> Alan Bateman has updated the pull request with a new target base due to a >> merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains five additional >> commits

Re: RFR: 8303242: ThreadMXBean issues with virtual threads [v2]

2023-03-01 Thread Alan Bateman
> This PR covers a number of issues with j.l.management.ThreadMXBean, and the > JDK-specific extension c.s.management.ThreadMXBean, when there are virtual > threads in use. > > As background, ThreadMXBean was re-specified in Java 19 to support the > monitoring and management of platform threads

Re: RFR: 8303242: ThreadMXBean issues with virtual threads

2023-02-28 Thread Mandy Chung
On Mon, 27 Feb 2023 12:23:09 GMT, Alan Bateman wrote: > This PR covers a number of issues with j.l.management.ThreadMXBean, and the > JDK-specific extension c.s.management.ThreadMXBean, when there are virtual > threads in use. > > As background, ThreadMXBean was re-specified in Java 19 to supp

RFR: 8303242: ThreadMXBean issues with virtual threads

2023-02-28 Thread Alan Bateman
This PR covers a number of issues with j.l.management.ThreadMXBean, and the JDK-specific extension c.s.management.ThreadMXBean, when there are virtual threads in use. As background, ThreadMXBean was re-specified in Java 19 to support the monitoring and management of platform threads. It does no