equal
deleted
inserted
replaced
42 #include "memory/guardedMemory.hpp" |
42 #include "memory/guardedMemory.hpp" |
43 #endif |
43 #endif |
44 #include "memory/resourceArea.hpp" |
44 #include "memory/resourceArea.hpp" |
45 #include "oops/oop.inline.hpp" |
45 #include "oops/oop.inline.hpp" |
46 #include "prims/jvm_misc.hpp" |
46 #include "prims/jvm_misc.hpp" |
47 #include "prims/privilegedStack.hpp" |
|
48 #include "runtime/arguments.hpp" |
47 #include "runtime/arguments.hpp" |
49 #include "runtime/atomic.hpp" |
48 #include "runtime/atomic.hpp" |
50 #include "runtime/frame.inline.hpp" |
49 #include "runtime/frame.inline.hpp" |
51 #include "runtime/interfaceSupport.inline.hpp" |
50 #include "runtime/interfaceSupport.inline.hpp" |
52 #include "runtime/java.hpp" |
51 #include "runtime/java.hpp" |
1130 } |
1129 } |
1131 #endif |
1130 #endif |
1132 } |
1131 } |
1133 |
1132 |
1134 for (JavaThreadIteratorWithHandle jtiwh; JavaThread *thread = jtiwh.next(); ) { |
1133 for (JavaThreadIteratorWithHandle jtiwh; JavaThread *thread = jtiwh.next(); ) { |
1135 // Check for privilege stack |
|
1136 if (thread->privileged_stack_top() != NULL && |
|
1137 thread->privileged_stack_top()->contains(addr)) { |
|
1138 st->print_cr(INTPTR_FORMAT " is pointing into the privilege stack " |
|
1139 "for thread: " INTPTR_FORMAT, p2i(addr), p2i(thread)); |
|
1140 if (verbose) thread->print_on(st); |
|
1141 return; |
|
1142 } |
|
1143 // If the addr is a java thread print information about that. |
1134 // If the addr is a java thread print information about that. |
1144 if (addr == (address)thread) { |
1135 if (addr == (address)thread) { |
1145 if (verbose) { |
1136 if (verbose) { |
1146 thread->print_on(st); |
1137 thread->print_on(st); |
1147 } else { |
1138 } else { |