RFR: 8318072: DonwcallLinker does not acquire/release segments in interpreter

Jorn Vernee jvernee at openjdk.org
Fri Oct 13 09:00:49 UTC 2023


Implement missing by-reference argument acquire/release functionality in DowncallLinker::invokeInterpBindings.

I've also simplified the related code a bit:
- `retIndexMap` was not used. I've removed it
- `BindingInterpreter.StoreFunc::store`'s type argument was not used. Removed
- UpcallLinker was redundantly collecting the move bindings for return values. Removed

I've added runs without specialization to the failing tests as well, so that we keep testing this.

Testing: `jdk_foreign` suite.

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

Commit messages:
 - minimize diff
 - implement missing acquire/release in interpreter

Changes: https://git.openjdk.org/jdk/pull/16177/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16177&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8318072
  Stats: 64 lines in 6 files changed: 44 ins; 7 del; 13 mod
  Patch: https://git.openjdk.org/jdk/pull/16177.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16177/head:pull/16177

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


More information about the core-libs-dev mailing list