Skip to content
Permalink
Browse files
8275333: Print count in "Too many recored phases?" assert
Reviewed-by: eosterlund, tschatzl
  • Loading branch information
stefank committed Oct 18, 2021
1 parent ebb1363 commit 45ebf85ca9a1e071955ba2e3cb32449bfbd85d14
Showing 1 changed file with 1 addition and 1 deletion.
@@ -130,7 +130,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();

1 comment on commit 45ebf85

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 45ebf85 Oct 18, 2021

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.