301 st->print("'");
302 st->print(" count %d", refcount());
303 }
304 }
305
306 // The print_value functions are present in all builds, to support the
307 // disassembler and error reporting.
308 void Symbol::print_value_on(outputStream* st) const {
309 if (this == NULL) {
310 st->print("NULL");
311 } else {
312 st->print("'");
313 for (int i = 0; i < utf8_length(); i++) {
314 st->print("%c", byte_at(i));
315 }
316 st->print("'");
317 }
318 }
319
320 // SymbolTable prints this in its statistics
321 NOT_PRODUCT(int Symbol::_total_count = 0;)
|
301 st->print("'");
302 st->print(" count %d", refcount());
303 }
304 }
305
306 // The print_value functions are present in all builds, to support the
307 // disassembler and error reporting.
308 void Symbol::print_value_on(outputStream* st) const {
309 if (this == NULL) {
310 st->print("NULL");
311 } else {
312 st->print("'");
313 for (int i = 0; i < utf8_length(); i++) {
314 st->print("%c", byte_at(i));
315 }
316 st->print("'");
317 }
318 }
319
320 // SymbolTable prints this in its statistics
321 NOT_PRODUCT(size_t Symbol::_total_count = 0;)
|