Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 33920 invoked from network); 21 May 2007 05:46:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 May 2007 05:46:38 -0000 Received: (qmail 60049 invoked by uid 500); 21 May 2007 05:46:44 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 60024 invoked by uid 500); 21 May 2007 05:46:44 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 60015 invoked by uid 99); 21 May 2007 05:46:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 May 2007 22:46:44 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 May 2007 22:46:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 715FD714075 for ; Sun, 20 May 2007 22:46:16 -0700 (PDT) Message-ID: <10466629.1179726376461.JavaMail.jira@brutus> Date: Sun, 20 May 2007 22:46:16 -0700 (PDT) From: "Xiao-Feng Li (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-3822) [drlvm][gc_gen] cannot create more than 334 threads on Linux SLES10 In-Reply-To: <10236622.1178619555503.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-3822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiao-Feng Li updated HARMONY-3822: ---------------------------------- Summary: [drlvm][gc_gen] cannot create more than 334 threads on Linux SLES10 (was: [drlvm][gcv5] cannot create more than 334 threads on Linux SLES10) I need to install a SUSE10 environment to reproduce the problem. > [drlvm][gc_gen] cannot create more than 334 threads on Linux SLES10 > ------------------------------------------------------------------- > > Key: HARMONY-3822 > URL: https://issues.apache.org/jira/browse/HARMONY-3822 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: Linux/x86 SLES10, harmony-jdk-r535876 > Reporter: Ivan Popov > Assigned To: Xiao-Feng Li > Attachments: ThreadTest.java > > > After switching Harmony to GCv5, I cannot run JPDA tests on Linux SLES10. After a number of tests passed, remaining tests fail with OutOfMemoryException while creating thread. With -XX:vm.dlls=libgc_cc.so all tests pass. > I see this problem only on SLES10 (kernel 2.6.16.21-0.25-bigsmp). It is not reproduced on SLES9 (kernel 2.6.5-7.191-bigsmp). > I'm attaching simple test that creates and runs 3000 threads sequentially. It works well for GCv41 and hangs for GCv5 with 100% cpu utilization after throwing exception (^C does not kill). > Here is test output for SLES10: > ----------------------------------------------------------------------------------------- > $ uname -a > Linux nstdrlxl11 2.6.16.21-0.25-bigsmp #1 SMP Tue Sep 19 07:26:15 UTC 2006 i686 i686 i386 GNU/Linux > $ .../target/hdk/jdk/jre/bin/java -XX:vm.dlls=libgc_cc.so -cp . ThreadTest > <****> > Created threads: 10000 > $ .../target/hdk/jdk/jre/bin/java -XX:vm.dlls=libgc_gen.so -cp . ThreadTest > <****> > Created threads: 334 > ^C > ^Z > [1]+ Stopped .../target/hdk/jdk/jre/bin/java -XX:vm.dlls=libgc_gen.so -cp . ThreadTest > ----------------------------------------------------------------------------------------- > This work well on SLES9: > ----------------------------------------------------------------------------------------- > $ uname -a > Linux nstdrlel16 2.6.5-7.191-bigsmp #1 SMP Tue Jun 28 14:58:56 UTC 2005 i686 i686 i386 GNU/Linux > $ /export/users/ipopov1/svn_harmony_federated/trunk/target/hdk/jdk/jre/bin/java -XX:vm.dlls=libgc_cc.so -cp . ThreadTest > <*****> > Created threads: 10000 > $ /export/users/ipopov1/svn_harmony_federated/trunk/target/hdk/jdk/jre/bin/java -XX:vm.dlls=libgc_gen.so -cp . ThreadTest > <*****> > Created threads: 10000 > ----------------------------------------------------------------------------------------- -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.