java for dsp?
Ben Jefferys
ben at qsure.demon.co.uk
Tue Nov 24 10:06:40 EST 1998
James McCartney wrote:
> I think java's non real time gc (stop all threads to collect)
> would kill you.
>
> Unfortunately most implementations of languages that use GC
> do not give you options on what kind of algorithm to run.
I think it is possible on recent Java implementations to force the
garbage collector to collect at certain points. Doing this after you
have finished with an object and removed all pointers to it would be
equivalent to using free/delete in C/C++. Or you could just never leave
anything to be collected - hopefully a good GC algorithm would do a very
minimnal amount of work where there is nothing to collect. I'm not
really aware of the issues involved in this however.
Bye!
Ben.
More information about the music-dsp
mailing list