equal
deleted
inserted
replaced
55 #ifdef TARGET_OS_FAMILY_solaris |
55 #ifdef TARGET_OS_FAMILY_solaris |
56 # include "thread_solaris.inline.hpp" |
56 # include "thread_solaris.inline.hpp" |
57 #endif |
57 #endif |
58 #ifdef TARGET_OS_FAMILY_windows |
58 #ifdef TARGET_OS_FAMILY_windows |
59 # include "thread_windows.inline.hpp" |
59 # include "thread_windows.inline.hpp" |
|
60 #endif |
|
61 #ifdef TARGET_OS_FAMILY_bsd |
|
62 # include "thread_bsd.inline.hpp" |
60 #endif |
63 #endif |
61 |
64 |
62 #define INJECTED_FIELD_COMPUTE_OFFSET(klass, name, signature, may_be_java) \ |
65 #define INJECTED_FIELD_COMPUTE_OFFSET(klass, name, signature, may_be_java) \ |
63 klass::_##name##_offset = JavaClasses::compute_injected_offset(JavaClasses::klass##_##name##_enum); |
66 klass::_##name##_offset = JavaClasses::compute_injected_offset(JavaClasses::klass##_##name##_enum); |
64 |
67 |
1143 // Neither soucename and linenumber |
1146 // Neither soucename and linenumber |
1144 sprintf(buf + (int)strlen(buf), "(Unknown Source)"); |
1147 sprintf(buf + (int)strlen(buf), "(Unknown Source)"); |
1145 } |
1148 } |
1146 nmethod* nm = method->code(); |
1149 nmethod* nm = method->code(); |
1147 if (WizardMode && nm != NULL) { |
1150 if (WizardMode && nm != NULL) { |
1148 sprintf(buf + (int)strlen(buf), "(nmethod " PTR_FORMAT ")", (intptr_t)nm); |
1151 sprintf(buf + (int)strlen(buf), "(nmethod " INTPTR_FORMAT ")", (intptr_t)nm); |
1149 } |
1152 } |
1150 } |
1153 } |
1151 |
1154 |
1152 return buf; |
1155 return buf; |
1153 } |
1156 } |