• Icon: Sub-task Sub-task
    • Resolution: Delivered
    • Icon: P4 P4
    • 22
    • 22
    • hotspot
    • generic
    • generic

      A new flag, `-XX:UserThreadWaitAttemptsAtExit=<number_of_waits>`, has been introduced. This flag is to specify the number of times the JVM waits for user threads to stop executing native code during a JVM exit. Each wait lasts 10 milliseconds. The maximum number of waits is 1000, to wait at most 10 seconds. By default, `UserThreadWaitAttemptsAtExit` is 30, thus the JVM may wait up to 300 milliseconds for user threads to stop executing native code when the JVM is exiting. That is the same as the existing behavior.

            jiangli Jiangli Zhou
            jiangli Jiangli Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: