Re: [linux-audio-dev] [ANN] JJack 0.1 - Java for JACK initial release

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] [ANN] JJack 0.1 - Java for JACK initial release
From: Joern Nettingsmeier (nettings_AT_folkwang-hochschule.de)
Date: Fri May 28 2004 - 09:47:33 EEST


Jens Gulden wrote:
> Hi Jens,
>
> Jens M Andreasen schrieb:
>
>> This might be totally unrelated, but how do you avoid garbage-collection
>> kicking in at random?
>
>
> It kind of is unrelated...
> But do you know about the functionality of package "java.lang.ref"? The
> API-doc says:
>
>> Package java.lang.ref Description
>> Provides reference-object classes, which support a limited degree of
>> interaction with the garbage collector. A program may use a reference
>> object to maintain a reference to some other object in such a way that
>> the latter object may still be reclaimed by the collector. A program
>> may also arrange to be notified some time after the collector has
>> determined that the reachability of a given object has changed.

i think the question is, how do you program real-time applications
in java? you'd need to switch off the garbage collector entirely
when the real-time thread runs, and only activate it when the system
has cycles to spare. how do you do that?

-- 
Jörn Nettingsmeier
Lortzingstr. 11, 45128 Essen, Germany
http://spunk.dnsalias.org (my server)
http://www.linuxaudiodev.org (Linux Audio Developers)


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri May 28 2004 - 15:10:08 EEST