src/share/vm/compiler/disassembler.cpp

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

mercurial