comp.lang.ada
 help / color / mirror / Atom feed
From: Samuel Tardieu <sam@rfc1149.net>
Subject: Re: real-time Java
Date: Wed, 16 Apr 2003 01:33:52 +0200
Date: 2003-04-16T01:33:52+02:00	[thread overview]
Message-ID: <878yubgwtb.fsf@inf.enst.fr> (raw)
In-Reply-To: 0eidnSyVZLlWzwGjXTWcpQ@gbronline.com

>>>>> "Wes" == Wesley Groleau <wesgroleau@despammed.com> writes:

>> Unix and Windows will load only one copy of a binary no matter if
>> it's an executable or shared library. So there is only one copy of
>> the garbage collector code. I don't see how collector data could be
>> shared though.

Wes> I can't speak for windows, but this is not true of Solaris.  The
Wes> project I recently left had a problem reporting/tracking tool in
Wes> Java.  Everybody used it.  That mean that at any given time, the
Wes> physical memory and swap space had twenty to thirty copies of the
Wes> JVM running, and each copy had additional memory allocated to all
Wes> the same classes.

"All the same classes" are data. Wojtek was talking about the virtual
machine itself (including the garbage collector), not about all the
loaded classes. Fortunately, only read-only pages are shared, not data :-)

  Sam
-- 
Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/sam



  reply	other threads:[~2003-04-15 23:33 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bebbba07.0304101816.3493f42a@posting.google.com>
2003-04-11  6:10 ` real-time Java Kent Paul Dolan
2003-04-11  6:23   ` Dr. Michael Paus
2003-04-17  6:40     ` Kent Paul Dolan
2003-04-17 21:04       ` Robert A Duff
2003-04-11 11:43   ` Tum
2003-04-15  8:17   ` Darren Winsper
2003-04-15  9:23     ` Mark Thornton
2003-04-15 14:57       ` Wesley Groleau
2003-04-15 15:06         ` Mark Thornton
2003-04-15 15:50         ` Robert A Duff
2003-04-16 23:29           ` Thomas Maslen
2003-04-15 17:59         ` Wojtek Narczynski
2003-04-15 18:43           ` Wesley Groleau
2003-04-15 23:33             ` Samuel Tardieu [this message]
2003-04-16  1:07             ` Kent Paul Dolan
2003-04-15 18:47           ` Wesley Groleau
2003-04-16  5:16             ` Tor Iver Wilhelmsen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox