RFR: 8309543: Micro-optimize x86 assembler UseCondCardMark

Aleksey Shipilev shade at openjdk.org
Tue Jun 6 15:30:55 UTC 2023


On Tue, 6 Jun 2023 15:14:20 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> Looks good. I side note: I wonder if it makes any sense to use conditional card marking in the interpreter. I don't think it's fast enough to cause trouble in the processor's memory subsystem by executing oop accesses. Maybe shorter code, less complexity and fewer branches would be a better choice for the interpreter?

We actually went for conditional card marks in interpreter in https://bugs.openjdk.org/browse/JDK-8078438, because we wanted to avoid interaction with the warm code :)

-------------

PR Comment: https://git.openjdk.org/jdk/pull/14335#issuecomment-1578985608


More information about the hotspot-dev mailing list