< prev index next > src/hotspot/share/prims/jvmtiTagMap.cpp
Print this page
bool StackRefCollector::report_native_stack_refs(jmethodID method) {
_blk->set_context(_thread_tag, _tid, _depth, method);
if (_is_top_frame) {
// JNI locals for the top frame.
! assert(_java_thread != nullptr, "sanity");
! _java_thread->active_handles()->oops_do(_blk);
! if (_blk->stopped()) {
! return false;
}
} else {
if (_last_entry_frame != nullptr) {
// JNI locals for the entry frame.
assert(_last_entry_frame->is_entry_frame(), "checking");
bool StackRefCollector::report_native_stack_refs(jmethodID method) {
_blk->set_context(_thread_tag, _tid, _depth, method);
if (_is_top_frame) {
// JNI locals for the top frame.
! if (_java_thread != nullptr) {
! _java_thread->active_handles()->oops_do(_blk);
! if (_blk->stopped()) {
! return false;
+ }
}
} else {
if (_last_entry_frame != nullptr) {
// JNI locals for the entry frame.
assert(_last_entry_frame->is_entry_frame(), "checking");
< prev index next >