src/hotspot/share/runtime/os.cpp
branchdlong-java-do-priv-branch
changeset 56897 840ad2a9015a
parent 51139 c95334202a14
--- a/src/hotspot/share/runtime/os.cpp	Wed Sep 12 10:27:03 2018 -0700
+++ b/src/hotspot/share/runtime/os.cpp	Wed Sep 19 14:47:37 2018 -0700
@@ -44,7 +44,6 @@
 #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"
@@ -1132,14 +1131,6 @@
   }
 
   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) {