New RAS allocation category for sparse heap - #23967
Merged
Merged
Conversation
Contributor
Author
|
depends on eclipse-omr/omr#8262 |
Contributor
|
Like eclipse-omr/omr#8262 (comment), this should say "allocation", not "allocate". |
Sparse heap for large object allocation is separately allocated from the main heap. It typically reserves address space that is bigger than heap itself, but it's only sparsely committed. To reduce potential confusion during memory breakdown analysis, sparse heap memory reservation will now have a separate category, and will be reported by RAS in a separate line. That way user can easily associate provided -Xmx value with the line for the main heap. For example when provided ``` ... -Xgcpolicy:balanced -Xmx256M... ``` java core will report ``` 3MEMUSER | +--Memory Manager (GC): 1,500,775,080 bytes / 3909 allocations 3MEMUSER | | | 4MEMUSER | | +--Java Heap: 269,479,936 bytes / 1 allocation 3MEMUSER | | | 4MEMUSER | | +--Java Heap Sparse: 1,207,959,552 bytes / 1 allocation 3MEMUSER | | | 4MEMUSER | | +--Other: 23,335,592 bytes / 3907 allocations ``` Signed-off-by: Aleksandar Micic <Aleksandar_Micic@ca.ibm.com>
amicic
force-pushed
the
ras_category_offheap
branch
from
May 25, 2026 15:25
67948b4 to
50e56e2
Compare
keithc-ca
approved these changes
May 25, 2026
dmitripivkine
approved these changes
May 25, 2026
Contributor
|
Jenkins compile amac jdk21 |
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.
Sparse heap for large object allocation is separately allocated from the main heap. It typically reserves address space that is bigger than heap itself, but it's only sparsely committed.
To reduce potential confusion during memory breakdown analysis, sparse heap memory reservation will now have a separate category, and will be reported by RAS in a separate line.
That way user can easily associate provided -Xmx value with the line for the main heap.
For example when provided
java core will report