8000 Identify `MutableCallSite` for guards based on known object index by jdmpapin · Pull Request #7774 · eclipse-omr/omr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Identify MutableCallSite for guards based on known object index #7774

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
Jun 12, 2025

Conversation

jdmpapin
Copy link
Contributor
@jdmpapin jdmpapin commented Jun 2, 2025

...instead of based on reference location.

Copy link
Contributor
@hzongaro hzongaro left a comment

Choose a reason for hiding this comment

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

I just happened upon a call to heuristicTrace in TR_InlinerBase::createVirtualGuard that uses the %p format specifier for the _mutableCallSiteObject field of TR_VirtualGuardSelection. I think that will need to be updated.

@hzongaro
Copy link
Contributor

I just tripped across another minor issue. One of the constructors for TR_VirtualGuard sets the value of _mutableCallSiteObject to be zero. Should it be set to TR::KnownObjectTable::UNKNOWN instead?

...instead of based on reference location.
@jdmpapin
Copy link
Contributor Author

Updated the two additional places identified in review

Copy link
Contributor
@hzongaro hzongaro left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks!

@hzongaro
Copy link
Contributor

Jenkins build all< 8000 /p>

@hzongaro
Copy link
Contributor

It looks like porttest has seen a number of recent failures on osx_x86-64 recently. I think that failure is unrelated to this change.

@hzongaro
Copy link
Contributor

Merging.

@hzongaro hzongaro merged commit 6873ddb into eclipse-omr:master Jun 12, 2025
12 of 13 checks passed
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.

2 participants
0