-
Notifications
You must be signed in to change notification settings - Fork 396
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
Remove isAOT check in order to enable relo logging for JITServer #4445
Conversation
@mpirvu Can I get a review please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previoulsy, the tracing was done only for AOT compilations. After your change, with the right options, tracing can be done for any method and I assume this will work because if there is no relocation data, nothing will be printed.
I would like some validation/reassurance that cg->getAheadOfTimeCompile()
is always non-null.
Signed-off-by: Dhruv Chopra <Dhruv.C.Chopra@ibm.com>
291bfe5
to
19eb6bf
Compare
@mpirvu The constructor in OMR's CodeGenerator class initializes The So I guess technically it's possible for Therefore I've added a Please take a look. |
Since Therefore, I am suggesting a test, non-AOT, non-JITServer, with one the options above enabled. |
@mpirvu
and I see the following output in the trace log
And obviously there are no crashes. So it looks like we should be okay to merge this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@genie-omr build all |
Signed-off-by: Dhruv Chopra Dhruv.C.Chopra@ibm.com