[ruby-core:124709] [Ruby Bug#21868] Prism doesn't use the ruby allocator
Issue #21868 has been reported by byroot (Jean Boussier). ---------------------------------------- Bug #21868: Prism doesn't use the ruby allocator https://bugs.ruby-lang.org/issues/21868 * Author: byroot (Jean Boussier) * Status: Open * Assignee: prism * Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN, 4.0: UNKNOWN ---------------------------------------- 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/p... - https://github.com/ruby/ruby/blob/d066b9e01ccb2260fac8b2580c10e73335c7c7db/v... I'd appreciate if someone from the Prism team could look at it. -- https://bugs.ruby-lang.org/
participants (1)
-
byroot (Jean Boussier)