hotspot/src/share/vm/asm/codeBuffer.cpp
changeset 24002 4e6a72032a99
parent 22234 da823d78ad65
child 24424 2658d7834c6e
--- a/hotspot/src/share/vm/asm/codeBuffer.cpp	Thu Apr 10 09:26:24 2014 +0200
+++ b/hotspot/src/share/vm/asm/codeBuffer.cpp	Thu Apr 10 11:38:12 2014 +0200
@@ -968,6 +968,7 @@
 
 void CodeBuffer::log_section_sizes(const char* name) {
   if (xtty != NULL) {
+    ttyLocker ttyl;
     // log info about buffer usage
     xtty->print_cr("<blob name='%s' size='%d'>", name, _total_size);
     for (int n = (int) CodeBuffer::SECT_FIRST; n < (int) CodeBuffer::SECT_LIMIT; n++) {