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

Implement os::set_native_thread_name() on Windows and Linux

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Duplicate
    • None
    • None
    • hotspot
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: