Integrated: 8276314: [JVMCI] check alignment of call displacement during code installation

Doug Simon dnsimon at openjdk.java.net
Thu Nov 18 08:37:42 UTC 2021


On Tue, 2 Nov 2021 21:31:25 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

> This PR add verification of code alignment invariants related to x64 call instructions during code installation.
> This in turn allows a JVMCI compilation that generates a misaligned call to fail gracefully (i.e. bailout) instead of the VM crashing when it checks alignment before patching the displacement of a call instruction.

This pull request has now been integrated.

Changeset: 2f4b5405
Author:    Doug Simon <dnsimon at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/2f4b5405f0b53782f3ed5274f68b31eb968efb6d
Stats:     20 lines in 3 files changed: 9 ins; 3 del; 8 mod

8276314: [JVMCI] check alignment of call displacement during code installation

Reviewed-by: kvn

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

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


More information about the hotspot-compiler-dev mailing list