src/share/vm/compiler/disassembler.cpp

changeset 2356
4de5f4101cfd
parent 2322
828eafbd85cc
parent 2350
2f644f85485d
child 2508
b92c45f2bc75
equal deleted inserted replaced
2332:401fbd7ff77c 2356:4de5f4101cfd
464 total_bucket_count += FlatProfiler::bucket_count_for(p0); 464 total_bucket_count += FlatProfiler::bucket_count_for(p0);
465 } 465 }
466 env.set_total_ticks(total_bucket_count); 466 env.set_total_ticks(total_bucket_count);
467 } 467 }
468 468
469 // Print constant table.
470 if (nm->consts_size() > 0) {
471 nm->print_nmethod_labels(env.output(), nm->consts_begin());
472 int offset = 0;
473 for (address p = nm->consts_begin(); p < nm->consts_end(); p += 4, offset += 4) {
474 if ((offset % 8) == 0) {
475 env.output()->print_cr(" " INTPTR_FORMAT " (offset: %4d): " PTR32_FORMAT " " PTR64_FORMAT, (intptr_t) p, offset, *((int32_t*) p), *((int64_t*) p));
476 } else {
477 env.output()->print_cr(" " INTPTR_FORMAT " (offset: %4d): " PTR32_FORMAT, (intptr_t) p, offset, *((int32_t*) p));
478 }
479 }
480 }
481
469 env.decode_instructions(p, end); 482 env.decode_instructions(p, end);
470 } 483 }

mercurial