[1706] in java-interest

home help back first fref pref prev next nref lref last post

Re: Learner's questions

daemon@ATHENA.MIT.EDU (Arthur van Hoff)
Thu Sep 14 22:12:54 1995

Date: Thu, 14 Sep 1995 16:35:03 -0800 (PDT)
From: Arthur van Hoff <Arthur.Vanhoff@Eng.Sun.COM>
Reply-To: Arthur van Hoff <Arthur.Vanhoff@Eng.Sun.COM>
To: <min@oti.on.ca>
Cc: java-interest@java.Eng.Sun.COM



Hi Min,

> Hi. I just got a copy of Java binary distribution running on a WinNT
> machine. I have a few simple questions which I could not find answers within
> the package distribution.
>     1. What kinds of garbage collection algorithms being used in Java
> run-time system?

We use a conservative mark+sweep garbage collector. This is an implementation
detail, we could have used a more advanced gc.

>     2. From the class API docs, I don't how to let a thread wait on a OS
> event? Or I have to go 
>     through native methods. Are there any other sync. methods other than
> wait()/notify()? Because
>     those two seems do not support conditional variables or events.

What kind of OS event are you talking about? We don't provide direct access
to any system dependent features.

Have fun,

	Arthur van Hoff

-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post