Skip to content

Add JFR YoungGenerationConfiguration Event #21840

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

Merged
merged 1 commit into from
May 14, 2025

Conversation

adpopescu
Copy link
Contributor

This change adds support for the JFR Young Generation Configuration Event.

@adpopescu
Copy link
Contributor Author

@tajila please review

@tajila tajila requested a review from theresa-m May 9, 2025 18:47
@adpopescu adpopescu force-pushed the gc-young-generation-config branch from ecdcce5 to bd0c143 Compare May 12, 2025 19:23
@adpopescu adpopescu force-pushed the gc-young-generation-config branch from bd0c143 to 524fe6c Compare May 12, 2025 19:50
This change adds support for the JFR Young Generation Configuration Event.

Signed-off-by: Adrian Popescu <[email protected]>
@adpopescu adpopescu force-pushed the gc-young-generation-config branch from 524fe6c to b4c6d79 Compare May 12, 2025 19:53
@tajila
Copy link
Contributor

tajila commented May 13, 2025

jenkins test sanity.functional xlinux jdk17

@tajila tajila merged commit e7f4402 into eclipse-openj9:master May 14, 2025
5 checks passed
youngGenConfiguration->minSize = mmFuncs->j9gc_get_minimum_young_generation_size(vm);
youngGenConfiguration->maxSize = mmFuncs->j9gc_get_maximum_young_generation_size(vm);
if (0 != mmFuncs->j9gc_get_maximum_young_generation_size(vm)) {
youngGenConfiguration->newRatio = mmFuncs->j9gc_get_maximum_heap_size(vm)/mmFuncs->j9gc_get_maximum_young_generation_size(vm) - 1;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing parentheses, spaces around /.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adpopescu Please add that change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants