--- a/src/hotspot/share/jfr/leakprofiler/checkpoint/rootResolver.cpp Wed Sep 12 10:27:03 2018 -0700
+++ b/src/hotspot/share/jfr/leakprofiler/checkpoint/rootResolver.cpp Wed Sep 19 14:47:37 2018 -0700
@@ -33,7 +33,6 @@
#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"
@@ -322,14 +321,6 @@
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