Update j9vmtest for off-heap feature - #20339
Merged
Merged
Conversation
Contributor
Author
|
@llxia @TobiAjila please review the changes, Thanks |
LinHu2016
force-pushed
the
testupdate4offheap
branch
from
October 15, 2024 15:51
2cc2a95 to
c7ccdc9
Compare
Contributor
|
@LinHu2016 could you provide the Grinder link? Thanks |
Contributor
Author
In TestUnsafeCopyMemory.testCopyLargeArrayIntoRawMemory(), arrayBaseOffset has been used to generate the arbitrary arrayOffsets for copy, the original test assume that arrayBaseOffset is positive number( array header size), but for off-heap enabled case arrayBaseOffset =0, which could cause negative offset for testing copy(trigger exceptions), update the test code to avoid negative offset for copying. Signed-off-by: lhu <linhu@ca.ibm.com>
LinHu2016
force-pushed
the
testupdate4offheap
branch
from
October 29, 2024 19:20
c7ccdc9 to
c4c62eb
Compare
Contributor
|
jenkins test sanity.functional alinux64 jdk17 |
Contributor
|
none of the failures are related |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In TestUnsafeCopyMemory.testCopyLargeArrayIntoRawMemory(), arrayBaseOffset has been used to generate the arbitrary arrayOffsets for copy, the original test assume that arrayBaseOffset is positive number( array header size), but for off-heap enabled case arrayBaseOffset =0, which could cause negative offset for testing copy(trigger exceptions), update the test code to avoid negative offset for copying.
fix:#20451