+PrintInlining falsly? says: never executed

Ulf Zibis Ulf.Zibis at gmx.de
Mon Dec 7 04:30:51 PST 2009

Christian Thalinger schrieb:
> On Fri, 2009-12-04 at 19:57 +0100, Ulf Zibis wrote:
>> I guess, I now understand.
>>     sun.nio.cs.ext.EUC_TW_C_d_b_codeToBuffer4$Decoder::decode  never 
>> executed
>> says, that the method was not executed *before* the compilation. 
>> Wondering why HotSpot compiles a method, which was not executed.
>> So a question remains:
>> How can I surely find out, that a method was inlined?
>> I guess, "too big" means, that the method was *not* inlined.
>> Does "never executed" mean, that it was surely inlined?
> Everything except "inline (hot)" means it didn't get inlined.

That is what I thought from beginning.
So my question remains:
If I run my code with default values, method decode in not inlined 
because of inline size threshold.
If I set MaxInlineSize=250, it should be inlined, because it has only 
189 bytes.
My code runs a loop 10 * 25 on a 65536 byte array, so the decode method 
is executed 8,192,000 times.
Why it is not inlined then ???

>> Other questions:
>> What does "call site not reached" mean?
> This call site was never executed before.

OK, my question more exactly is, what is a call site?

>> What does "Inlining intrinsic" mean?
> That an intrinsic (http://en.wikipedia.org/wiki/Intrinsic_function) for
> this call site was inlined.



More information about the hotspot-compiler-dev mailing list