Skip to content

Commit

Permalink
8271010: vmTestbase/gc/lock/malloc/malloclock04/TestDescription.java …
Browse files Browse the repository at this point in the history
…crashes intermittently

Reviewed-by: mbaesken, stuefe
  • Loading branch information
GoeLin committed Jul 21, 2022
1 parent 517a18e commit 13b4420
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/hotspot/share/runtime/compilationPolicy.cpp
Expand Up @@ -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) {
Expand Down

1 comment on commit 13b4420

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.