hotspot/src/share/vm/gc/g1/g1AllocRegion.cpp
changeset 31592 43f48e165466
parent 30764 fec48bf5a827
child 32185 49a57ff2c3cb
equal deleted inserted replaced
31401:1514c0a798d2 31592:43f48e165466
   138   }
   138   }
   139   ShouldNotReachHere();
   139   ShouldNotReachHere();
   140 }
   140 }
   141 
   141 
   142 void G1AllocRegion::fill_in_ext_msg(ar_ext_msg* msg, const char* message) {
   142 void G1AllocRegion::fill_in_ext_msg(ar_ext_msg* msg, const char* message) {
   143   msg->append("[%s] %s c: %u b: %s r: "PTR_FORMAT" u: "SIZE_FORMAT,
   143   msg->append("[%s] %s c: %u b: %s r: " PTR_FORMAT " u: " SIZE_FORMAT,
   144               _name, message, _count, BOOL_TO_STR(_bot_updates),
   144               _name, message, _count, BOOL_TO_STR(_bot_updates),
   145               p2i(_alloc_region), _used_bytes_before);
   145               p2i(_alloc_region), _used_bytes_before);
   146 }
   146 }
   147 
   147 
   148 void G1AllocRegion::init() {
   148 void G1AllocRegion::init() {
   215                    HR_FORMAT, HR_FORMAT_PARAMS(alloc_region));
   215                    HR_FORMAT, HR_FORMAT_PARAMS(alloc_region));
   216     }
   216     }
   217 
   217 
   218     if (G1_ALLOC_REGION_TRACING > 1) {
   218     if (G1_ALLOC_REGION_TRACING > 1) {
   219       if (result != NULL) {
   219       if (result != NULL) {
   220         jio_snprintf(rest_buffer, buffer_length, SIZE_FORMAT" "PTR_FORMAT,
   220         jio_snprintf(rest_buffer, buffer_length, SIZE_FORMAT " " PTR_FORMAT,
   221                      word_size, result);
   221                      word_size, result);
   222       } else if (word_size != 0) {
   222       } else if (word_size != 0) {
   223         jio_snprintf(rest_buffer, buffer_length, SIZE_FORMAT, word_size);
   223         jio_snprintf(rest_buffer, buffer_length, SIZE_FORMAT, word_size);
   224       } else {
   224       } else {
   225         jio_snprintf(rest_buffer, buffer_length, "");
   225         jio_snprintf(rest_buffer, buffer_length, "");