This saves ~2 MB of dirty memory footprint. Can be a big deal on mobile devices especially when running multiple processes with ASan.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/asan/asan_allocator.cc | ||
---|---|---|
823 | And where's /*linker_initialized*/ true call? |
lib/asan/asan_allocator.cc | ||
---|---|---|
823 | There's none. ASan's allocator is currently always linker initialized. Would you prefer to just call InitLinkerInitialized always? |
lib/asan/asan_allocator.cc | ||
---|---|---|
823 | No, I just don't see how this, seemingly no op, change saves 2 MB. |
Comment Actions
Great! I thought there's a file missing from the patch or something like this.
lib/asan/asan_allocator.cc | ||
---|---|---|
277 | Rename this to InitLinkerInitialized and drop the parameter. |
Rename this to InitLinkerInitialized and drop the parameter.