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

Disable Returns Receiver Checker by default when running Resource Leak Checker #6434

Open
msridhar opened this issue Jan 31, 2024 · 1 comment

Comments

@msridhar
Copy link
Contributor

Right now, the Returns Receiver Checker (RRC) runs by default as a subchecker of the Resource Leak Checker (RLC), since the RLC extends the Called Methods Checker. This has a significant runtime cost, and provides little benefit in the common case. We should instead not run the RRC as a subchecker of the RLC by default, but allow it to be enabled with a command-line option.

@msridhar
Copy link
Contributor Author

As a temporary workaround, the RLC can be run with the parameter -AdisableReturnsReceiver to disable the RRC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant