RFR: 8304919: Implementation of Virtual Threads [v2]

Chris Plummer cjplummer at openjdk.org
Wed Mar 29 18:58:29 UTC 2023


On Wed, 29 Mar 2023 07:27:50 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> test/jdk/com/sun/management/ThreadMXBean/VirtualThreads.java line 143:
>> 
>>> 141:             long[] tids = new long[] { tid0, tid1 };
>>> 142:             long[] cpuTimes = bean.getThreadCpuTime(tids);
>>> 143:             if (Thread.currentThread().isVirtual()) {
>> 
>> How it worked before?
>
> tid0 is the thread ID of a platform therad. tid1 is the threadID of a virtual thread. The only change here is allow this test run with the main wrapper plugin ([CODETOOLS-7903373](https://bugs.openjdk.org/browse/CODETOOLS-7903373)), it would otherwise have to be excluded for those runs.

I don't see any problemlist changes. Was this test failing when using the wrapper because of the lack of problemlisting?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/13203#discussion_r1152353646


More information about the serviceability-dev mailing list