Does G1's C1 barrier implementation always call the runtime write barrier function?

William Kemper doohick at gmail.com
Wed Mar 20 15:40:06 UTC 2019


I've been comparing the JIT assembly emitted by C1 and C2 and have come to
believe that the code emitted by C1 always calls the runtime stub for the
write barrier. Is there a reason for this? It seems the interpreter's
assembler and C2 both emit assembly instructions for the write barrier, but
C1 doesn't? have I missed something? I'm looking at OpenJDK 11.0.2.

Thanks,
William
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20190320/3d3399a5/attachment.htm>


More information about the hotspot-gc-dev mailing list