RFR: 8221542: ~15% performance degradation due to less optimized inline decision

Jie Fu fujie at loongson.cn
Fri Apr 12 02:27:46 UTC 2019


Hi Vladimir,

>> Fixed in 
>> http://cr.openjdk.java.net/~jiefu/monte_carlo-perf-drop/webrev.03/
>
> I like it. What do you think about the following version?
>
>   http://cr.openjdk.java.net/~vlivanov/jiefu/8221542/webrev.00/
It is more clearer and easier to understand.
I prefer your version.

One question: I'm not sure if the following condition still holds with 
parallel execution of the caller.
---------------------------------------------
if (caller_method->was_executed_more_than(1))  return false; // trust 
profile
---------------------------------------------

For example, assuming that the caller methods was executed concurrently 
by 12 threads, is it possible that 
caller_method->interpreter_invocation_count()=3 && profile.count()=0 && 
no exception thrown earlier?
Thanks a lot.

Best regards,
Jie



More information about the hotspot-compiler-dev mailing list