Skip to content

LockTrace::enter causes terrible performance on debug (creates many backtraces) #9250

@vxpm

Description

@vxpm

apparently, LockTrace's enter method creates a backtrace every time it's called - which is terrible performance wise:

Image

this only happens on debug, but the performance hit is too high to be acceptable (in my opinion). maybe gating the backtrace behind a feature would make sense, given it is a feature to help debug code that tries to acquire the lock recursively?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions