This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the GCJ project. See the GCJ home page for more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
On Thu, 18 Feb 1999, Godmar Back wrote: >In Kaffe, we use 19 freelists (i.e., 19 sizes) at this time, so the worst >case overhead is less than 76K on a 4K ppage architecture such as the x86 >for wastage of type 1. > I think that this ignores the fact that garbage collection can leave multiple unfilled blocks for a given size. A given block of objects can only be recycled to contain blocks of a different size once ALL of the objects in that block have been collected. In a perverse case, you might have several 4K blocks each having only a single 16-byte object. -- Jon Olson, Modular Mining Systems 3289 E. Hemisphere Loop Tucson, AZ 85706 INTERNET: olson@mmsi.com PHONE: (520)746-9127 FAX: (520)889-5790