|
From: | Gerd Möllmann |
Subject: | Re: MPS GC and its implications |
Date: | Sat, 4 May 2024 20:02:37 +0200 |
User-agent: | Mozilla Thunderbird |
On 2024-05-04 18:08, Helmut Eller wrote:
On Sat, May 04 2024, Eli Zaretskii wrote: That's also a possibility. There is a function mps_arena_has_addr that could be used to recongize addresses managed by MPS. The comment in igc.c say that mps_arena_has_addr is expensive and that is_mps is faster but could return false positives.
For use in GDB the function is probably plenty fast, BTW.It went something like this: there was no is_mps, then MPS_FIX12 returned true and MPS_FIX2 did not like the address at all and asserted.
Then used mps_has_addr and that worked but made the build 10x slower or something.
Then what we have.
[Prev in Thread] | Current Thread | [Next in Thread] |