From 13b44207b95a8fcf7510543ce177c54fc15aa66f Mon Sep 17 00:00:00 2001 From: Goetz Lindenmaier Date: Thu, 21 Jul 2022 11:44:28 +0000 Subject: [PATCH] 8271010: vmTestbase/gc/lock/malloc/malloclock04/TestDescription.java crashes intermittently Reviewed-by: mbaesken, stuefe --- src/hotspot/share/runtime/compilationPolicy.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/hotspot/share/runtime/compilationPolicy.cpp b/src/hotspot/share/runtime/compilationPolicy.cpp index 0ffc124264d..40d25b1c54e 100644 --- a/src/hotspot/share/runtime/compilationPolicy.cpp +++ b/src/hotspot/share/runtime/compilationPolicy.cpp @@ -328,8 +328,6 @@ void NonTieredCompPolicy::reset_counter_for_invocation_event(const methodHandle& assert(mcs != NULL, "MethodCounters cannot be NULL for profiling"); mcs->invocation_counter()->set_carry(); mcs->backedge_counter()->set_carry(); - - assert(!m->was_never_executed(), "don't reset to 0 -- could be mistaken for never-executed"); } void NonTieredCompPolicy::reset_counter_for_back_branch_event(const methodHandle& m) {