Actions
Bug #21868
closedPrism doesn't use the ruby allocator
Bug #21868:
Prism doesn't use the ruby allocator
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:
- https://github.com/ruby/ruby/blob/d066b9e01ccb2260fac8b2580c10e73335c7c7db/prism_compile.c#L11333
- https://github.com/ruby/ruby/blob/d066b9e01ccb2260fac8b2580c10e73335c7c7db/vm_eval.c#L1779
I'd appreciate if someone from the Prism team could look at it.
Actions