1 Jan 2003 06:13
It's now 2003 (was Re: [ENH][VM][FIX] faster garbage collection, and removal of unused vars)
PhiHo Hoang <phiho.hoang <at> rogers.com>
2003-01-01 05:13:52 GMT
2003-01-01 05:13:52 GMT
HAPPY NEW YEAR, EVREYONE. Cheers, PhiHo. ----- Original Message ----- From: "John M McIntosh" <johnmci <at> smalltalkconsulting.com> To: <squeak-dev <at> lists.squeakfoundation.org> Sent: Monday, December 30, 2002 3:27 AM Subject: [ENH][VM][FIX] faster garbage collection, and removal of unused vars > This change set provides a 18 - 28% improvement in the GC logic using > an test image that has 1.1 million objects in it on the PowerPC. > I won't comment on if this makes any difference on intel, however > someone might try it and see what happens. > > In early December I took a look at the garbage collector and realized > for the mark logic, at least on the PowerPC, we were moving three key > variables in and out of memory multiple times per object, versus > keeping everything in a register or two. Also we managed to make some > procedure calls for each object we looked at, which is time consuming. > > In discussing a possible fix with Tim, we realized that in some cases > because of inlining, why some global variables actually become local > variables because different SLANG methods are folded together. > > This change set add logic to review variable usage and if possible fold > variables that only appear in one inlined method into a declaration(Continue reading)
RSS Feed