|
Re: RE: GC behavior?: msg#01326lang.smalltalk.squeak.general
On Thu, 29 Aug 2002 06:11:15 -0400 "Stephen Pair" <spair@xxxxxxx> wrote: >Is >there some way that this (that the VM keeps doing IGCs because of low >space as opposed to reaching the allocation threshold) could be >detected? Try changing the allocation threshold and see if that makes any difference. Here's a method I use: 'From Squeak3.2gamma of 15 January 2002 [latest update: #4743] on 29 August 2002 at 8:06:14 am'! !SystemDictionary methodsFor: 'miscellaneous' stamp: 'RAA 6/14/2002 14:41'! useLargerAllocationsFor: aBlock "increase the number of allocations between incremental GC's in hopes of gaining speed" | old answer | old _ self vmParameterAt: 5. self vmParameterAt: 5 put: 300000. answer _ aBlock value. self vmParameterAt: 5 put: old. ^answer! ! Cheeers, Bob
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Info about Morph, subroto mukherjee |
|---|---|
| Next by Date: | removeAll:, richard |
| Previous by Thread: | RE: GC behavior?, Stephen Pair |
| Next by Thread: | Re: RE: GC behavior?, Ian Piumarta |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |