You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* private native long invokeNative(Object returnStateMemBase, Object[] bases, long[] offsets, boolean isInCriticalDownCall, long returnStateMemAddr, long returnStructMemAddr, long functionAddr, long calloutThunk, long[] argValues);
* private native long invokeNative(Object[] bases, long[] offsets, boolean isInCriticalDownCall, long returnStateMemAddr, long returnStructMemAddr, long functionAddr, long calloutThunk, long[] argValues);
5191
5195
*/
@@ -5227,7 +5231,13 @@ class INTERPRETER_CLASS
5227
5231
U_64 *ffiArgs = _currentThread->ffiArgs;
5228
5232
U_64 sFfiArgs[16];
5229
5233
#if JAVA_SPEC_VERSION >= 22
5234
+
#if JAVA_SPEC_VERSION >= 24
5235
+
UDATA argSlots = 14;
5236
+
UDATA returnStateMemAddr;
5237
+
j9object_t returnStateMemBase = NULL;
5238
+
#else /* JAVA_SPEC_VERSION >= 24 */
5230
5239
UDATA argSlots = 13;
5240
+
#endif /* JAVA_SPEC_VERSION >= 24 */
5231
5241
I_32 *returnState = NULL;
5232
5242
UDATA curPtrArgIdx = 0;
5233
5243
j9object_t heapBase = NULL;
@@ -5258,9 +5268,19 @@ class INTERPRETER_CLASS
5258
5268
5259
5269
#if JAVA_SPEC_VERSION >= 21
5260
5270
/* The native memory is allocated at java level to save the execution state after performing the downcall. */
0 commit comments