7102541: RFE: os::set_native_thread_name() cleanups

Implement os::set_native_thread_name() on windows, linux

Reviewed-by: sla, ctornqvi, simonis
This commit is contained in:
Thomas Stuefe 2014-10-13 22:11:39 +02:00 committed by Staffan Larsen
parent c5dbe0cf46
commit 51866388d1
5 changed files with 40 additions and 4 deletions

View file

@ -55,6 +55,7 @@ class Linux {
static int (*_clock_gettime)(clockid_t, struct timespec *);
static int (*_pthread_getcpuclockid)(pthread_t, clockid_t *);
static int (*_pthread_setname_np)(pthread_t, const char*);
static address _initial_thread_stack_bottom;
static uintptr_t _initial_thread_stack_size;