8275329: ZGC: vmTestbase/gc/gctests/SoftReference/soft004/soft004.java fails with assert(_phases->length() <= 1000) failed: Too many recored phases?
Reviewed-by: stefank, eosterlund
This commit is contained in:
parent
1e941dedad
commit
6b833db3f9
@ -24,6 +24,7 @@
|
||||
|
||||
#include "precompiled.hpp"
|
||||
#include "gc/shared/gcTimer.hpp"
|
||||
#include "gc/shared/gc_globals.hpp"
|
||||
#include "utilities/growableArray.hpp"
|
||||
|
||||
// the "time" parameter for most functions
|
||||
@ -130,7 +131,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 recorded phases? (count: %d)", _phases->length());
|
||||
assert(UseZGC || _phases->length() <= 1000, "Too many recorded phases? (count: %d)", _phases->length());
|
||||
|
||||
int level = _active_phases.count();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user