Open Bug 2017821 Opened 1 month ago Updated 1 month ago

Don't leak thread-local arenas on MacOS

Categories

(Core :: Memory Allocator, defect)

All
macOS
defect

Tracking

()

People

(Reporter: pbone, Unassigned, NeedInfo)

References

(Depends on 2 open bugs)

Details

Bug 1364359 can't be made to work on MacOS on its own. C++ TLS calls malloc leading to infinite recursion, and pthreads TLS doesn't support destructors. Therefore to avoid leaking thread-local arenas on MacOS we need our own TLS (Bug 1980064) then we can implement thread local arenas based on that.

The severity field is not set for this bug.
:pbone, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(pbone)
You need to log in before you can comment on or make changes to this bug.