[PATCH] Linux implementation for set_native_thread_name() (original) (raw)

keith mcguigan keith.mcguigan at oracle.com
Tue Jul 24 13:17:46 PDT 2012


I think it looks fine.

Do you have a bug number for this? Also, how do we verify the result?

--

On 7/24/2012 3:42 PM, Roman Kennke wrote:

Hello,

The following patch implements setnativethreadname() for Linux, which was so far unimplemented. The name needs to be truncated to 15 chars, otherwise it would not be accepted by pthreadsetnamenp() at all. http://cr.openjdk.java.net/~rkennke/linuxthreadname/webrev.00/ This is my first patch to hotspot ever, so please let me know when I did anything fundamental wrong. I have another patch in the pipeline for implementing the other 2 missing methods in the same source file (distributeprocesses() and bindtoprocessor() ). What do you think? Kind regards, Roman



More information about the hotspot-dev mailing list