Integrated: 8357267: ZGC: Handle APX EGPRs spilling in ZRuntimeCallSpill

Jatin Bhateja jbhateja at openjdk.org
Tue May 27 08:31:57 UTC 2025


On Wed, 21 May 2025 12:33:26 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

> Patch spills APX EGPRs across runtime calls to slow-path barriers using PUSH2P/POP2 instructions with PPX hints.
> These instructions operate over a pair of registers resulting into an smaller save/restoration JIT code, on the hind side they have hard alignment and balancing constraints, as they operate over 16-byte aligned stack address.
> ZRuntimeCallSpill is agnostic to live register, thus resulting SPILL sequence should not modify the contents of the register.
> 
> Patch has been verified using Intel SDE all test under test/hotspot/jtreg/compiler/gcbarriers are green.
> 
> Kindly review and share your feedback.
> 
> Best Regards,
> Jatin

This pull request has now been integrated.

Changeset: 5924c2d6
Author:    Jatin Bhateja <jbhateja at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/5924c2d6c7f636b428bc7f43abe2115af4532358
Stats:     78 lines in 1 file changed: 55 ins; 0 del; 23 mod

8357267: ZGC: Handle APX EGPRs spilling in ZRuntimeCallSpill

Reviewed-by: rcastanedalo, sviswanathan

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

PR: https://git.openjdk.org/jdk/pull/25351


More information about the hotspot-dev mailing list