Skip to content

Commit 45ebf85

Browse files
committed
8275333: Print count in "Too many recored phases?" assert
Reviewed-by: eosterlund, tschatzl
1 parent ebb1363 commit 45ebf85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/share/gc/shared/gcTimer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ void TimePartitions::clear() {
130130
}
131131

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

135135
int level = _active_phases.count();
136136

0 commit comments

Comments
 (0)