comparison src/share/vm/compiler/disassembler.cpp @ 15099:0fab2ac29847

correct size in printed in message
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Mon, 14 Apr 2014 15:05:52 -0700
parents 4ca6dc0799b6
children b1911c1e44c8
comparison
equal deleted inserted replaced
15098:1a8cf0cf7baa 15099:0fab2ac29847
520 #endif // SHARK 520 #endif // SHARK
521 521
522 nm->method()->method_holder()->name()->print_symbol_on(env.output()); 522 nm->method()->method_holder()->name()->print_symbol_on(env.output());
523 env.output()->print("."); 523 env.output()->print(".");
524 nm->method()->name()->print_symbol_on(env.output()); 524 nm->method()->name()->print_symbol_on(env.output());
525 env.output()->print_cr(" [" PTR_FORMAT ", " PTR_FORMAT "] %d bytes", p, end, ((jlong)(end - p)) * sizeof(unsigned char*)); 525 env.output()->print_cr(" [" PTR_FORMAT ", " PTR_FORMAT "] %d bytes", p, end, ((jlong)(end - p)));
526 526
527 // If there has been profiling, print the buckets. 527 // If there has been profiling, print the buckets.
528 if (FlatProfiler::bucket_start_for(p) != NULL) { 528 if (FlatProfiler::bucket_start_for(p) != NULL) {
529 unsigned char* p1 = p; 529 unsigned char* p1 = p;
530 int total_bucket_count = 0; 530 int total_bucket_count = 0;