Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8347490

jcmd Thread.vthread_scheduler and Thread.vthread_pollers cause initialization

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 24
    • core-svc
    • None

      The jcmd commands added by JDK-8337199 trigger initialization, i.e.

      jcmd Thread.vthread_scheduler causes the default scheduler, timer queues, and the unblocker for object monitors to be initialized if the command is used and the target VM isn't using virtual threads.

      jcmd Thread.vthread_poller causes the I/O poller mechanism to be initialized when the target VM isn't using virtual threads that do socket I/O.

      The initial version of these commands was implemented to not cause initialization but that was removed as part of splitting up the commands and getting agreement on what to include in main line. We should re-visit this.

            alanb Alan Bateman
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: