-
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
Code cache allocation changes with Large pages enabled #1206
Comments
I think the following pages should have the updated information: |
@Sreekala-Gopakumar Please let me know if further details are needed regarding this change. |
@SajinaKandy - What was the issue because of which this change had to be made? What was happening before? Thanks! |
@Sreekala-Gopakumar |
In this comment, when you say that "If large pages are enabled, then the page size will be recalculated if the current page size is greater than the total code cache size... Ex if there is 2MB page size available then the page size will be set to 2MB and this page size will be used to allocate the 256 MB for code cache." then:
Thanks! |
|
Thanks! What do you mean by "The code caches are aligned during allocation using the original large page size."? |
eclipse-openj9#1206 Updated the related topics with the information of the change in the large page memory allocation behavior. Closes eclipse-openj9#1206 Signed-off-by: Sreekala Gopakumar <[email protected]>
I think she meant that the allocation would be aligned on a 1GB boundary (assuming 1GB pages are available), but we may end-up using 2 MB or 4 KB pages. |
eclipse-openj9#1206 Updated the related topics with the information of the change in the large page memory allocation behavior. Closes eclipse-openj9#1206 Signed-off-by: Sreekala Gopakumar <[email protected]>
eclipse-openj9#1206 Updated the related topics with the information of the change in the large page memory allocation behavior. Incorporated the review feedback. Closes eclipse-openj9#1206 Signed-off-by: Sreekala Gopakumar <[email protected]>
eclipse-openj9#1206 Updated the related topics with the information of the change in the large page memory allocation behavior. Incorporated the review feedback. Closes eclipse-openj9#1206 Signed-off-by: Sreekala Gopakumar <[email protected]>
Issue or pull request number:
eclipse-openj9/openj9#18342
Overview:
Where Large page/huge page support is available, if the configured large page size is greater than the size of the total code cache size for JIT, then the page size used for code cache allocation will be selected from the next available lower page size available on the platform.
For e.x, if the large page size is configured as 1 GB and the total code cache size is not modified (using
-Xcodecachetotal
), then the next available page size value lower than 256MB (default code cache total size) will be used for code cache allocation.Release target:
Eclipse OpenJ9 0.43
Applies to the following JDK versions:
8 and later
Applies to the following platforms:
All platforms
The text was updated successfully, but these errors were encountered: