RFR: 8304986: Upcall stubs should support capureCallState
Jorn Vernee
jvernee at openjdk.org
Mon Apr 24 13:20:05 UTC 2023
On Fri, 21 Apr 2023 18:25:32 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
> 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.
There is a longer string to pull here: someone might want to receive the capture state as input to an upcall, or conversely, pass the capture state to a downcall.
Right now this seems to be not really needed, so will revisit later
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13588#issuecomment-1520143832
More information about the core-libs-dev
mailing list