GNU bug report logs -
#79346
igc: PolicyShouldCollectWorld
Previous Next
Full log
View this message in rfc822 format
> From: Helmut Eller <eller.helmut <at> gmail.com>
> Date: Sat, 30 Aug 2025 13:53:50 +0200
>
> When I set igc-step-interval like so
>
> (setq igc-step-interval 0.05)
>
> and in GDB add a breakpoint in PolicyShouldCollectWorld with
>
> dprintf policy.c:195,"availableTime: %f collectionTime: %f sinceLastWorldCollect: %f", availableTime, collectionTime, sinceLastWorldCollect
>
> [With the debug build of MPS. availableTime is not available in
> optimized builds.]
>
> I see output like:
>
> availableTime: 50000.000000 collectionTime: 1.078059 sinceLastWorldCollect: 6.623319
>
> It seems that availableTime and collectionTime use different units:
> availableTime is in clocks while collectionTime is in seconds.
>
> So the test availableTime > collectionTime doesn't make much sense.
Since I don't see such comparison anywhere in Emacs, I presume you are
talking about a bug in MPS? Or what did I miss?
This bug report was last modified today.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.