On Fri, 20 Oct 2023 07:55:45 GMT, Jorn Vernee <jver...@openjdk.org> wrote:
> Why is 84 the maximum? That would result in 170 Java parameters at most, > which is well within the 255 limit imposed by the VM spec. Ah, right, longs take up 2 slots. So, we get 84*3 = 252 + 4 (target address & return buffer) + 2 receiver method handle + NativeEntryPoint, which gives 258. Ok, I'll find out what the limit is and use that ------------- PR Comment: https://git.openjdk.org/jdk/pull/16201#issuecomment-1772264403