You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Andrey Yakushev (JIRA)" <ji...@apache.org> on 2008/02/11 10:54:08 UTC

[jira] Created: (HARMONY-5484) [drlvm] Handles leakage in StackTraceTest

[drlvm] Handles leakage in StackTraceTest
-----------------------------------------

                 Key: HARMONY-5484
                 URL: https://issues.apache.org/jira/browse/HARMONY-5484
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: Windows x86, could be on Linux too
Revision 617144
            Reporter: Andrey Yakushev


 api.kernel.thread.StackTraceTest.StackTraceTest from the reliability suite have handle leakage ~40000 for 20 minutes run on Windows x86. It causes hang in CC test running.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HARMONY-5484) [drlvm][gc] Handles leakage in StackTraceTest from the reliability test suite

Posted by "Xiao-Feng Li (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiao-Feng Li reassigned HARMONY-5484:
-------------------------------------

    Assignee: Xiao-Feng Li

> [drlvm][gc] Handles leakage in StackTraceTest from the reliability test suite
> -----------------------------------------------------------------------------
>
>                 Key: HARMONY-5484
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5484
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows x86, could be on Linux too
> Revision 617144
>            Reporter: Andrey Yakushev
>            Assignee: Xiao-Feng Li
>         Attachments: exclude_StackTraceTest.patch, Handle.java
>
>
>  api.kernel.thread.StackTraceTest.StackTraceTest from the reliability suite have handle leakage ~40000 for 20 minutes run on Windows x86. It causes hang in CC test running.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-5484) [drlvm] Handles leakage in StackTraceTest

Posted by "Andrey Yakushev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey Yakushev updated HARMONY-5484:
-------------------------------------

    Attachment: exclude_StackTraceTest.patch

exclude_StackTraceTest.patch excludes StackTraceTest from default test running cycle

> [drlvm] Handles leakage in StackTraceTest
> -----------------------------------------
>
>                 Key: HARMONY-5484
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5484
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows x86, could be on Linux too
> Revision 617144
>            Reporter: Andrey Yakushev
>         Attachments: exclude_StackTraceTest.patch
>
>
>  api.kernel.thread.StackTraceTest.StackTraceTest from the reliability suite have handle leakage ~40000 for 20 minutes run on Windows x86. It causes hang in CC test running.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-5484) [drlvm] Handles leakage in StackTraceTest from the reliability test suite

Posted by "Andrey Yakushev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey Yakushev updated HARMONY-5484:
-------------------------------------

    Summary: [drlvm] Handles leakage in StackTraceTest from the reliability test suite  (was: [drlvm] Handles leakage in StackTraceTest)

> [drlvm] Handles leakage in StackTraceTest from the reliability test suite
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-5484
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5484
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows x86, could be on Linux too
> Revision 617144
>            Reporter: Andrey Yakushev
>         Attachments: exclude_StackTraceTest.patch, Handle.java
>
>
>  api.kernel.thread.StackTraceTest.StackTraceTest from the reliability suite have handle leakage ~40000 for 20 minutes run on Windows x86. It causes hang in CC test running.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-5484) [drlvm] Handles leakage in StackTraceTest

Posted by "Pavel Rebriy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569958#action_12569958 ] 

Pavel Rebriy commented on HARMONY-5484:
---------------------------------------

Reliability test api.kernel.thread.StackTraceTest.StackTraceTest passed on revision 628623 with max OS handle ~2000.

> [drlvm] Handles leakage in StackTraceTest
> -----------------------------------------
>
>                 Key: HARMONY-5484
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5484
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows x86, could be on Linux too
> Revision 617144
>            Reporter: Andrey Yakushev
>         Attachments: exclude_StackTraceTest.patch
>
>
>  api.kernel.thread.StackTraceTest.StackTraceTest from the reliability suite have handle leakage ~40000 for 20 minutes run on Windows x86. It causes hang in CC test running.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-5484) [drlvm] Handles leakage in StackTraceTest

Posted by "Pavel Rebriy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Rebriy updated HARMONY-5484:
----------------------------------

    Attachment: Handle.java

Simple test Handle.java

> [drlvm] Handles leakage in StackTraceTest
> -----------------------------------------
>
>                 Key: HARMONY-5484
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5484
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows x86, could be on Linux too
> Revision 617144
>            Reporter: Andrey Yakushev
>         Attachments: exclude_StackTraceTest.patch, Handle.java
>
>
>  api.kernel.thread.StackTraceTest.StackTraceTest from the reliability suite have handle leakage ~40000 for 20 minutes run on Windows x86. It causes hang in CC test running.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-5484) [drlvm] Handles leakage in StackTraceTest

Posted by "Pavel Rebriy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12572963#action_12572963 ] 

Pavel Rebriy commented on HARMONY-5484:
---------------------------------------

I've recheck the test on release and found handle leak as was reported. Working with the reliability test I've created a small test "Handle.java" to investigate a handle leaks and to reproduce the problem.

The result a the following:

1. $ java Handle

In this case test uses about 6000 handles by creating a million threads.

2. $ java Handle 10

In this case test uses about 200000 handles by creating a million threads.

3. $ java Handle local

The same result as in the 2nd case - 200000 handles on million threads.

It looks like the problem in GC working with thread. Somehow thread blocks don't reuse and old handles doesn't released if we store reference to thread on array or many local variables. 

> [drlvm] Handles leakage in StackTraceTest
> -----------------------------------------
>
>                 Key: HARMONY-5484
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5484
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows x86, could be on Linux too
> Revision 617144
>            Reporter: Andrey Yakushev
>         Attachments: exclude_StackTraceTest.patch, Handle.java
>
>
>  api.kernel.thread.StackTraceTest.StackTraceTest from the reliability suite have handle leakage ~40000 for 20 minutes run on Windows x86. It causes hang in CC test running.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-5484) [drlvm] Handles leakage in StackTraceTest

Posted by "Stepan Mishura (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568024#action_12568024 ] 

Stepan Mishura commented on HARMONY-5484:
-----------------------------------------

The test excluded at r620733.

> [drlvm] Handles leakage in StackTraceTest
> -----------------------------------------
>
>                 Key: HARMONY-5484
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5484
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows x86, could be on Linux too
> Revision 617144
>            Reporter: Andrey Yakushev
>         Attachments: exclude_StackTraceTest.patch
>
>
>  api.kernel.thread.StackTraceTest.StackTraceTest from the reliability suite have handle leakage ~40000 for 20 minutes run on Windows x86. It causes hang in CC test running.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-5484) [drlvm][gc] Handles leakage in StackTraceTest from the reliability test suite

Posted by "Andrey Yakushev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey Yakushev updated HARMONY-5484:
-------------------------------------

    Summary: [drlvm][gc] Handles leakage in StackTraceTest from the reliability test suite  (was: [drlvm] Handles leakage in StackTraceTest from the reliability test suite)

It seems like gc bug, so I changed the subject

> [drlvm][gc] Handles leakage in StackTraceTest from the reliability test suite
> -----------------------------------------------------------------------------
>
>                 Key: HARMONY-5484
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5484
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows x86, could be on Linux too
> Revision 617144
>            Reporter: Andrey Yakushev
>         Attachments: exclude_StackTraceTest.patch, Handle.java
>
>
>  api.kernel.thread.StackTraceTest.StackTraceTest from the reliability suite have handle leakage ~40000 for 20 minutes run on Windows x86. It causes hang in CC test running.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.