RFR: 8230486: G1BarrierSetAssembler::g1_write_barrier_post unnecessarily pushes/pops new_val in x86 code

Kim Barrett kbarrett at openjdk.java.net
Mon May 17 18:24:47 UTC 2021


On Mon, 17 May 2021 13:25:25 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Removes the unnecessary push/pop instruction.
> 
> Test: hotspot_gc

aarch64 looks like it has the same problem.  I think other platforms don't.

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

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


More information about the hotspot-dev mailing list