RFR: 8286983: Add mention of "Preview Feature" for new loom related jdb and debug agent options

Alan Bateman alanb at openjdk.java.net
Thu May 19 13:13:48 UTC 2022


On Thu, 19 May 2022 00:10:15 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

> As part of the loom integration, jdb added -trackvthreads and the debug agent added "enumeratevthreads". The help text for these options should call out that they are Preview Features.

src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c line 880:

> 878:  "onuncaught=y|n                   debug on any uncaught?            n\n"
> 879:  "timeout=<timeout value>          for listen/attach in milliseconds n\n"
> 880:  "enumeratevthreads=y|n            (Preview Feature) thread lists include all vthreads\n"

I think the description needs to say "virtual threads" rather than "vthreads". Also I think "(Preview" needs to go after "virtual threads" to make it clearer that it's virtual threads that are preview,.

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

PR: https://git.openjdk.java.net/jdk/pull/8780


More information about the serviceability-dev mailing list