Skip to content

Function locals and evaluation stack should be stored in a contiguous, per-thread stack #88198

@markshannon

Description

@markshannon
BPO 44032
Nosy @vstinner, @markshannon, @pablogsal, @erlend-aasland, @Fidget-Spinner
PRs
  • bpo-44032: Move data stack to thread from FrameObject. #26076
  • bpo-44032: Defer clearing last thread state until last GC has been run. #26285
  • bpo-44032: Fix downcast conversion in frameobject.c #26291
  • bpo-44032: Move pointer to code object from frame-object to frame specials array. #26771
  • Files
  • fix.diff
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/markshannon'
    closed_at = <Date 2021-05-25.09:56:55.025>
    created_at = <Date 2021-05-04.14:54:31.350>
    labels = ['interpreter-core', '3.11', 'performance']
    title = 'Function locals and evaluation stack should be stored in a contiguous, per-thread stack'
    updated_at = <Date 2022-02-23.15:14:24.569>
    user = 'https://github.com/markshannon'

    bugs.python.org fields:

    activity = <Date 2022-02-23.15:14:24.569>
    actor = 'vstinner'
    assignee = 'Mark.Shannon'
    closed = True
    closed_date = <Date 2021-05-25.09:56:55.025>
    closer = 'vstinner'
    components = ['Interpreter Core']
    creation = <Date 2021-05-04.14:54:31.350>
    creator = 'Mark.Shannon'
    dependencies = []
    files = ['50058']
    hgrepos = []
    issue_num = 44032
    keywords = ['patch']
    message_count = 10.0
    messages = ['392906', '394104', '394105', '394133', '394140', '394141', '394306', '396037', '413721', '413799']
    nosy_count = 5.0
    nosy_names = ['vstinner', 'Mark.Shannon', 'pablogsal', 'erlendaasland', 'kj']
    pr_nums = ['26076', '26285', '26291', '26771']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue44032'
    versions = ['Python 3.11']

    Metadata

    Metadata

    Assignees

    Labels

    3.11only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)performancePerformance or resource usage

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions