RFR(L): 8024070: C2 needs some form of type speculation

Vladimir Kozlov vladimir.kozlov at oracle.com
Mon Sep 16 14:59:46 PDT 2013


On 9/16/13 2:13 PM, Roland Westrelin wrote:
>> Nevermind that. You need it since it is control dependent (different branches can have different profiling types for the same object). Then why not use CheckCastPP with control edge?. CastPP is mostly used to cast NULLness.
>
> Sure I can use CheckCastPP. Does it really make a difference for this use case?

It is for consistency. We use CheckCastPP to cast to more precise type. 
And I think you need to set control edge to pin it to the place where 
you got profiling info.

Vladimir

>
> Roland.
>


More information about the hotspot-compiler-dev mailing list