hotspot/src/share/vm/utilities/ostream.hpp
changeset 18928 ac0163dd0a50
parent 17121 e40a97c700d9
child 19968 64f9d23af647
--- a/hotspot/src/share/vm/utilities/ostream.hpp	Tue Jul 09 22:48:52 2013 +0200
+++ b/hotspot/src/share/vm/utilities/ostream.hpp	Wed Jul 10 15:49:15 2013 +0000
@@ -28,6 +28,8 @@
 #include "memory/allocation.hpp"
 #include "runtime/timer.hpp"
 
+DEBUG_ONLY(class ResourceMark;)
+
 // Output streams for printing
 //
 // Printing guidelines:
@@ -177,6 +179,7 @@
   size_t buffer_pos;
   size_t buffer_length;
   bool   buffer_fixed;
+  DEBUG_ONLY(ResourceMark* rm;)
  public:
   stringStream(size_t initial_bufsize = 256);
   stringStream(char* fixed_buffer, size_t fixed_buffer_size);