Re: RFR: JDK-8298908: Instrument Metaspace for ASan [v7]

2023-01-09 Thread Thomas Stuefe
On Mon, 9 Jan 2023 15:57:53 GMT, Justin King wrote: >> This change instruments Metaspace for ASan. Metaspace allocates memory using >> `mmap`/`munmap` which ASan is not aware of. Fortunately ASan supports >> applications [manually poisoning/unpoisoning >> memory](https://github.com/google/sani

Re: RFR: JDK-8298908: Instrument Metaspace for ASan [v7]

2023-01-09 Thread Justin King
> This change instruments Metaspace for ASan. Metaspace allocates memory using > `mmap`/`munmap` which ASan is not aware of. Fortunately ASan supports > applications [manually poisoning/unpoisoning > memory](https://github.com/google/sanitizers/wiki/AddressSanitizerManualPoisoning). > ASan is a