On Fri, 20 Oct 2023 07:59:25 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) + receiver method handle + NativeEntryPoint, which gives 258. > Ok, I'll find out what the limit is and use that. > > P.S. it's 83 Thanks! I should have mentioned that 84 is the limit for linux PPC64le. 83 should work for all platforms. ------------- PR Comment: https://git.openjdk.org/jdk/pull/16201#issuecomment-1772321142