Skip to content

Tick decay on ipallocztm / idalloctm.#1363

Closed
interwq wants to merge 1 commit intojemalloc:devfrom
interwq:tick
Closed

Tick decay on ipallocztm / idalloctm.#1363
interwq wants to merge 1 commit intojemalloc:devfrom
interwq:tick

Conversation

@interwq
Copy link
Copy Markdown
Contributor

@interwq interwq commented Nov 5, 2018

Tcache init / cleanup should trigger decay ticks as well.

This resolves #1347.

Tcache init / cleanup should trigger decay ticks as well.
@interwq
Copy link
Copy Markdown
Contributor Author

interwq commented Nov 5, 2018

Nope this isn't it.

assert(tcache == NULL);
}
arena_dalloc(tsdn, ptr, tcache, alloc_ctx, slow_path);
arena_decay_tick(tsdn, arena);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arena is not a variable

@interwq
Copy link
Copy Markdown
Contributor Author

interwq commented Nov 8, 2018

Still investigating. Will reopen soon.

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