< prev index next >

src/hotspot/share/jfr/leakprofiler/checkpoint/rootResolver.cpp

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

@@ -32,11 +32,10 @@
 #include "memory/iterator.hpp"
 #include "oops/klass.hpp"
 #include "oops/markOop.hpp"
 #include "oops/oop.hpp"
 #include "prims/jvmtiThreadState.hpp"
-#include "prims/privilegedStack.hpp"
 #include "runtime/frame.inline.hpp"
 #include "runtime/mutexLocker.hpp"
 #include "runtime/threadSMR.inline.hpp"
 #include "runtime/vframe_hp.hpp"
 #include "services/management.hpp"

@@ -321,18 +320,10 @@
   assert(!complete(), "invariant");
 
   ReferenceLocateClosure rcl(_callback, OldObjectRoot::_threads, OldObjectRoot::_stack_variable, jt);
 
   if (jt->has_last_Java_frame()) {
-    PrivilegedElement* const pelem = jt->privileged_stack_top();
-    if (pelem != NULL) {
-      pelem->oops_do(&rcl);
-      if (rcl.complete()) {
-        return true;
-      }
-    }
-
     // traverse the registered growable array gc_array
     // can't do this as it is not reachable from outside
 
     // Traverse the monitor chunks
     MonitorChunk* chunk = jt->monitor_chunks();
< prev index next >