RFR: 8284161: Implementation of Virtual Threads (Preview) [v2]
Alan Bateman
alanb at openjdk.java.net
Thu Apr 21 11:36:04 UTC 2022
On Sat, 16 Apr 2022 14:59:55 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> src/java.base/share/classes/jdk/internal/vm/ThreadContainers.java line 184:
>>
>>> 182: * with the Thread API.
>>> 183: */
>>> 184: private static class RootContainer extends ThreadContainer {
>>
>> This implementation could be clearer if split out into two, and the value assigned to `INSTANCE` is selected based on the system property. Something to consider later perhaps.
>
> We've been undecided on whether to just track all threads. If we do that then there would be only one implementation. But yes, if we continue with two then they should be split out.
Done.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8166
More information about the serviceability-dev
mailing list