[Top][All Lists]

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

Re: indirect threading for bytecode interpreter

From: Dan Nicolaescu
Subject: Re: indirect threading for bytecode interpreter
Date: Sun, 20 Sep 2009 18:58:53 -0700 (PDT)

Tom Tromey <address@hidden> writes:

  > >>>>> "Dan" == Dan Nicolaescu <address@hidden> writes:
  > Dan> The overhead of mark_object should be lower in that version (it's
  > Dan> higher in 23 because of the way charsets are represented).
  > I would be interested if you, or anybody, has ideas on how to improve
  > the performance of mark_object.  That is, without a whole GC rewrite :-)

Not sure if much can be done about mark_object itself, the issue is
the amount of things that need to be marked.

Making the GC generational might help.  The first GC after startup does
200K mark_object calls, so if most of those don't need to be scanned for
each GC, then that might help.

If you have a testcase that shows GC problems, maybe posting the test
case would enticemore people look into it...

reply via email to

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