[foreign-memaccess+abi] RFR: 8276647: Remove C2 trivial call intrinsification support [v2]

Jorn Vernee jvernee at openjdk.java.net
Thu Jan 20 13:36:41 UTC 2022


> 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

Jorn Vernee has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains seven commits:

 - Merge branch 'foreign-memaccess+abi' into Remove_Trivial
 - Remove spurious includes
 - Remove WeakReferenceCache for now
 - Rebase fixes
 - Remove more isTrivial, add WeakReferenceCache to NativeEntryPoint
 - Remove ciNativeEntryPoint
 - Remove C2 support for trivial native calls

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

Changes: https://git.openjdk.java.net/panama-foreign/pull/609/files
 Webrev: https://webrevs.openjdk.java.net/?repo=panama-foreign&pr=609&range=01
  Stats: 762 lines in 48 files changed: 7 ins; 723 del; 32 mod
  Patch: https://git.openjdk.java.net/panama-foreign/pull/609.diff
  Fetch: git fetch https://git.openjdk.java.net/panama-foreign pull/609/head:pull/609

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


More information about the panama-dev mailing list