-
Notifications
You must be signed in to change notification settings - Fork 729
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
Expand j9vmemtest on Z/OS #8791
Conversation
Expanding the current tests to test for cases where J9PORT_VMEM_PAGE_FLAG_PREFER_PAGEABLE may be used. Signed-off-by: AlenBadel <[email protected]>
The change seems to be matching the design in #8671 (comment). |
Somehow could not assign @babsingh as a reviewer but could you please review? |
Only committers can be assigned as reviewers or as Assignees. After a non-committer adds a comment to a PR, they can be added as Assignee, not sure if they can be assigned a review. They can however approve a review. |
What is the difference between this PR and eclipse-omr/omr#4918? Seems to be a lot of duplication here. |
There's always been duplication in omrvmemtest/j9vmemtest. |
@smlambert any thoughts on this? |
The phrase "Internal sanity currently ..." is concerning. This project cannot depend on IBM's internal testing. |
Agreed. It's not a justification, just curious on what the rationale was. |
OpenJ9 pltest runs in the sanity.functional suite. |
it may require effort: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
j9vmemTest
is very old, and it doesn't follow the newest coding standards: https://github.com/eclipse/omr/blob/master/doc/CodingStandard.md. It will be tiresome to modernize the entire j9vmemTest
. At least, the new code should follow the newest coding standards, and the updated function(s) should be modernized to follow the newest coding standard.
The same review also applies to eclipse-omr/omr#4918.
Functionally, the test cases look fine to me.
@AlenBadel I don't review on a regular basis. If you disagree with any of my feedback, please request a second opinion from a senior reviewer (committer). After addressing my feedback, please contact a committer for a final review, launching PR builds and merging.
OpenJ9 committers: @DanHeidinga @pshipton
OMR committers (for eclipse-omr/omr#4918): @youngar @rwy0717
I suggest that we create an issue to investigate removing the redundant parts of |
yes, this makes sense. I'm not sure why we have "duplicate" tests. |
In reply to #8791 (comment) and the befuddling question of why there are duplicate tests, short answer is dev team would not delete them. Long answer, one has to go back in history, to when a bunch of test material was prepped and pushed into the omr project, including pltest -> porttest. At that time, it was suggested that the internal pltest be removed, but for each of the attempts to remove it there was something blocking their full removal (see Sept 2015 RTC 100752 work item for details), but the last note was citing the fact that there was not full spec coverage in OMR, so the dev team decided these tests could not be removed from the jvm component. I am glad that the request to remove the duplicate tests may finally happen. |
I'm onboard with deleting duplicate tests provided that we're still running the tests (omr version or openj9 version) in the OpenJ9 build. I don't want to rely on the test having run at OMR as it may run on different machine configurations, with different compilers, etc. |
I've went ahead and created the issue to have these portests removed on OpenJ9. I'll be closing this PR, and these changes will go into OMR instead. |
Expanding the current tests to add cases where
J9PORT_VMEM_PAGE_FLAG_PREFER_PAGEABLE
may be used.Signed-off-by: AlenBadel [email protected]