Skip to content

per-interpreter: memory allocators #30

@ericsnowcurrently

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy