We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e941de commit 6b833dbCopy full SHA for 6b833db
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
@@ -130,7 +131,7 @@ void TimePartitions::clear() {
130
131
}
132
133
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());
134
+ assert(UseZGC || _phases->length() <= 1000, "Too many recorded phases? (count: %d)", _phases->length());
135
136
int level = _active_phases.count();
137
0 commit comments