RFR: 8287433: [PPC64] g1_write_barrier_pre needs extension for Loom

Richard Reingruber rrich at openjdk.java.net
Mon May 30 08:05:46 UTC 2022


On Fri, 27 May 2022 11:10:28 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> Loom uses `c2i_entry_barrier` which needs to preserve more registers than currently implemented in `g1_write_barrier_pre`. See JBS for details.

Hi Martin,

this looks good, thanks!
I've applied the change on the [ppc loom port (WIP)](https://github.com/reinrich/loom/tree/ppc_port_with_8287433). My [BasicExp](https://github.com/reinrich/loom/blob/a3eb91a6198d8f05e61663723051f0611df55f1c/test/jdk/jdk/internal/vm/Continuation/BasicExp.java) tests work now with g1.

Cheers, Richard.

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

Marked as reviewed by rrich (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/8918


More information about the hotspot-dev mailing list