-
Bug
-
Resolution: Fixed
-
P4
-
22
-
b09
SonarCloud reports a new warning here: "_compile" can be NULL on this path:
```
Compile::TracePhase::~TracePhase() {
#ifdef ASSERT
if (PrintIdealNodeCount) {
tty->print_cr("phase name='%s' nodes='%d' live='%d' live_graph_walk='%d'",
_phase_name, _compile->unique(), _compile->live_nodes(), _compile->count_live_nodes_by_graph_walk());
}
```
I think it is a regression sinceJDK-8311976.
This is minor, would only manifest in debug builds, but would be good to fix anyway.
```
Compile::TracePhase::~TracePhase() {
#ifdef ASSERT
if (PrintIdealNodeCount) {
tty->print_cr("phase name='%s' nodes='%d' live='%d' live_graph_walk='%d'",
_phase_name, _compile->unique(), _compile->live_nodes(), _compile->count_live_nodes_by_graph_walk());
}
```
I think it is a regression since
This is minor, would only manifest in debug builds, but would be good to fix anyway.
- relates to
-
JDK-8311976 Inconsistency in usage of CITimeVerbose to generate compilation logs
-
- Resolved
-