[MUD-Dev] Re: MUD Development Digest

Jon A. Lambert jlsysinc at ix.netcom.com
Thu Apr 23 01:06:01 CEST 1998


On 22 Apr 98 at 19:54, Ben Greear wrote:
> Ben Greear (greear at cyberhighway.net)  http://www.primenet.com/~greear 
> Author of ScryMUD:  mud.primenet.com 4444
> http://www.primenet.com/~greear/ScryMUD/scry.html
> On Wed, 22 Apr 1998, J C Lawrence wrote:
> 
> [snipped good args about heap management]
> 
> I wonder if this applies in Java?  Since it is already managing
> all the memory, I'd bet it does (or will) provide heap defrag.
> 
> Anyone got any info on this?
> 

Well FWIW a quote from the "Java in a Nutshell" book:

"No, garbage collection will never be as efficient as explicit, 
well-written memory allocation and deallocation.  But it does make 
programming a lot easier and less prone to bugs."
 
Whether heap defragmentation is done or not depends on the vendor VM. 
AFAIK there is no Java requirement for it, just for the VM to do 
garbage collection and memory allocation.

--
--/*\ Jon A. Lambert - TychoMUD     Internet:jlsysinc at ix.netcom.com /*\--
--/*\ Mud Server Developer's Page <http://www.netcom.com/~jlsysinc> /*\--
--/*\   "Everything that deceives may be said to enchant" - Plato   /*\--

--
MUD-Dev: Advancing an unrealised future.



More information about the mud-dev-archive mailing list