JIT: C2 doesn't skip post barrier for new allocated objects

Andrew Haley aph at redhat.com
Wed Sep 12 14:36:40 UTC 2018


On 09/10/2018 09:39 AM, Kuai Wei wrote:
>   Recently I checked the optimization of reducing G1 post barrier for new allocated object. But I found it doesn't work as expected.
> I wrote a simple test case to store oop in initialize function or just after init function .

I believe you are correct. We need a bug report created for this.

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the hotspot-compiler-dev mailing list