Re: [Gc] Finalization cycle questions...
ivmai at mail.ru
Wed Jun 10 08:46:29 PDT 2009
"Talbot, George" <Gtalbot at locuspharma.com> wrote:
> ...So if the collector detects a finalization cycle, then the objects involved in the cycle won't be collected, right?
> Could it be the case if there's a cycle, and a single object in the cycle requires finalization, then this will also be detected as a "finalization cycle"?
> What does Java do about finalization cycles?
Java uses GC_set_java_finalization(1) and GC_REGISTER_FINALIZER_NO_ORDER().
See the comments in gc.h for these functions.
> George T. Talbot
> <gtalbot at locuspharma.com>
More information about the Gc