-
Notifications
You must be signed in to change notification settings - Fork 721
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
Fix codecache Xlp parsing to use right-most option #7769
Conversation
A good example of the expected behaviour can be displayed by running
The expected behaviour is that 64K large pages be used. The objectheap has the correct behaviour. The following will cause the objectheap to use 64K large pages. See discussion: #4930 |
I wonder if we have any test cases to test this... |
There are tests for -Xlp |
jenkins test sanity win jdk8 |
jenkins test sanity aix,plinux,zlinux jdk8 |
@smlambert @llxia I can't find any evidence that the xlp tests are running, can you please check. I found this in the J9vmTest output:
|
They are extended tests which are running internally but I don't find them at OpenJ9. |
Please squash. |
@AlenBadel let's add the missing combinations. |
36d27a7
to
5394a8d
Compare
fyi the copyright check failed, and there is a merge conflict. |
5394a8d
to
ff0adf8
Compare
Currently, -Xlp:codecache:pagesize=<size> takes priority no matter what position it is in the passed arguments. The expected behaviour is that only the right-most instance of -Xlp be parsed, and that is exactly what this commit implements. Signed-off-by: AlenBadel <Alen.Badel@ibm.com>
ff0adf8
to
7e97c86
Compare
This test seems to just verify the objectheap page size.
This test would need to be modified to pull the codecache sizes. I agree that we need to add the codecache option variations to this, but we also need to add tests for the two proposed hotspot mappings I propose that I add it as a to-do item in the main issue above, and we make this test change to add tests for codecache, and the two mapped options together when the final changes are in. |
Sure, let's open a separate item for the new test cases. |
See #4930 (comment) |
@dmitripivkine Could you kindly review the comments I left on your comment, and resolve it if you don't have any further concerns? |
I still have concerns about form of the change (mix functional and comment changes, comments format change is unnecessary). This is up to code owners keep change reasonable. However I have not reviewed this change functionally. I believe this change should be approved by code owner (JIT) reviewer |
@gita-omr Could I request that you review this functionally? |
Sure, a little bit later today. |
Currently, -Xlp:codecache:pagesize= takes priority no matter what position it is in the passed arguments.
The expected behaviour is that only the right-most instance of -Xlp be parsed, and that is exactly what this commit implements.
Signed-off-by: AlenBadel Alen.Badel@ibm.com