Mercurial > hg > graal-jvmci-8
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/compiler/disassembler.cpp Tue Apr 15 02:26:53 2014 +0200 +++ b/src/share/vm/compiler/disassembler.cpp Mon Apr 14 15:05:52 2014 -0700 @@ -522,7 +522,7 @@ nm->method()->method_holder()->name()->print_symbol_on(env.output()); env.output()->print("."); nm->method()->name()->print_symbol_on(env.output()); - env.output()->print_cr(" [" PTR_FORMAT ", " PTR_FORMAT "] %d bytes", p, end, ((jlong)(end - p)) * sizeof(unsigned char*)); + env.output()->print_cr(" [" PTR_FORMAT ", " PTR_FORMAT "] %d bytes", p, end, ((jlong)(end - p))); // If there has been profiling, print the buckets. if (FlatProfiler::bucket_start_for(p) != NULL) {