hotspot/src/share/vm/asm/codeBuffer.cpp
changeset 24002 4e6a72032a99
parent 22234 da823d78ad65
child 24424 2658d7834c6e
equal deleted inserted replaced
24001:d0eea05381dd 24002:4e6a72032a99
   966   }
   966   }
   967 }
   967 }
   968 
   968 
   969 void CodeBuffer::log_section_sizes(const char* name) {
   969 void CodeBuffer::log_section_sizes(const char* name) {
   970   if (xtty != NULL) {
   970   if (xtty != NULL) {
       
   971     ttyLocker ttyl;
   971     // log info about buffer usage
   972     // log info about buffer usage
   972     xtty->print_cr("<blob name='%s' size='%d'>", name, _total_size);
   973     xtty->print_cr("<blob name='%s' size='%d'>", name, _total_size);
   973     for (int n = (int) CodeBuffer::SECT_FIRST; n < (int) CodeBuffer::SECT_LIMIT; n++) {
   974     for (int n = (int) CodeBuffer::SECT_FIRST; n < (int) CodeBuffer::SECT_LIMIT; n++) {
   974       CodeSection* sect = code_section(n);
   975       CodeSection* sect = code_section(n);
   975       if (!sect->is_allocated() || sect->is_empty())  continue;
   976       if (!sect->is_allocated() || sect->is_empty())  continue;