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

Remove enter/exit tracing methods #4607

Merged
merged 1 commit into from Feb 7, 2019

Conversation

a7ehuo
Copy link
Contributor

@a7ehuo a7ehuo commented Feb 5, 2019

In practice we never enable methodEnterTracing without
methodExitTracing.These two methods are replaced by
isMethodTracingEnabled().

Issue: #3585

Signed-off-by: Annabelle Huo Annabelle.Huo@ibm.com

@a7ehuo a7ehuo force-pushed the 3585-methodTracingReduction-m branch from a582b10 to 0034657 Compare February 5, 2019 22:06
@a7ehuo a7ehuo changed the title WIP: Remove enter/exit tracing methods Remove enter/exit tracing methods Feb 6, 2019
In practice we never enable methodEnterTracing without
methodExitTracing.These two methods are replaced by
isMethodTracingEnabled().

Issue: eclipse-openj9#3585

Signed-off-by: Annabelle Huo <Annabelle.Huo@ibm.com>
@a7ehuo a7ehuo force-pushed the 3585-methodTracingReduction-m branch from 0034657 to cc8c401 Compare February 6, 2019 14:27
@a7ehuo
Copy link
Contributor Author

a7ehuo commented Feb 6, 2019

@mpirvu FYI

@andrewcraik
Copy link
Contributor

@cathyzhyi FYI - is there anything in any of the new JVMTI capabilities that may want us to distinguish these two cases (enter vs exit tracing)?

@cathyzhyi
Copy link
Contributor

cathyzhyi commented Feb 6, 2019

LGTM. The jvmti hooks need to distinguish method enter and exit but they use different APIs canMethodExitEventBeHooked and canMethodEnterEventBeHooked.

@a7ehuo
Copy link
Contributor Author

a7ehuo commented Feb 7, 2019

@mpirvu Please help review. Thank you.

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

@a7ehuo
Copy link
Contributor Author

a7ehuo commented Feb 7, 2019

@mpirvu Could you help launch Jenkins build like what's done for pull request #4525? Thanks!

@mpirvu mpirvu self-assigned this Feb 7, 2019
@mpirvu mpirvu added the comp:jit label Feb 7, 2019
@mpirvu
Copy link
Contributor

mpirvu commented Feb 7, 2019

jenkins test sanity all jdk8

@mpirvu mpirvu merged commit 3ce077d into eclipse-openj9:master Feb 7, 2019
@a7ehuo a7ehuo deleted the 3585-methodTracingReduction-m branch February 17, 2019 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants