RFR(S): 8005079: fix LogCompilation for incremental inlining

Christian Thalinger christian.thalinger at oracle.com
Wed Mar 19 21:38:01 UTC 2014


src/share/vm/opto/callGenerator.cpp:

+       C->log()->elem("inline_id id='%lld'", (jlong)this);

%lld will most likely produce compiler warnings.  You should use INT64_FORMAT or JLONG_FORMAT.

On Mar 18, 2014, at 11:56 AM, Roland Westrelin <roland.westrelin at oracle.com> wrote:

> This fixes the LogCompilation tool when incremental inlining happens. It required some extra data in the log file. I also changed the way the class names are reported in the log output so it uses the same as PrintInlining. It’s especially useful for lambda form:
> 
> java.lang.invoke.LambdaForm$MH/1282811396
> 
> rather than
> 
> java/lang/invoke/LambdaForm$MH
> 
> (which makes it hard to know what LF this is)
> 
> http://cr.openjdk.java.net/~roland/8005079/webrev.00/
> 
> Roland.



More information about the hotspot-compiler-dev mailing list