RFR: 8271600: C2: CheckCastPP which should closely follow Allocate is sunk of a loop [v2]
Roland Westrelin
roland at openjdk.java.net
Mon Aug 23 14:27:31 UTC 2021
On Mon, 23 Aug 2021 13:18:48 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:
> Ok, I'm fine with limiting the fix for raw-to-oop casts only.
Thanks for making the change.
> > The change you propose would then prevent sinking out of the outer loop.
>
> I thought that the code at [loopopts.cpp#L1481](https://github.com/openjdk/jdk/blob/master/src/hotspot/share/opto/loopopts.cpp#L1481) would handle it. Anyway.
Right. Sinking out of the outer loop wouldn't be prevented.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5199
More information about the hotspot-compiler-dev
mailing list