Skip to content

Commit

Permalink
Merge pull request #6 from babsingh/main1
Browse files Browse the repository at this point in the history
Reduce available slots to match the upper limit supported by OpenJ9
  • Loading branch information
tajila authored Jan 8, 2025
2 parents 5f6c9df + 07ce516 commit 481b4f8
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 481b4f8

Please sign in to comment.