[FFI/Test] Test suites intended for the duplicate ffi_type for struct - #19922
Conversation
4700c46 to
356fb45
Compare
|
The new test suites are verified in personal builds on all supported platforms. Reviewer: @tajila, @keithc-ca |
d180da5 to
9b6226a
Compare
9b6226a to
ee37591
Compare
|
@keithc-ca, is there anything else to be addressed in this PR? |
|
Yes, I have been reviewing the current state of this; I will share my comments tomorrow. |
keithc-ca
left a comment
There was a problem hiding this comment.
I've highlighted a number of unused imports; please remove those from other packages as well.
ee37591 to
63a6272
Compare
|
The description says "avoids the duplicate ffi_type for struct"; please explain what that means. |
2f0ad43 to
2f3fbe8
Compare
As explained in the description at #19714, we will need to optimize the existing code to avoid the creating duplicate ffi_type for the same struct in argument/return type in downcall (already updated the commit description to clarify that). |
2f3fbe8 to
9ec3dc2
Compare
|
@keithc-ca, I've gone through all related test suites with unused imports & displaced imports fixed. Please help cross-check whether anything else I ignored the latest update. |
9ec3dc2 to
35d9f5d
Compare
keithc-ca
left a comment
There was a problem hiding this comment.
Each of the comments from this round apply to several files other than those explicitly mentioned: please address those issues throughout.
35d9f5d to
59ae9cb
Compare
59ae9cb to
b642c47
Compare
The changes add new test suites which are used to verify the code that avoids creating the duplicate ffi_type for the same struct for arguments/return type in downcall. Also, these tests must work for the existing FFI specific implementation. Related: eclipse-openj9#19714 Signed-off-by: ChengJin01 <jincheng@ca.ibm.com>
b642c47 to
80abde0
Compare
|
Jenkins test sanity zlinux jdk17,jdk21,jdk22 |
|
@tajila Could you review this please? |
The changes add new test suites which are used to verify
the code that avoids creating the duplicate ffi_type for
the same struct for arguments/return type in downcall.
Also, these tests must work for the existing FFI specific
implementation.
Related: #19714
Signed-off-by: ChengJin01 jincheng@ca.ibm.com