Skip to content

Commit

Permalink
Reduce available slots to match the upper limit supported by OpenJ9
Browse files Browse the repository at this point in the history
Related: eclipse-openj9/openj9#20355

Signed-off-by: Babneet Singh <[email protected]>
  • Loading branch information
babsingh committed Jan 7, 2025
1 parent 35b298c commit 067c023
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions test/jdk/java/foreign/largestub/TestLargeStub.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
* questions.
*/

/*
* ===========================================================================
* (c) Copyright IBM Corp. 2025, 2025 All Rights Reserved
* ===========================================================================
*/

/*
* @test
* @library ../
Expand All @@ -47,8 +53,8 @@

public class TestLargeStub extends NativeTestHelper {

private static final int DOWNCALL_AVAILABLE_SLOTS = 248;
private static final int UPCALL_AVAILABLE_SLOTS = 250;
private static final int DOWNCALL_AVAILABLE_SLOTS = 125;
private static final int UPCALL_AVAILABLE_SLOTS = 125;

MemoryLayout STRUCT_LL = MemoryLayout.structLayout(
C_LONG_LONG,
Expand Down

0 comments on commit 067c023

Please sign in to comment.