« Return to Thread: [scala] About GC in Scala

Re: [scala] About GC in Scala

by Landei :: Rate this Message:

Reply to Author | View in Thread


Xingyang Lu wrote:
Hi, all:

   I am a college student from The University of Tokyo, and I am working on
some distributed garbage collection algorithm. I need some well documented
testbed of distributed objects run-time environment for my research. I just
wonder if scala is a good choice for me? And what is the GC algorithm for
Scala actor objects? Can anyone tell me about these issues?

Best regards,

Xingyang

--
路 星洋 (Xingyang Lu)
Chikayama & Taura Laboratory,
Department of Information and Communication Engineering,
The University of Tokyo
Email: luxy@logos.ic.i.u-tokyo.ac.jp
Hi!

I'm by no means an expert, especially not for actors, but this is the situation as I understand it: Scala compiles to class files and runs on the JVM, so it uses the GC provided by Java, and as in Java you don't have much more influence on the GC behavior except choosing one of the built-in algorithms and calling System.gc(). Of course Scala isn't limited to Sun's JVM, so you could also compare the characteristics of the different JVM implementations (Sun, Oracle JRockit, IBM...) without changing the code.

Maybe our actor specialists could share some experiences with different GC strategies?

Cheers,
Daniel

 « Return to Thread: [scala] About GC in Scala