< prev index next >

src/hotspot/share/runtime/os.cpp

Print this page
rev 52360 : 8212605: Pure-Java implementation of AccessController.doPrivileged

*** 42,52 **** #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" --- 42,51 ----
*** 1089,1106 **** #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 { --- 1088,1097 ----
< prev index next >