OpenAmiga (771/964)

From:John Niclasen
Date:22 Sep 2000 at 17:25:51
Subject:Re: AMIOPEN: XML and Java, a uncharted territory?

Hi Juan!

On 22-Sep-00, Juan Carlos Marcos Rodr�guez wrote:
> From: Jim Peters <jim@aguazul.demon.co.uk>
>
>> I can't possibly tolerate everything stopping dead
>> every now and then for it to garbage-collect.
>
> This garbage collection issue is not a thing that can
> get done in the background, right? Why is it?

The Java garbage collection as descriped in the Amiga SDK
manual:

Page 39 "Garbage Collection":
"Garbage collection is central to Java programming. It
achieves high performance by taking advantage of the
natural pauses in user behaviour. During these idle
periods the Java run-time system automatically runs the
garbage collector in a low-priority thread."
-
"Within our Java implementation, garbage collection can be
interrupted by system events."

Page 42 "Amiga Dynamics":
"The garbage collector is configured to run on request, or
whenever a set amount of memory has been allocated
following the last garbage collection, as well as when
the working set of allocated memory reaches a high water
mark."

So garbage collection can be done in the background, but
you need some clever minds to implement it, and it seems,
we got that. :)

John Niclasen
Denmark.

Subscribe/Unsubscribe: open-request@amiga.com
Amiga FAQ: http://www.amiga.com/faq.html