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

Implement os::set_native_thread_name() on Windows and Linux

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • None
    • hotspot
    • None

      Until now, os::set_native_thread_name() has only been implemented on MacOS.

      However since glibc 2.12 it is possible to also implement this method with the help of pthread_setname_np() - see http://repo.or.cz/w/glibc.git/blob_plain/HEAD:/NEWS.

      The functionality can also be implemented on Windows (at least partially) - see file:///tmp/webrev/src/os/windows/vm/os_windows.cpp.udiff.html

            simonis Volker Simonis
            simonis Volker Simonis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: