[foreign-preview] Integrated: 8276647: Remove C2 trivial call intrinsification support

Jorn Vernee jvernee at openjdk.java.net
Mon Jan 31 15:34:24 UTC 2022


On Thu, 4 Nov 2021 15:53:44 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> Hi,
> 
> This patch removes the C2 support for trivial call intrinsification, which is currently unused. (see also the JBS issue for a brief discussion).
> 
> Besides all the code that is removed by this patch, there is one 'logical' change as well: currently we are encoding `VMStorage[]` as `long[]` in `NativeEntryPoint::make`, but this is no longer needed, and I now can pass the `VMStorage[]` to native code directly. This allows removing the `vmstorage_to_vmreg` & `vmStorageToVMReg` function pair. `parse_vmstorage` is used in the native code instead. (see the code changes in NativeEntryPoint.java & nativeEntryPoint.cpp).
> 
> Thanks,
> Jorn

This pull request has now been integrated.

Changeset: 78ecbdbc
Author:    Jorn Vernee <jvernee at openjdk.org>
URL:       https://git.openjdk.java.net/panama-foreign/commit/78ecbdbcf7f7d67dfb8f7f35f8b9cc4cc3e30be6
Stats:     739 lines in 48 files changed: 7 ins; 700 del; 32 mod

8276647: Remove C2 trivial call intrinsification support

Reviewed-by: mcimadamore

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

PR: https://git.openjdk.java.net/panama-foreign/pull/609


More information about the panama-dev mailing list