Mercurial > hg > graal-compiler
comparison src/os_cpu/bsd_x86/vm/vmStructs_bsd_x86.hpp @ 8023:758935f7c23f
8006423: SA: NullPointerException in sun.jvm.hotspot.debugger.bsd.BsdThread.getContext(BsdThread.java:67)
Summary: Do not rely on mach thread port names to identify threads from SA
Reviewed-by: dholmes, minqi, rbackman
author | sla |
---|---|
date | Fri, 08 Feb 2013 12:48:24 +0100 |
parents | 91bf7da5c609 |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
8021:8d9fc28831cc | 8023:758935f7c23f |
---|---|
33 \ | 33 \ |
34 /******************************/ \ | 34 /******************************/ \ |
35 /* Threads (NOTE: incomplete) */ \ | 35 /* Threads (NOTE: incomplete) */ \ |
36 /******************************/ \ | 36 /******************************/ \ |
37 nonstatic_field(OSThread, _thread_id, OSThread::thread_id_t) \ | 37 nonstatic_field(OSThread, _thread_id, OSThread::thread_id_t) \ |
38 nonstatic_field(OSThread, _pthread_id, pthread_t) | 38 nonstatic_field(OSThread, _unique_thread_id, uint64_t) |
39 | 39 |
40 | 40 |
41 #define VM_TYPES_OS_CPU(declare_type, declare_toplevel_type, declare_oop_type, declare_integer_type, declare_unsigned_integer_type, declare_c1_toplevel_type, declare_c2_type, declare_c2_toplevel_type) \ | 41 #define VM_TYPES_OS_CPU(declare_type, declare_toplevel_type, declare_oop_type, declare_integer_type, declare_unsigned_integer_type, declare_c1_toplevel_type, declare_c2_type, declare_c2_toplevel_type) \ |
42 \ | 42 \ |
43 /**********************/ \ | 43 /**********************/ \ |
44 /* Posix Thread IDs */ \ | 44 /* Thread IDs */ \ |
45 /**********************/ \ | 45 /**********************/ \ |
46 \ | 46 \ |
47 declare_unsigned_integer_type(OSThread::thread_id_t) \ | 47 declare_unsigned_integer_type(OSThread::thread_id_t) |
48 declare_unsigned_integer_type(pthread_t) | |
49 | 48 |
50 #define VM_INT_CONSTANTS_OS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant) | 49 #define VM_INT_CONSTANTS_OS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant) |
51 | 50 |
52 #define VM_LONG_CONSTANTS_OS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant) | 51 #define VM_LONG_CONSTANTS_OS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant) |
53 | 52 |