Implement os::set_native_thread_name() on Windows and Linux

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: 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

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

              Created:
              Updated:
              Resolved: