[PATCH] Linux implementation for set_native_thread_name() (original) (raw)
Roman Kennke rkennke at redhat.com
Tue Jul 24 12:42:09 PDT 2012
- Previous message: hg: hsx/hotspot-main/hotspot: 4 new changesets
- Next message: [PATCH] Linux implementation for set_native_thread_name()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
The following patch implements set_native_thread_name() for Linux, which was so far unimplemented. The name needs to be truncated to 15 chars, otherwise it would not be accepted by pthread_setname_np() at all.
http://cr.openjdk.java.net/~rkennke/linux_threadname/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 (distribute_processes() and bind_to_processor() ).
What do you think?
Kind regards, Roman
- Previous message: hg: hsx/hotspot-main/hotspot: 4 new changesets
- Next message: [PATCH] Linux implementation for set_native_thread_name()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]