equal
deleted
inserted
replaced
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, ""); |