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

Vladimir Kozlov kvn at openjdk.java.net
Wed Nov 3 22:09:16 UTC 2021


On Wed, 3 Nov 2021 21:31:40 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.
>
> Doug Simon has updated the pull request incrementally with one additional commit since the last revision:
> 
>   consolidated verify_aligned with is_displacement_aligned
>   enhanced error message for invalid _next_call_type value
>   removed os::is_MP test

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

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


More information about the hotspot-compiler-dev mailing list