8202377: Modularize C2 GC barriers
erik.osterlund at oracle.com
Thu May 17 13:48:45 UTC 2018
Thank you for having a look at these changes.
On 2018-05-17 14:58, Roland Westrelin wrote:
> Hi Erik,
> Overall, this looks good to me.
> I suppose:
> are there for ZGC and they don't feel generic enough to me to be
> included in this API. That is if I were to add another GC or let say
> change the G1 implementation so it's better suited for optimizations, I
> think it's quite unlikely I would reuse either hook. It would be better
> to remove them in my opinion.
Yes they are indeed hooks used only by ZGC at the moment, and I agree
they might be an over-generalization at the moment. I am okay with
removing those hooks now, and then we see what we might have in common
with Shenandoah later when we have integrated them both.
Again, thanks a lot for looking at these changes.
More information about the hotspot-compiler-dev