< prev index next >
src/hotspot/share/runtime/os.cpp
Print this page
rev 52360 : 8212605: Pure-Java implementation of AccessController.doPrivileged
@@ -42,11 +42,10 @@
#include "memory/guardedMemory.hpp"
#endif
#include "memory/resourceArea.hpp"
#include "oops/oop.inline.hpp"
#include "prims/jvm_misc.hpp"
-#include "prims/privilegedStack.hpp"
#include "runtime/arguments.hpp"
#include "runtime/atomic.hpp"
#include "runtime/frame.inline.hpp"
#include "runtime/interfaceSupport.inline.hpp"
#include "runtime/java.hpp"
@@ -1089,18 +1088,10 @@
#endif
}
// Check if addr belongs to a Java thread.
for (JavaThreadIteratorWithHandle jtiwh; JavaThread *thread = jtiwh.next(); ) {
- // Check for privilege stack
- if (thread->privileged_stack_top() != NULL &&
- thread->privileged_stack_top()->contains(addr)) {
- st->print_cr(INTPTR_FORMAT " is pointing into the privilege stack "
- "for thread: " INTPTR_FORMAT, p2i(addr), p2i(thread));
- if (verbose) thread->print_on(st);
- return;
- }
// If the addr is a java thread print information about that.
if (addr == (address)thread) {
if (verbose) {
thread->print_on(st);
} else {
< prev index next >