Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FFI/Jtreg_JDK22] Change the value of the heap address identifier #19002

Conversation

ChengJin01
Copy link

The tiny changes modify the constant used to
identify the heap address in downcall to avoid
any potential conflict with the address value
passed to downcall.

Fixes: #18999

Signed-off-by: ChengJin01 [email protected]

@ChengJin01
Copy link
Author

The fix has been verified in FFI related test suites in OpenJ9/Jtreg.

@ChengJin01
Copy link
Author

Reviewer: @TobiAjila
FYI: @keithc-ca, @pshipton

@ChengJin01 ChengJin01 requested a review from tajila February 22, 2024 21:24
@ChengJin01 ChengJin01 added project:panama Used to track Project Panama related work jdk22 comp:vm labels Feb 22, 2024
@ChengJin01 ChengJin01 force-pushed the ffi_jtreg_fix_downcall_heap_address_id_jdk22 branch 2 times, most recently from 5d52c38 to 507c6f6 Compare February 23, 2024 14:05
@pshipton
Copy link
Member

jenkins test sanity.openjdk amac jdk22

@ChengJin01 ChengJin01 force-pushed the ffi_jtreg_fix_downcall_heap_address_id_jdk22 branch 2 times, most recently from 0273447 to 1fa4d45 Compare February 23, 2024 14:56
The tiny changes modify the constant used to
identify the heap address in downcall to avoid
any potential conflict with the address value
passed to downcall.

Fixes: eclipse-openj9#18999

Signed-off-by: ChengJin01 <[email protected]>
@ChengJin01 ChengJin01 force-pushed the ffi_jtreg_fix_downcall_heap_address_id_jdk22 branch from 1fa4d45 to 3eff02b Compare February 23, 2024 15:05
@keithc-ca
Copy link
Contributor

For the record, the build that was underway is https://openj9-jenkins.osuosl.org/job/PullRequest-OpenJ9/5127.

@pshipton
Copy link
Member

Just an unrelated known failure in the PR testing.

Grinder testing java/foreign/TestAddressDereference.java
https://openj9-jenkins.osuosl.org/view/Test/job/Grinder/3321/ - passed

@pshipton
Copy link
Member

Pls create the PR to unexclude the test.

ChengJin01 pushed a commit to ChengJin01/aqa-tests that referenced this pull request Feb 23, 2024
The changes enable the heap related test suites in JDK22+
given the problems with the tests are resolved via:
[1] eclipse-openj9/openj9#18930
[2] eclipse-openj9/openj9#19002

Signed-off-by: ChengJin01 <[email protected]>
@ChengJin01
Copy link
Author

ChengJin01 commented Feb 23, 2024

Pls create the PR to unexclude the test.

PR is created at adoptium/aqa-tests#5093.

@pshipton
Copy link
Member

jenkins compile amac jdk22

@pshipton pshipton merged commit 8ed4118 into eclipse-openj9:master Feb 23, 2024
4 checks passed
llxia pushed a commit to adoptium/aqa-tests that referenced this pull request Feb 23, 2024
The changes enable the heap related test suites in JDK22+
given the problems with the tests are resolved via:
[1] eclipse-openj9/openj9#18930
[2] eclipse-openj9/openj9#19002

Signed-off-by: ChengJin01 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:vm jdk22 project:panama Used to track Project Panama related work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

jdk22 java/foreign/TestAddressDereference crash vmState=0x00000000
4 participants