On Fri, 21 Apr 2023 18:25:32 GMT, Jorn Vernee <jver...@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

Reply via email to