This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Runtime.getRuntime().gc() never returns in included example
- From: Andrew Haley <aph at redhat dot com>
- To: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- Cc: <java at gcc dot gnu dot org>
- Date: Sat, 16 Aug 2003 14:28:00 +0100
- Subject: Runtime.getRuntime().gc() never returns in included example
- References: <000001c36377$ea5c4740$0200000a@famine>
Øyvind Harboe writes:
> I'm was trying to track down a different bug, when I ran across
> this behaviour. Don't know what to make of it.
>
> The program below hangs in Runtime.getRuntime.gc().
Not when I tried it. Mind you, this program will run for a very long
time, given that you're calling System.gc() about 10^9 times.
Andrew.