Skip to content

cmd/compile: building with -asan generates many more allocations than with other instrumentation modes #70079

Closed as not planned
@mknyszek

Description

@mknyszek

I'm not really sure what the trouble is yet, but this does seem to be true given how many allocation count tests failed on asan but not with race or msan.

For example, tests failed on the new msan builder: https://ci.chromium.org/ui/p/golang/builders/ci/gotip-linux-amd64-msan-clang15/b8732829196319772801/overview

This mostly aligns with skips for race mode.

But with asan, there are many more: https://ci.chromium.org/ui/p/golang/builders/ci/gotip-linux-amd64-asan-clang15/b8732829195285565617/test-results?sortby=&groupby=

These tests will be skipped for now, so this is low priority. But anyone interested in improving the performance of asan mode might consider looking here first.

Discovered during #70054.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.compiler/runtimeIssues related to the Go compiler and/or runtime.help wanted

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions