This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
marking [Re: Projects]
- To: Tom Tromey <tromey at cygnus dot com>
- Subject: marking [Re: Projects]
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: Wed, 10 May 2000 12:17:36 +1200
- CC: "Boehm, Hans" <hans_boehm at hp dot com>, "'minyard at acm dot org'" <minyard at acm dot org>, "Jonathan P. Olson" <olson at mmsi dot com>, green at cygnus dot com, java-discuss at sourceware dot cygnus dot com
- References: <140D21516EC2D3119EE700902787664456E7EE@hplex1.hpl.hp.com> <200005091819.LAA28228@ferrule.cygnus.com>
Tom Tromey wrote:
> It would also be interesting to know how often these large objects
> occur. My guess is that they rarely occur.
Yes, the vast majority of Java objects (with the exception of Object
arrays) are smaller than 128 bits and thus fit within our 30-bit marking
descriptor [*]. Even then, we can still handle larger objects provided
that all their reference fields fit within the bitmap (as is the case
for Strings and primitive arrays).
[*] http://mozilla.org/projects/ef/techdocs/design/gc.html
regards
[ bryce ]