8230830: No required ResourceMark in src/hotspot/share/prims/jvmtiImpl.cpp:JvmtiSuspendControl::print()
Reviewed-by: dholmes, cjplummer, sspitsyn
--- a/src/hotspot/share/prims/jvmtiImpl.cpp Wed Sep 11 23:10:14 2019 +0000
+++ b/src/hotspot/share/prims/jvmtiImpl.cpp Wed Sep 11 16:25:12 2019 -0700
@@ -881,6 +881,7 @@
void JvmtiSuspendControl::print() {
#ifndef PRODUCT
+ ResourceMark rm;
LogStreamHandle(Trace, jvmti) log_stream;
log_stream.print("Suspended Threads: [");
for (JavaThreadIteratorWithHandle jtiwh; JavaThread *thread = jtiwh.next(); ) {