Skip to content

Properly trigger decay on tcache destory.#1366

Merged
interwq merged 1 commit intojemalloc:devfrom
interwq:tick
Nov 9, 2018
Merged

Properly trigger decay on tcache destory.#1366
interwq merged 1 commit intojemalloc:devfrom
interwq:tick

Conversation

@interwq
Copy link
Copy Markdown
Contributor

@interwq interwq commented Nov 8, 2018

When destroying tcache, decay may not be triggered since tsd is non-nominal.
Explicitly decay to avoid pathological cases.

This resolves #1347.

When destroying tcache, decay may not be triggered since tsd is non-nominal.
Explicitly decay to avoid pathological cases.
@interwq
Copy link
Copy Markdown
Contributor Author

interwq commented Nov 8, 2018

This replaces #1363 which I couldn't seem to reopen. This time solves #1347 for real. Took me a while to realize the root of the ticking issue.

@interwq interwq merged commit 7ee0b6c into jemalloc:dev Nov 9, 2018
@interwq interwq deleted the tick branch November 9, 2018 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

spinning on an atomic leaks memory when using jemalloc

2 participants