From bcf35390b4391ce74c546ad31c1446b38ad6a547 Mon Sep 17 00:00:00 2001 From: Aleksandr Emelenko Date: Mon, 17 Jul 2023 15:39:06 +0300 Subject: [PATCH] Test bench results Change-Id: Ic9c38cb2049f77ecf05cd258cbb33a546c0a6185 Signed-off-by: Aleksandr Emelenko --- runtime/mem/gc/g1/g1-gc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/mem/gc/g1/g1-gc.cpp b/runtime/mem/gc/g1/g1-gc.cpp index afb90c961..ce850ef66 100644 --- a/runtime/mem/gc/g1/g1-gc.cpp +++ b/runtime/mem/gc/g1/g1-gc.cpp @@ -2003,6 +2003,7 @@ bool G1GC::ShouldRunTenuredGC(const GCTask &task) template void G1GC::OnWaitForIdleFail() { + if (this->GetGCPhase() == GCPhase::GC_PHASE_MARK) { interrupt_concurrent_flag_ = true; if (this->GetSettings()->G1EnablePauseTimeGoal()) { -- Gitee