Project

General

Profile

Actions

Bug #21868

closed

Prism doesn't use the ruby allocator

Bug #21868: Prism doesn't use the ruby allocator

Added by byroot (Jean Boussier) 15 days ago. Updated 4 days ago.

Status:
Closed
Assignee:
Target version:
-
[ruby-core:124709]

Description

I discovered this while working on the internal side of [Feature #21861] (https://github.com/ruby/ruby/pull/15989)

Prism doesn't use ruby_xmalloc, but raw malloc.

I tried to fix it myself, but couldn't figure out the solution, so I left some FIXME comments:

I'd appreciate if someone from the Prism team could look at it.


Related issues 1 (1 open0 closed)

Related to Ruby - Feature #21861: C API: expose `ruby_xfree_sized`, `ruby_xrealloc_sized`, etcOpenActions

Updated by byroot (Jean Boussier) 15 days ago Actions #1

  • Related to Feature #21861: C API: expose `ruby_xfree_sized`, `ruby_xrealloc_sized`, etc added

Updated by Earlopain (Earlopain _) 4 days ago Actions #2

  • Status changed from Open to Closed

Applied in changeset git|91be23cd961aa937701214ba5f50c698301c5e26.


[Bug #21868] Use ruby allocator for prism

If we wan't prism to use the ruby allocator, we should
include it as early as possible.

Actions

Also available in: PDF Atom