Skip to content

Commit 7fb14ca

Browse files
authored
Merge pull request ibmruntimes#912 from babsingh/main1
Reduce available slots to match the upper limit supported by OpenJ9
2 parents 66684f4 + 067c023 commit 7fb14ca

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

test/jdk/java/foreign/largestub/TestLargeStub.java

+8-2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@
2121
* questions.
2222
*/
2323

24+
/*
25+
* ===========================================================================
26+
* (c) Copyright IBM Corp. 2025, 2025 All Rights Reserved
27+
* ===========================================================================
28+
*/
29+
2430
/*
2531
* @test
2632
* @library ../
@@ -47,8 +53,8 @@
4753

4854
public class TestLargeStub extends NativeTestHelper {
4955

50-
private static final int DOWNCALL_AVAILABLE_SLOTS = 248;
51-
private static final int UPCALL_AVAILABLE_SLOTS = 250;
56+
private static final int DOWNCALL_AVAILABLE_SLOTS = 125;
57+
private static final int UPCALL_AVAILABLE_SLOTS = 125;
5258

5359
MemoryLayout STRUCT_LL = MemoryLayout.structLayout(
5460
C_LONG_LONG,

0 commit comments

Comments
 (0)