Skip to content

Commit

Permalink
8275333: Print count in "Too many recored phases?" assert
Browse files Browse the repository at this point in the history
Backport-of: 45ebf85ca9a1e071955ba2e3cb32449bfbd85d14
  • Loading branch information
Andrew Lu authored and GoeLin committed Nov 13, 2023
1 parent 27bfce0 commit 5d14b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/shared/gcTimer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ void TimePartitions::clear() {
}

void TimePartitions::report_gc_phase_start(const char* name, const Ticks& time, GCPhase::PhaseType type) {
assert(_phases->length() <= 1000, "Too many recored phases?");
assert(_phases->length() <= 1000, "Too many recorded phases? (count: %d)", _phases->length());

int level = _active_phases.count();

Expand Down

1 comment on commit 5d14b13

@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.