<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Truth in advertising:&nbsp;</div><div><br></div><div>big-bang skips frames in certain circumstances -- when handlers take too long -- so if the GC kicks in when a handler runs, it is possible that the eventual result is a skip.&nbsp;</div><div><br></div><div>Robby: do you think Jack's program would benefit from a forced gc before big-bang runs? (I can't find Jack's code.)&nbsp;</div><div><br></div><div>-- Matthias</div><div><br></div><div><br></div><div><br></div><div><br></div><br><div><div>On Aug 8, 2013, at 6:40 AM, Robby Findler wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi Jack: the entire system freezes when the GC happens and the numbers you report match up with what I'd expect to be very annoying stuttering. (And just for the record, it doesn't skip frames -- it just doesn't update anything or draw any new frames during the GC.)<div>
<br></div><div>Can you tell us more about your machine? What OS and what processor?</div><div><br></div><div>Robby</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 7, 2013 at 9:55 PM, Jack Firth <span dir="ltr">&lt;<a href="mailto:the.game.creator6@gmail.com" target="_blank">the.game.creator6@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I started up the program from the command line with the garbage collection debugging information, and saw some interesting stuff once the program was up and running. Every second or so I'd see a very very slight stutter, which would be followed by a garbage collection lasting either 16ms or 15ms, slightly longer stutters would report as GCs of 31ms, and long freezing stutters would be around 109ms. I think perhaps big-bang is doing something where it's skipping a frame or two as a result of some sort of garbage collection. All the on-tick etc. events are performed for the frame, it just doesn't seem to be drawn. I can't fathom what's going on here.<div class="gmail_extra">
<br></div></div></blockquote></div></div></div>
_________________________<br> &nbsp;Racket Developers list:<br> &nbsp;<a href="http://lists.racket-lang.org/dev">http://lists.racket-lang.org/dev</a><br></blockquote></div><br></body></html>