Skip to content

Conversation

joshlf
Copy link
Collaborator

@joshlf joshlf commented Mar 9, 2018

Now that bagpipes don't rely on TLS, we can safely clean up thread-local caches while they are being dropped rather than sending pointers to a dedicated background thread.

@joshlf joshlf requested a review from ezrosent March 9, 2018 08:19
joshlf added 2 commits March 17, 2018 17:03
- Store a crossgeam GC collector in the BagPipe
- Use this GC instance for pinning, eliminating the dependency on
  the global singleton, and thus on thread-local storage
- elfmalloc: Don't set bsalloc as the global allocator because the
  new GC allocates on clone, and if the global allocator is bsalloc,
  each clone call becomes very expensive, which makes tests run
  very slowly
- elfmalloc: Use opt-level=3 for tests in Travis
- elfc: Set bsalloc as the global allocator
- Now that bagpipes don't rely on TLS, we can safely clean up
  thread-local caches while they are being dropped rather than
  sending pointers to a dedicated background thread
@joshlf joshlf force-pushed the elfmalloc-new-bagpipe branch from 652e6a3 to 14b7640 Compare March 18, 2018 00:06
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.

1 participant