Skip to content

Add -Xjit:disableCodeAllocationTrimming option - #7677

Merged
dsouzai merged 1 commit into
eclipse-omr:masterfrom
mpirvu:codecache_study
Mar 4, 2025
Merged

Add -Xjit:disableCodeAllocationTrimming option#7677
dsouzai merged 1 commit into
eclipse-omr:masterfrom
mpirvu:codecache_study

Conversation

@mpirvu

@mpirvu mpirvu commented Mar 3, 2025

Copy link
Copy Markdown
Contributor

The codegen typically overestimates the code cache space needed for a compiled method body. However, after the jitted code is generated, the codegen "trims" the initial code cache allocation to the right size.
This commit introduces an option to disable such code cache allocation trimming. By default, code cache allocation trimming is enabled, preserving the current behavior.

The codegen typically overestimates the code cache space
needed for a compiled method body. However, after the jitted
code is generated, the codegen "trims" the initial code cache
allocation to the right size.
This commit introduces an option to disable such code cache
allocation trimming. By default, code cache allocation trimming
is enabled, preserving the current behavior.

Signed-off-by: Marius Pirvu <mpirvu@ca.ibm.com>
@mpirvu
mpirvu force-pushed the codecache_study branch from 8b9cbe8 to 29c857c Compare March 3, 2025 17:37
@dsouzai

dsouzai commented Mar 3, 2025

Copy link
Copy Markdown
Contributor

jenkins build all

@dsouzai dsouzai self-assigned this Mar 3, 2025
@dsouzai

dsouzai commented Mar 3, 2025

Copy link
Copy Markdown
Contributor

jenkins build all

1 similar comment
@AdamBrousseau

Copy link
Copy Markdown
Contributor

jenkins build all

@mpirvu

mpirvu commented Mar 4, 2025

Copy link
Copy Markdown
Contributor Author

Tests passed. This PR is ready to be merged.

@dsouzai
dsouzai merged commit ac71b03 into eclipse-omr:master Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants