Skip to content

per-interpreter: memory allocators #30

Description

@ericsnowcurrently

[maybe split into more granular tasks]

  1. move the global state back to Include/internal (see below)
  2. move PyRuntimeState.obj to PyInterpreterState.obj
  3. move PyRuntimeState.mem to PyInterpreterState.mem

Notable concerns:

  • very delicate code
  • allocators needed before main interpreter created (?)
  • keep a global allocator?

The global state for this was moved back out of Include/internal to fix a bug. That PR encapsulates the relevant global state and C-API pretty well.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions