We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45e3cbf commit 10ddd51Copy full SHA for 10ddd51
src/hotspot/share/gc/shared/gcTimer.cpp
@@ -24,6 +24,7 @@
24
25
#include "precompiled.hpp"
26
#include "gc/shared/gcTimer.hpp"
27
+#include "gc/shared/gc_globals.hpp"
28
#include "utilities/growableArray.hpp"
29
30
// the "time" parameter for most functions
@@ -129,7 +130,7 @@ void TimePartitions::clear() {
129
130
}
131
132
void TimePartitions::report_gc_phase_start(const char* name, const Ticks& time, GCPhase::PhaseType type) {
- assert(_phases->length() <= 1000, "Too many recorded phases? (count: %d)", _phases->length());
133
+ assert(UseZGC || _phases->length() <= 1000, "Too many recorded phases? (count: %d)", _phases->length());
134
135
int level = _active_phases.count();
136
0 commit comments