harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cyang.cq" <cyang...@gmail.com>
Subject [drlvm]program takes forever to exit when using GCV4.1 in r553700
Date Sun, 26 Aug 2007 14:00:09 GMT
Hi, all
I checked out r553700 about one month ago. And I find that a program 
sometimes takes forever to exit when using GCV4.1.

A simple HelloWorld.java below is enough to reproduce this problem.

public class HelloWorld{
   public static void main(String[] argv){
      System.out.println("Hello, world!");
   } 
}

java -XX:gc.dll=libgc_cc.so HelloWorld

The "Hello, world!" can be printed out, but the program then enters dead loop. 
It seems to be blocked forever when trying to acquire the lock in
java.lang.Thread.detach(); 

My configuration is: 
drlvm: svn = r553700, (Aug 26 2007), Linux/ia32/gcc 3.4.3, debug/release build
OS:    Red Hat Enterprise Linux AS release 4 (Nahant)
       Kernel 2.6.9-5.ELsmp on an i686
CPU:   4 X Intel(R) Xeon(TM) CPU 3.20GHz


Any suggestions?

Thanks in advance.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message