Skip to content
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

Consider the compileMethod() API in replenishInvocationCount() Assertion #7598

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

luke-li-2003
Copy link
Contributor

@luke-li-2003 luke-li-2003 commented Dec 31, 2024

Add a flag in the optimization plan for compilations triggered by the compileMethod API, which can have the invocation count be any positive integer; replenishInvocationCount will not raise the assertion failure for unexpected count value.

Based on eclipse-openj9/openj9#15472

Depends on eclipse-openj9/openj9#20876

Add a flag in the optimization plan for compilations triggered by
the compileMethod API, which can have the invocation count be any
positive integer; replenishInvocationCount will not raise the assertion
failure for unexpected count value.

Based on eclipse-openj9/openj9#15472

Signed-off-by: Luke Li <[email protected]>
@dsouzai
Copy link
Contributor

dsouzai commented Jan 2, 2025

Depends on eclipse-openj9/openj9#20876

This PR doesn't look like it depends on OpenJ9; does it really need to be a coordinated merge or can this one be merged first?

@dsouzai dsouzai self-assigned this Jan 2, 2025
Copy link
Contributor

@dsouzai dsouzai left a comment

Choose a reason for hiding this comment

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

Changes look fine to me, but I'll defer approval until @mpirvu takes a look first.

@luke-li-2003
Copy link
Contributor Author

You are right - this one can be merged first.

Copy link
Contributor

@mpirvu mpirvu left a comment

Choose a reason for hiding this comment

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

LGTM

@mpirvu
Copy link
Contributor

mpirvu commented Jan 2, 2025

This PR may not be needed after all. We can use the existing IsExplicitCompilation flag from the optimization plan.

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