This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Runtime.getRuntime().gc() never returns in included example


Ø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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]