Skip to content

Commit 5d14b13

Browse files
Andrew LuGoeLin
Andrew Lu
authored andcommittedNov 13, 2023
8275333: Print count in "Too many recored phases?" assert
Backport-of: 45ebf85ca9a1e071955ba2e3cb32449bfbd85d14
1 parent 27bfce0 commit 5d14b13

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
@@ -129,7 +129,7 @@ void TimePartitions::clear() {
129129
}
130130

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

134134
int level = _active_phases.count();
135135

0 commit comments

Comments
 (0)