RFR [XS] 8054492: Casting can result in redundant null checks in generated code
john.r.rose at oracle.com
Thu Oct 23 06:01:36 UTC 2014
On Oct 22, 2014, at 10:09 PM, Vladimir Kozlov <vladimir.kozlov at oracle.com> wrote:
> Intrinsic is not enough.
Would it be possible to give the new intrinsic wider coverage, to replace the logic in a majority of places it is used?
The logic in GraphKit::gen_checkcast is pretty sophisticated, and it's all there for a reason. What would stop us from using it more fully?
Some of the sophistication depends on profiling of the cast and aastore instructions, crucially with null, but perhaps we can cover that need with Roland's argument profiling work.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-compiler-dev