[master] RFR: Remaining changes to load_[n]klass implementation in x86 assembly

Aleksey Shipilev shade at openjdk.java.net
Fri Feb 4 09:02:39 UTC 2022


On Tue, 14 Dec 2021 11:37:22 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

> This change addresses some remaining problems in the x86 implementation of load_klass:
>  - Split load_klass() and load_nklass()
>  - Fix arraycopy stubs to use load_nklass() instead of direct access of the Klass* field
>  - Use call stub for the slowpath runtime call (that reduces generated code size)
>  - Save/restore FPU registers around runtime call
> 
> Testing:
>  - [x] tier1 (x86_64, x86_32)
>  - [ ] tier2
>  - [ ] tier3

Looks fine to me.

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

Marked as reviewed by shade (Committer).

PR: https://git.openjdk.java.net/lilliput/pull/31


More information about the lilliput-dev mailing list