xinyiZzz opened a new issue, #37700: URL: https://github.com/apache/doris/issues/37700
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Description https://llvm.org/docs/GwpAsan.html https://developer.android.com/ndk/guides/gwp-asan 1. GWP-ASan is a sampled allocator framework that assists in finding use-after-free and heap-buffer-overflow bugs in production environments. 2. There is a small, tunable memory overhead that is fixed for the lifetime of the process. This is approximately ~40KiB per process using the default settings 3. Unlike AddressSanitizer, GWP-ASan does not induce a significant performance overhead. 4. GWP-ASan is only capable of finding a subset of the memory issues detected by ASan. 5. Furthermore, GWP-ASan’s bug detection capabilities are only probabilistic. As such, we recommend using ASan over GWP-ASan in testing 6. GWP-ASan is not a replacement for a traditional allocator. Instead, it works by inserting stubs into a supporting allocator to redirect allocations to GWP-ASan when they’re chosen to be sampled. ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
