Skip to content

LoadBlocker::terminate is a common trigger for GC borrow hazards  #34108

@jdm

Description

@jdm

The load blocker API requires a mutable borrow, which usually means the caller needs to mutably borrow a RefCell to obtain it. Since terminate also can trigger a GC in certain infrequent cases, this is both risky and over-cautious.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions