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
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
- duplicates
-
JDK-7102541 RFE: os::set_native_thread_name() cleanups
-
- Closed
-