Skip to content

CI failing due to jemalloc symbol changes #2028

Closed
@Mark-Simulacrum

Description

@Mark-Simulacrum

It looks like rust-lang/rust#134690 may have changed the jemalloc symbols (or perhaps a previous PR, haven't bisected yet):

$ nm /home/mark/Build/rustc-perf/cache/7a0cde96f83c6d38237bb8062df6300ecf4c2687/bin/rustc  | grep jemalloc
0000000000074870 t jemalloc_constructor
0000000000074880 t jemalloc_postfork_child
00000000000704d0 t jemalloc_postfork_parent
0000000000070aa0 t jemalloc_prefork
$ nm ~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc | grep jemalloc
0000000000020440 t _rjem_je_jemalloc_postfork_child
0000000000020360 t _rjem_je_jemalloc_postfork_parent
00000000000201e0 t _rjem_je_jemalloc_prefork
00000000000201d0 t jemalloc_constructor

I suspect that also affected valgrind's detection of hitting jemalloc code and as a result we no longer see it in profiles, though it's also in theory possible LTO just optimized the code better...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions