Help with JIT talk for tomorrow

Tom Rodriguez tom.rodriguez at oracle.com
Tue Oct 4 17:17:37 PDT 2011


On Oct 4, 2011, at 5:12 PM, Matt Fowles wrote:

> Tom~
> 
> On Tue, Oct 4, 2011 at 8:04 PM, Tom Rodriguez <tom.rodriguez at oracle.com> wrote:
> > First up... given this output from PrintCompilation, what do the "!"
> > and "n" and "%" mean?
> 
> ! means the method is synchronized, n means it's a native method wrapper compile, and % means it's an OSR compile.
> 
> Your answer and the website linked to disagree.  According to the website:
> 
> !    Method has exception handlers
> s    Method declared as synchronized
> 
> Can you verify which is correct just so we don't have misinformation running around?

Oops.  I think I'd trust the written one more than my memory and a quick look at the sources confirms that.

  const char compile_type   = is_osr_method                   ? '%' : ' ';
  const char sync_char      = is_synchronized                 ? 's' : ' ';
  const char exception_char = has_exception_handler           ? '!' : ' ';
  const char blocking_char  = is_blocking                     ? 'b' : ' ';
  const char native_char    = is_native                       ? 'n' : ' ';

Thanks for correcting me.  Personally I've never understood why we bothered to print anything besides n and %.

tom

> 
> Matt
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev



More information about the mlvm-dev mailing list