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

Notify dependency table at method queue time #20711

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

Conversation

cjjdespres
Copy link
Contributor

Currently, methods with unsatisfied dependencies may still have loads attempted for them. This can happen if their counts reach zero very quickly. Since this is the case, methods that are about to be queued for compilation no longer need to be tracked in the method dependency table.

@cjjdespres
Copy link
Contributor Author

Attn @mpirvu.

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.

There is a similar piece of code executed when compilation starts (in compile()). Is that one redundant now?

Currently, methods with unsatisfied dependencies may still have loads
attempted for them. This can happen if their counts reach zero very
quickly. Since this is the case, methods that are about to be queued for
compilation no longer need to be tracked in the method dependency table.

Signed-off-by: Christian Despres <[email protected]>
@cjjdespres
Copy link
Contributor Author

I think it might be redundant - do you know of any compilations that don't go through addMethodToBeCompiled()?

I've removed it for now.

@mpirvu
Copy link
Contributor

mpirvu commented Nov 29, 2024

do you know of any compilations that don't go through addMethodToBeCompiled()?

I think that all compilation requests come from the queue. We no longer support compilation on application threads.

@mpirvu
Copy link
Contributor

mpirvu commented Nov 29, 2024

jenkins test sanity all jdk17

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.

2 participants