-
Notifications
You must be signed in to change notification settings - Fork 95
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 old malloc trace implementation #1866
Remove old malloc trace implementation #1866
Conversation
Hello @schmelter-sap, this pull request fulfills all formal requirements. |
@@ -962,7 +955,7 @@ jboolean ShouldPreloadLibMallocHooks(int argc, char **argv) { | |||
} | |||
} | |||
|
|||
return (uses_new_trace && !uses_old_trace) ? JNI_TRUE : JNI_FALSE; | |||
return uses_new_trace ? JNI_TRUE : JNI_FALSE; |
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.
Just return uses_new_trace
.
And better rename it. Maybe trace_is_enabled
?
Hello @schmelter-sap, this pull request fulfills all formal requirements. |
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.
Looks good 👍
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.
Richards findings were what I found as well. Tests are good, failures are unrelated. So this is good. 👍
Removes the old malloc trace implementation.
fixes #1865