chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-janitors] #1586: Context-switch from GC causes infinite GC


From: Chicken Trac
Subject: Re: [Chicken-janitors] #1586: Context-switch from GC causes infinite GC loop
Date: Sat, 20 Apr 2019 15:34:37 -0000

#1586: Context-switch from GC causes infinite GC loop
-------------------------------------+-------------------------------------
            Reporter:  megane        |      Owner:
                Type:  defect        |     Status:  new
            Priority:  major         |  Milestone:
           Component:  compiler      |    Version:  5.0.0
          Resolution:                |   Keywords:  garbage collector
Estimated difficulty:  insane        |  context-switch threads scheduler
-------------------------------------+-------------------------------------

Comment (by megane):

 The implication of this is that a program will have a greater than zero
 change of hanging with the gc-loop if these conditions are met:

 - The program uses threads
 - The program has a finalizer that has been compiled without `disable-
 interrupts`
 - There is a `(gc #t)` call after a finalizer has been installed

--
Ticket URL: <https://bugs.call-cc.org/ticket/1586#comment:1>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]