diff --git a/src/hotspot/share/gc/g1/g1GCPhaseTimes.cpp b/src/hotspot/share/gc/g1/g1GCPhaseTimes.cpp index 5fc8b54df0d..da61e74e84f 100644 --- a/src/hotspot/share/gc/g1/g1GCPhaseTimes.cpp +++ b/src/hotspot/share/gc/g1/g1GCPhaseTimes.cpp @@ -356,7 +356,6 @@ void G1GCPhaseTimes::log_phase(WorkerDataArray* phase, uint indent_level void G1GCPhaseTimes::debug_phase(WorkerDataArray* phase, uint extra_indent) const { LogTarget(Debug, gc, phases) lt; if (lt.is_enabled()) { - ResourceMark rm; LogStream ls(lt); log_phase(phase, 2 + extra_indent, &ls, true); }