mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
8305625: Stress test crashes with SEGV in Deoptimization::deoptimize_frame_internal(JavaThread*, long*, Deoptimization::DeoptReason)
Reviewed-by: rrich, rehn
(cherry picked from commit 7360960454)
This commit is contained in:
committed by
Vitaly Provodin
parent
bd833fd288
commit
b3bef0ce6e
@@ -123,9 +123,8 @@ bool EscapeBarrier::deoptimize_objects_all_threads() {
|
||||
if (!barrier_active()) return true;
|
||||
ResourceMark rm(calling_thread());
|
||||
for (JavaThreadIteratorWithHandle jtiwh; JavaThread *jt = jtiwh.next(); ) {
|
||||
oop vt_oop = jt->jvmti_vthread();
|
||||
// Skip virtual threads
|
||||
if (vt_oop != nullptr && java_lang_VirtualThread::is_instance(vt_oop)) {
|
||||
// Skip thread with mounted continuation
|
||||
if (jt->last_continuation() != nullptr) {
|
||||
continue;
|
||||
}
|
||||
if (jt->frames_to_pop_failed_realloc() > 0) {
|
||||
|
||||
Reference in New Issue
Block a user