RFR: 8325821: [REDO] use "dmb.ishst+dmb.ishld" for release barrier [v7]
kuaiwei
duke at openjdk.org
Wed Apr 17 02:12:01 UTC 2024
On Tue, 16 Apr 2024 14:06:14 GMT, Andrew Haley <aph at openjdk.org> wrote:
> Argh, I found it. It happens because C2 calls `masm->offset()` from `PhaseOutput::fill_buffer()` after every node is emitted. So that trick isn't going to work.
>
> It was worth a try, but given that C2 expects offset() to be correct after every node, I think we're stuck. Maybe the last idea you had is the best possible without C2 tinkering.
got it. I will check if we can make offset() work with fill_buffer. Or I will rollback the change of offset().
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18467#issuecomment-2060210278
More information about the hotspot-dev
mailing list