8153396: Remove unused ResourceMarks from UL internal vm tests
authorrehn
Tue, 05 Apr 2016 10:42:01 +0200
changeset 37256 568ff1f6631c
parent 37255 100d4a515df0
child 37257 8707ab133d7b
8153396: Remove unused ResourceMarks from UL internal vm tests Reviewed-by: stefank, brutisso
hotspot/src/share/vm/logging/log.cpp
--- a/hotspot/src/share/vm/logging/log.cpp	Tue Apr 05 10:41:52 2016 +0200
+++ b/hotspot/src/share/vm/logging/log.cpp	Tue Apr 05 10:42:01 2016 +0200
@@ -104,7 +104,6 @@
 };
 
 void Test_configure_stdout() {
-  ResourceMark rm;
   LogOutput* stdoutput = LogOutput::Stdout;
   TestLogSavedConfig tlsc;
 
@@ -169,7 +168,6 @@
 }
 
 void Test_log_prefix() {
-  ResourceMark rm;
   TestLogFile log_file("log_prefix");
   TestLogSavedConfig log_cfg(log_file.name(), "logging+test=trace");
 
@@ -188,7 +186,6 @@
   char big_msg[4096] = {0};
   char Xchar = '~';
 
-  ResourceMark rm;
   TestLogFile log_file("log_big");
   TestLogSavedConfig log_cfg(log_file.name(), "logging+test=trace");