Skip to content

Commit 3c05f5a

Browse files
committed
cleanup
1 parent 6b9aba0 commit 3c05f5a

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/hotspot/share/runtime/continuationFreezeThaw.cpp

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1669,23 +1669,6 @@ static void jvmti_mount_end(JavaThread* current, ContinuationWrapper& cont, fram
16691669
#endif // INCLUDE_JVMTI
16701670

16711671
#ifdef ASSERT
1672-
//static bool monitors_on_stack(JavaThread* thread) {
1673-
// ContinuationEntry* ce = thread->last_continuation();
1674-
// RegisterMap map(thread,
1675-
// RegisterMap::UpdateMap::include,
1676-
// RegisterMap::ProcessFrames::include,
1677-
// RegisterMap::WalkContinuation::skip);
1678-
// map.set_include_argument_oops(false);
1679-
// for (frame f = thread->last_frame(); Continuation::is_frame_in_continuation(ce, f); f = f.sender(&map)) {
1680-
// if ((f.is_interpreted_frame() && ContinuationHelper::InterpretedFrame::is_owning_locks(f)) ||
1681-
// (f.is_compiled_frame() && ContinuationHelper::CompiledFrame::is_owning_locks(map.thread(), &map, f)) ||
1682-
// (f.is_native_frame() && ContinuationHelper::NativeFrame::is_owning_locks(map.thread(), f))) {
1683-
// return true;
1684-
// }
1685-
// }
1686-
// return false;
1687-
//}
1688-
16891672
// There are no interpreted frames if we're not called from the interpreter and we haven't ancountered an i2c
16901673
// adapter or called Deoptimization::unpack_frames. As for native frames, upcalls from JNI also go through the
16911674
// interpreter (see JavaCalls::call_helper), while the UpcallLinker explicitly sets cont_fastpath.

0 commit comments

Comments
 (0)