RFR: 8267625: AARCH64: typo in LIR_Assembler::emit_profile_type

Dean Long dlong at openjdk.java.net
Tue Jul 6 21:40:49 UTC 2021


On Tue, 6 Jul 2021 09:08:31 GMT, Nick Gasson <ngasson at openjdk.org> wrote:

> This code is generated when C1 is profiling types but it is known statically that there should only be one possible class at this point. It's supposed to then store the klass pointer into the method data when the expected class is actually observed but currently it does a load instead of a store.
> 
> I've attached a simple example to the JBS entry that shows the correct method data after changing LDR to STR. Also tested tier1 on AArch64.

Marked as reviewed by dlong (Reviewer).

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

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


More information about the hotspot-compiler-dev mailing list