RFR: 8304986: Upcall stubs should support capureCallState

Jorn Vernee jvernee at openjdk.org
Mon Apr 24 06:55:51 UTC 2023


Implement captureCallState support for upcall stubs.

The method handle of an upcall stub linked with this linker option has an additional leading memory segment parameter into which the capture state (e.g. errno) should be written. After returning from Java, this value is then actually written to the corresponding execution state.

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

Depends on: https://git.openjdk.org/jdk/pull/13079

Commit messages:
 - Use orElseGet
 - remove redundant variable
 - update stubs
 - polish naming and comments
 - Fix aarch64 impl
 - simplify names
 - update linker doc
 - implement upcall ccs in fallback linker
 - working upcall CCS
 - refactor TestCaptureCallState
 - ... and 1 more: https://git.openjdk.org/jdk/compare/91f43d13...96f3d1f3

Changes: https://git.openjdk.org/jdk/pull/13588/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13588&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8304986
  Stats: 523 lines in 36 files changed: 331 ins; 23 del; 169 mod
  Patch: https://git.openjdk.org/jdk/pull/13588.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13588/head:pull/13588

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



More information about the build-dev mailing list