[External] : Re: Question about tearing and buffered primitive classes

Tobias Hartmann tobias.hartmann at oracle.com
Thu Apr 1 12:43:25 UTC 2021


On 01.04.21 09:54, Nick Gasson wrote:
> I'll make a PR for this shortly.  Do you think C2's Parse::do_exits()
> needs the same fix?  At the moment it only checks
> is_object_constructor_or_class_initializer().

I don't think that's required for C2 because we add a barrier whenever we buffer a primitive class.

> (Is there a reason C1 doesn't insert the barrier for class initialisers?)
That's a good question. I'm not sure but it's the same in mainline.

Best regards,
Tobias


More information about the valhalla-dev mailing list