Lost perf between 8u40 and 9 hs-comp

John Rose john.r.rose at oracle.com
Tue Mar 3 19:50:03 UTC 2015


On Mar 3, 2015, at 8:23 AM, Vladimir Ivanov <vladimir.x.ivanov at oracle.com> wrote:
> 
>> Suggestion:  Instead of have the intrinsic expand to nothing, have it expand to an uncommon trap (on the slow path), with the uncommon trap doing the profile update operation (as currently coded).
> Right now, VM doesn't care about profiling logic at all. The intrinsic is used only to inject profile data and all profiling happens in Java code. Once MHI.profileBoolean is intrinsified (profile is injected), no profiling actions are performed.

What I'm thinking is that an uncommon trap could re-run the interpreter definition of MHI.profileBoolean using Action_reinterpret.
That would update the state, wouldn't it?  Then the compiler would recompile (after a little time) and see the updated state.

— John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20150303/8f965be8/attachment.html>


More information about the mlvm-dev mailing list