Lines Matching refs:st

70   bool      check_index(int i, int& cp_index, outputStream* st = tty);
71 void print_constant(int i, outputStream* st = tty);
72 void print_field_or_method(int i, outputStream* st = tty);
73 void print_field_or_method(int orig_i, int i, outputStream* st = tty);
74 void print_attributes(int bci, outputStream* st = tty);
75 void bytecode_epilog(int bci, outputStream* st = tty);
85 void trace(methodHandle method, address bcp, uintptr_t tos, uintptr_t tos2, outputStream* st) {
94 st->cr();
95 st->print("[%ld] ", (long) Thread::current()->osthread()->thread_id());
96 method->print_name(st);
97 st->cr();
109 st->print("[%ld] ", (long) Thread::current()->osthread()->thread_id());
111 st->print("%8d %4d " INTPTR_FORMAT " " INTPTR_FORMAT " %s",
114 st->print("%8d %4d %s",
127 void trace(methodHandle method, address bcp, outputStream* st) {
140 st->print("%d %s_w", bci, Bytecodes::name(code));
142 st->print("%d %s", bci, Bytecodes::name(code));
145 print_attributes(bci, st);
146 bytecode_epilog(bci, st);
167 void BytecodeTracer::trace(methodHandle method, address bcp, uintptr_t tos, uintptr_t tos2, outputStream* st) {
182 _closure->trace(method, bcp, tos, tos2, st);
186 void BytecodeTracer::trace(methodHandle method, address bcp, outputStream* st) {
188 _closure->trace(method, bcp, st);
191 void print_symbol(Symbol* sym, outputStream* st) {
195 st->print_cr(" %s...[%d]", sym->as_C_string(buf, sizeof(buf)), len);
197 st->print(" ");
198 sym->print_on(st); st->cr();
202 void print_oop(oop value, outputStream* st) {
204 st->print_cr(" NULL");
210 st->print_cr(" %s...[%d]", buf, len);
212 st->print_cr(" %s", buf);
215 st->print_cr(" " PTR_FORMAT, (intptr_t) value);
219 bool BytecodePrinter::check_index(int i, int& cp_index, outputStream* st) {
238 st->print(" secondary cache[%d] of", i);
241 st->print_cr(" not secondary entry?", i);
247 st->print_cr(" not in cache[*]?", i);
258 if (WizardMode) st->print(" cp[%d]", i);
263 st->print_cr(" CP[%d] not in CP", i);
273 st->print_cr(" CP[%d] missing bias?", i);
280 st->print_cr(" secondary entry?");
286 st->print_cr(" not in CP[*]?", i);
290 void BytecodePrinter::print_constant(int i, outputStream* st) {
292 if (!check_index(orig_i, i, st)) return;
298 st->print_cr(" " INT32_FORMAT, constants->int_at(i));
300 st->print_cr(" " INT64_FORMAT, constants->long_at(i));
302 st->print_cr(" %f", constants->float_at(i));
304 st->print_cr(" %f", constants->double_at(i));
307 print_oop(string, st);
310 st->print_cr(" %s", string);
312 st->print_cr(" %s", constants->resolved_klass_at(i)->klass_part()->external_name());
314 st->print_cr(" <unresolved klass at %d>", i);
316 st->print(" <Object>");
317 print_oop(constants->object_at(i), st);
320 st->print(" <MethodType> %d", i2);
321 print_symbol(constants->symbol_at(i2), st);
325 st->print(" <MethodHandle of kind %d>", kind, i2);
326 print_field_or_method(-i, i2, st);
328 st->print_cr(" bad tag=%d at %d", tag.value(), i);
332 void BytecodePrinter::print_field_or_method(int i, outputStream* st) {
334 if (!check_index(orig_i, i, st)) return;
335 print_field_or_method(orig_i, i, st);
338 void BytecodePrinter::print_field_or_method(int orig_i, int i, outputStream* st) {
354 st->print_cr(" bad tag=%d at %d", tag.value(), i);
363 st->print_cr(" %d <%s.%s%s%s> ", i, klass->as_C_string(), name->as_C_string(), sep, signature->as_C_string());
367 st->print(" bsm=%d", bsm);
369 st->print_cr(" %d <%s%s%s>", i, name->as_C_string(), sep, signature->as_C_string());
374 void BytecodePrinter::print_attributes(int bci, outputStream* st) {
381 st->cr();
388 st->print_cr(" " INT32_FORMAT, get_byte());
391 st->print_cr(" " INT32_FORMAT, get_short());
395 print_constant(get_index_u1_cpcache(), st);
397 print_constant(get_index_u1(), st);
404 print_constant(get_index_u2_cpcache(), st);
406 print_constant(get_index_u2(), st);
420 st->print_cr(" #%d", get_index_special());
426 st->print_cr(" #%d " INT32_FORMAT, index, offset);
436 st->print_cr(" %s", str);
443 st->print_cr(" %s ", name->as_C_string());
451 st->print_cr(" %s %d", name->as_C_string(), nof_dims);
473 st->print_cr(" %d", bci + get_short());
478 st->print_cr(" %d", bci + get_int());
481 case Bytecodes::_ret: st->print_cr(" %d", get_index_special()); break;
493 st->print(" %d " INT32_FORMAT " " INT32_FORMAT " ",
500 st->print(format, ll, dest[idx], dest[idx]-bci);
502 st->cr();
515 st->print(" %d %d ", default_dest, len);
520 st->print(format, key[ll], dest[ll]);
522 st->cr();
530 print_field_or_method(get_index_u2_cpcache(), st);
536 print_field_or_method(get_index_u2_cpcache(), st);
543 print_field_or_method(i, st);
548 print_field_or_method(get_index_u4(), st);
557 st->print_cr(" %d <%s>", i, name->as_C_string());
572 void BytecodePrinter::bytecode_epilog(int bci, outputStream* st) {
577 st->print(" %d", mdo->dp_to_di(data->dp()));
578 st->fill_to(6);
579 data->print_data_on(st);