equal
deleted
inserted
replaced
22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
25 #include "precompiled.hpp" |
25 #include "precompiled.hpp" |
26 #include "oops/markOop.hpp" |
26 #include "oops/markOop.hpp" |
27 #ifdef TARGET_OS_FAMILY_linux |
27 #include "runtime/thread.inline.hpp" |
28 # include "thread_linux.inline.hpp" |
|
29 #endif |
|
30 #ifdef TARGET_OS_FAMILY_solaris |
|
31 # include "thread_solaris.inline.hpp" |
|
32 #endif |
|
33 #ifdef TARGET_OS_FAMILY_windows |
|
34 # include "thread_windows.inline.hpp" |
|
35 #endif |
|
36 #ifdef TARGET_OS_FAMILY_bsd |
|
37 # include "thread_bsd.inline.hpp" |
|
38 #endif |
|
39 |
|
40 |
28 |
41 void markOopDesc::print_on(outputStream* st) const { |
29 void markOopDesc::print_on(outputStream* st) const { |
42 if (is_locked()) { |
30 if (is_locked()) { |
43 st->print("locked(0x%lx)->", value()); |
31 st->print("locked(0x%lx)->", value()); |
44 markOop(*(markOop*)value())->print_on(st); |
32 markOop(*(markOop*)value())->print_on(st); |