harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao-Feng Li (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HARMONY-3822) [drlvm][gcv5] cannot create more than 334 threads on Linux SLES10
Date Wed, 09 May 2007 02:26:15 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-3822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xiao-Feng Li reassigned HARMONY-3822:
-------------------------------------

    Assignee: Xiao-Feng Li

> [drlvm][gcv5] 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.


Mime
View raw message