gc: use wide integer for schedule counting
Currently we use unsined int for "cleanup" schedule
counting, this is safe while this routine is not
called too often. Still there is a chance to hit
a number wrap on code modification because there
is no strict rule on how to use this garbage collector.
Lets use wide integers instead, we have only one gc
instance and such approach eliminates potential problems
in future (actually this should had been done from the
beginning since the current gc code flow developed
without wrapping in mind).
In-scope-of #5806
Signed-off-by:
Cyrill Gorcunov <gorcunov@gmail.com>
Please register or sign in to comment