Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7102541 RFE: os::set_native_thread_name() cleanups
  3. JDK-8175078

Release Note: os::set_native_thread_name() cleanups

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • P4
    • Resolution: Delivered
    • 8u351, 9
    • 9
    • hotspot
    • Verified

    Backports

      Description

        On platforms that support the concept of a thread name on their native threads, the `java.lang.Thread.setName()` method will also set that native thread name. However, this will only occur when called by the current thread, and only for threads started through the `java.lang.Thread` class (not for native threads that have attached via JNI). The presence of a native thread name can be useful for debugging and monitoring purposes. Some platforms may limit the native thread name to a length much shorter than that used by the `java.lang.Thread`, which may result in some threads having the same native name.

        Attachments

          Issue Links

            Activity

              People

                gziemski Gerard Ziemski
                gziemski Gerard Ziemski
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: