harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Salikh Zakirov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2437) [drlvm] out of memory creating unused Threads
Date Tue, 23 Jan 2007 10:33:49 GMT

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

Salikh Zakirov updated HARMONY-2437:
------------------------------------

    Attachment: ThreadOOM.java

ThreadOOM.java provides a stable reproducer of the leaked java.lang.Thread issue.

The original Test.java may have caused VM crash due to native memory leaks before java heap
is full.
The trick in ThreadOOM is to create vast amount of garbage attached to j.l.Thread objects.

> [drlvm] out of memory creating unused Threads
> ---------------------------------------------
>
>                 Key: HARMONY-2437
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2437
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Ivan Volosyuk
>         Assigned To: Alexey Varlamov
>            Priority: Minor
>         Attachments: h-2437-fix.diff, Test.java, ThreadOOM.java
>
>
> Simple test which fails with OOME:
> public class Test extends Thread {
>     public static void main(String args[]) {
>         for(;;) {
>             new Test();
>         }
>     }
> }

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