Skip to content

Experiment with limited reentrancy support #501

Open

Description

@jasone

Rather than trying to make jemalloc support general reentrancy, we could instead make it possible to manually enter a reentrancy-capable mode only during risky operations, i.e. system calls and other risky external library function calls such as those related to collecting backtraces. This would probably be sufficiently general to meet all needs, and it could be implemented such that the fast paths suffer only the addition of a single (well predicted) conditional branch that is not normally taken.

Activity

  1. added this to the 5.0.0 milestone on Nov 11, 2016
  2. jasone commented on Nov 11, 2016

    @jasone
    MemberAuthor

    Some related issues: #443, #478, and #500.

  3. jasone commented on Jan 16, 2017

    @jasone
    MemberAuthor

    Per offline discussion, this is a prerequisite for #149.

  4. jasone commented on Jan 20, 2017

    @jasone
    MemberAuthor

    This may give us back the ability to safely call atexit(3). See #144 for some context.

  5. removed this from the 5.0.0 milestone on May 23, 2017
  6. davidtgoldblatt commented on May 23, 2017

    @davidtgoldblatt
    Contributor

    Removing the milestone, but leaving this open -- I suspect that we'll just expand the scope of our reentrancy support over time, and having all those discussions in one place will be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions