-
Bug
-
Resolution: Fixed
-
P2
-
11, 12
-
b22
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8207126 | 12 | Thomas Schatzl | P2 | Resolved | Fixed | b03 |
JDK-8207480 | 11.0.2 | Thomas Schatzl | P2 | Resolved | Fixed | b01 |
JDK-8207591 | 11.0.1 | Thomas Schatzl | P2 | Resolved | Fixed | b02 |
in src/hotspot/share/gc/shared/referenceProcessorPhaseTimes.cpp:
static const char* PhaseNames[ReferenceProcessor::RefPhaseMax] = {
static const char* phase_enum_2_phase_string(ReferenceProcessor::RefProcPhases phase) {
assert(phase >= ReferenceProcessor::RefPhase1 && phase <= ReferenceProcessor::RefPhaseMax,
"Invalid reference processing phase (%d)", phase);
return PhaseNames[phase];
}```
Note the `<= ReferenceProcessor::RefPhaseMax`. Probably harmless, but parfait complains
static const char* PhaseNames[ReferenceProcessor::RefPhaseMax] = {
static const char* phase_enum_2_phase_string(ReferenceProcessor::RefProcPhases phase) {
assert(phase >= ReferenceProcessor::RefPhase1 && phase <= ReferenceProcessor::RefPhaseMax,
"Invalid reference processing phase (%d)", phase);
return PhaseNames[phase];
}```
Note the `<= ReferenceProcessor::RefPhaseMax`. Probably harmless, but parfait complains
- backported by
-
JDK-8207126 Wrong assert in phase_enum_2_phase_string() in referenceProcessorPhaseTimes.cpp
-
- Resolved
-
-
JDK-8207480 Wrong assert in phase_enum_2_phase_string() in referenceProcessorPhaseTimes.cpp
-
- Resolved
-
-
JDK-8207591 Wrong assert in phase_enum_2_phase_string() in referenceProcessorPhaseTimes.cpp
-
- Resolved
-