-
Notifications
You must be signed in to change notification settings - Fork 74
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
INACTIVE: ZOS Xlp Codecache and ObjectHeap Changes #412
Conversation
Z/OS now supports the same command line argument format as other architectures for both -Xlp:codecache, and -Xlp:objectheap. The behaviour is slightly different with the objectheap, where pagrable large files are always preferred over nonpageable when [non]pageable is not specified. Signed-off-by: AlenBadel <[email protected]>
Related OpenJ9 PR See Doc Issue |
docs/xlpcodecache.md
Outdated
@@ -32,14 +32,10 @@ To find out the large page sizes available and the current setting, use the `-ve | |||
|
|||
## Syntax | |||
|
|||
AIX®, Linux®, macOS®, and Windows™: | |||
AIX®, Linux®, macOS®, Windows™ and Z/OS®: |
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.
This is all platforms now, so we don't need to give a platform list.
@@ -67,7 +63,7 @@ See [Using -X command-line options](x_jvm_commands.md) for more information abou | |||
|
|||
: 1 MB pageable pages, when available, are the default size for the code cache. | |||
|
|||
The `-Xlp:codecache:pagesize=<size>,pageable` option supports only a large page size of 1 MB pageable large pages. The use of 1 MB pageable large pages for the JIT code cache can improve the runtime performance of some Java™ applications. A page size of 4 KB can also be used. | |||
The `-Xlp:codecache:pagesize=<size>` option supports only a large page size of 1 MB pageable large pages. The use of 1 MB pageable large pages for the JIT code cache can improve the runtime performance of some Java™ applications. A page size of 4 KB can also be used. |
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.
Both variants should be explicit, i.e. The -Xlp:codecache:pagesize=<size>
and -Xlp:codecache:pagesize=<size>,pageable
options ...
|
||
-Xlp:codecache:pagesize=<size> | ||
|
||
z/OS®: | ||
|
||
-Xlp:codecache:pagesize=<size>,pageable |
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.
This still needs to be a valid option on z/OS, and shouldn't be removed from the docs.
docs/xlpobjectheap.md
Outdated
@@ -31,14 +31,10 @@ To find out the large page sizes available and the current setting, use the `-ve | |||
|
|||
## Syntax | |||
|
|||
AIX®, Linux®, macOS®, and Windows™: | |||
AIX®, Linux®, macOS®, Windows™ and Z/OS®: |
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.
This is all platforms now, so we don't need to give a platform list.
|
||
-Xlp:objectheap:pagesize=<size>[,strict|warn] | ||
|
||
z/OS®: | ||
|
||
-Xlp:objectheap:pagesize=<size>[,strict|warn][,pageable|nonpageable] |
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.
This still needs to be a valid option on z/OS, and shouldn't be removed from the docs.
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.
I note this option specification is incorrect until eclipse-openj9/openj9#7585 is merged, as pageable|nonpageable is not optional
@@ -61,6 +57,8 @@ See [Using -X command-line options](x_jvm_commands.md) for more information abou | |||
|
|||
: On macOS, the default page size is 4 KB. | |||
|
|||
: On Z/OS® If both 1M pageable, and nonpageable large pages are available then 1M pageable large pages will be used by default if [non]pageable is not specified. |
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.
When the pageable|nonpageable option isn't specified ...
There doesn't seem to be a corresponding doc issue for this PR. Please can you create one - updates should be committed against that. The content team can then offer help. For example:
and also
Both sentences could be replaced with "The default size for the code cache is 1 MB pageable pages. No other large page sizes are supported."
|
@AlenBadel - all docs changes require an issue to be opened for tracking and historical purposes. Please follow this link: https://github.com/eclipse/openj9-docs/issues/new?template=new-documentation-change.md |
1 similar comment
@AlenBadel - all docs changes require an issue to be opened for tracking and historical purposes. Please follow this link: https://github.com/eclipse/openj9-docs/issues/new?template=new-documentation-change.md |
@AlenBadel ... Hi Alen, would be grateful if you'd create a doc issue for this work, outlining what was required - so that we can track it with other 0.18.0 changes. Then we can get this finished off and merged. |
@pmhayward My apologies, I've added the issue. |
@AlenBadel ... Many thanks |
@AlenBadel ... Alen, just realised that the commit you made a short while ago wasn't signed off. Therefore Eclipse is currently rejecting the PR. If you open the "Details" link under "All checks have failed ", it gives more details and something about how to fix it. Thanks, Peter |
@pmhayward I'm currently working on addressing all the comments given. This PR is dependant on eclipse-openj9/openj9#7585, so it can't be merged until that PR is accepted. |
@AlenBadel I'm assuming that as the openj9 PR is still open, this docs PR should not currently be merged; please confirm! Are these changes still likely to happen at some point? Thanks! |
I propose to close this PR as it is very old with respect to the current code base. If these changes are still planned, please rebase and raise a new PR. |
Closing. Commented in #445 to determine whether a future PR is expected or whether we can close the issue. |
Z/OS now supports the same command line argument format as other architectures for both -Xlp:codecache, and -Xlp:objectheap.
The behaviour is slightly different with the objectheap, where pagrable large files are always preferred over nonpageable when [non]pageable is not specified.
Signed-off-by: AlenBadel [email protected]