You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Evgueni Brevnov (JIRA)" <ji...@apache.org> on 2006/12/01 12:51:21 UTC

[jira] Created: (HARMONY-2391) [drlvm] The VM doesn't cleanup resources if there are running daemon threads

[drlvm] The VM doesn't cleanup resources if there are running daemon threads
----------------------------------------------------------------------------

                 Key: HARMONY-2391
                 URL: http://issues.apache.org/jira/browse/HARMONY-2391
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: All
            Reporter: Evgueni Brevnov
         Attachments: java_shutdown.patch

Safe shutdown of java threads implemented.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Re: [jira] Assigned: (HARMONY-2391) [drlvm] The VM doesn't cleanup resources if there are running daemon threads

Posted by Alexey Varlamov <al...@gmail.com>.
2006/12/8, weldon washburn (JIRA) <ji...@apache.org>:
>     [ http://issues.apache.org/jira/browse/HARMONY-2391?page=all ]
>
> weldon washburn reassigned HARMONY-2391:
> ----------------------------------------
>
>    Assignee: weldon washburn  (was: Alexey Varlamov)
>
> > [drlvm] The VM doesn't cleanup resources if there are running daemon threads
> > ----------------------------------------------------------------------------

Weldon,

I sincerely appreciate your willing to review all threading-related
issues, but this one was already assigned and evaluation is ongoing. I
suppose it would be enough just to request a hold-up for review.
BTW the current patch is not final, it should be extended to cover
missed non-ia32 platforms and some other issues.

--
Alexey

[jira] Updated: (HARMONY-2391) [drlvm] The VM doesn't cleanup resources if there are running daemon threads

Posted by "Evgueni Brevnov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2391?page=all ]

Evgueni Brevnov updated HARMONY-2391:
-------------------------------------

    Attachment: java_shutdown_update4.patch

java_shutdown_update4.patch - merged with the last sources.

> [drlvm] The VM doesn't cleanup resources if there are running daemon threads
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2391
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2391
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Evgueni Brevnov
>         Assigned To: weldon washburn
>         Attachments: java_shutdown.patch, java_shutdown_tests.patch, java_shutdown_tests_update.patch, java_shutdown_update.patch, java_shutdown_update2.patch, java_shutdown_update3.patch, java_shutdown_update4.patch
>
>
> Safe shutdown of java threads implemented.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (HARMONY-2391) [drlvm] The VM doesn't cleanup resources if there are running daemon threads

Posted by "weldon washburn (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2391?page=all ]

weldon washburn reassigned HARMONY-2391:
----------------------------------------

    Assignee: weldon washburn  (was: Alexey Varlamov)

> [drlvm] The VM doesn't cleanup resources if there are running daemon threads
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2391
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2391
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Evgueni Brevnov
>         Assigned To: weldon washburn
>         Attachments: java_shutdown.patch, java_shutdown_update.patch
>
>
> Safe shutdown of java threads implemented.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2391) [drlvm] The VM doesn't cleanup resources if there are running daemon threads

Posted by "Evgueni Brevnov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2391?page=all ]

Evgueni Brevnov updated HARMONY-2391:
-------------------------------------

    Attachment: java_shutdown_update5.patch

I looked closer at the stress.Sync test problem and it turned out to be the problem of shutdown patch not TM problem. So here is the updated patch with the problem fixed. Now 100% of drlvm & classlib tests pass on Win-ia32 Lin-ia32. 100% of drlvm tests pass on em64t. Other configurations were not tested. Please, check the rest if necessary and commit.

Thanks
Evgueni

> [drlvm] The VM doesn't cleanup resources if there are running daemon threads
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2391
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2391
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Evgueni Brevnov
>         Assigned To: weldon washburn
>         Attachments: java_shutdown.patch, java_shutdown_tests.patch, java_shutdown_tests_update.patch, java_shutdown_update.patch, java_shutdown_update2.patch, java_shutdown_update3.patch, java_shutdown_update4.patch, java_shutdown_update5.patch
>
>
> Safe shutdown of java threads implemented.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (HARMONY-2391) [drlvm] The VM doesn't cleanup resources if there are running daemon threads

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2391?page=all ]

Alexey Varlamov resolved HARMONY-2391.
--------------------------------------

    Resolution: Fixed

Applied at r487483, please verify.

> [drlvm] The VM doesn't cleanup resources if there are running daemon threads
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2391
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2391
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Evgueni Brevnov
>         Assigned To: Alexey Varlamov
>         Attachments: java_shutdown.patch, java_shutdown_tests.patch, java_shutdown_tests_update.patch, java_shutdown_update.patch, java_shutdown_update2.patch, java_shutdown_update3.patch, java_shutdown_update4.patch, java_shutdown_update5.patch, java_shutdown_update6.patch
>
>
> Safe shutdown of java threads implemented.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2391) [drlvm] The VM doesn't cleanup resources if there are running daemon threads

Posted by "Evgueni Brevnov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2391?page=comments#action_12457730 ] 
            
Evgueni Brevnov commented on HARMONY-2391:
------------------------------------------

The patch was tested on the following configs: Win-ia32, Lin-ia32, Lin-em64t. All classlib's & vm tests are OK. Except recetly included smoke test stress.Sync. It hangs because of TM which fails to interrupt some threads. I believe stress.Sync can be temporary excluded until the problem is fixed. Note that it is not a regression. The bug exists in current code base but nobody reveals it yet. I'll file a JIRA with dependence on this patch.

Evgueni

> [drlvm] The VM doesn't cleanup resources if there are running daemon threads
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2391
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2391
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Evgueni Brevnov
>         Assigned To: weldon washburn
>         Attachments: java_shutdown.patch, java_shutdown_tests.patch, java_shutdown_tests_update.patch, java_shutdown_update.patch, java_shutdown_update2.patch, java_shutdown_update3.patch
>
>
> Safe shutdown of java threads implemented.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2391) [drlvm] The VM doesn't cleanup resources if there are running daemon threads

Posted by "Evgueni Brevnov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2391?page=all ]

Evgueni Brevnov updated HARMONY-2391:
-------------------------------------

    Attachment: java_shutdown_tests.patch

> [drlvm] The VM doesn't cleanup resources if there are running daemon threads
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2391
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2391
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Evgueni Brevnov
>         Assigned To: weldon washburn
>         Attachments: java_shutdown.patch, java_shutdown_tests.patch, java_shutdown_update.patch, java_shutdown_update2.patch
>
>
> Safe shutdown of java threads implemented.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2391) [drlvm] The VM doesn't cleanup resources if there are running daemon threads

Posted by "Evgueni Brevnov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2391?page=all ]

Evgueni Brevnov updated HARMONY-2391:
-------------------------------------

    Attachment: java_shutdown_tests_update.patch

> [drlvm] The VM doesn't cleanup resources if there are running daemon threads
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2391
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2391
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Evgueni Brevnov
>         Assigned To: weldon washburn
>         Attachments: java_shutdown.patch, java_shutdown_tests.patch, java_shutdown_tests_update.patch, java_shutdown_update.patch, java_shutdown_update2.patch, java_shutdown_update3.patch
>
>
> Safe shutdown of java threads implemented.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2391) [drlvm] The VM doesn't cleanup resources if there are running daemon threads

Posted by "Evgueni Brevnov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2391?page=all ]

Evgueni Brevnov updated HARMONY-2391:
-------------------------------------

    Attachment: java_shutdown_update2.patch

> [drlvm] The VM doesn't cleanup resources if there are running daemon threads
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2391
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2391
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Evgueni Brevnov
>         Assigned To: weldon washburn
>         Attachments: java_shutdown.patch, java_shutdown_update.patch, java_shutdown_update2.patch
>
>
> Safe shutdown of java threads implemented.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2391) [drlvm] The VM doesn't cleanup resources if there are running daemon threads

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2391?page=comments#action_12456816 ] 
            
Alexey Varlamov commented on HARMONY-2391:
------------------------------------------

More interesting, org.apache.harmony.luni.tests.java.lang.ThreadGroupTest.test_suspend start failing stably (Linux@ia32):

junit.framework.AssertionFailedError: stop() has not stopped threads in ThreadGroup 'testRoot' at org.apache.harmony.luni.tests.java.lang.ThreadGroupTest.test_suspend(ThreadGroupTest.java:867) at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)

> [drlvm] The VM doesn't cleanup resources if there are running daemon threads
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2391
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2391
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Evgueni Brevnov
>         Assigned To: Alexey Varlamov
>         Attachments: java_shutdown.patch, java_shutdown_update.patch
>
>
> Safe shutdown of java threads implemented.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2391) [drlvm] The VM doesn't cleanup resources if there are running daemon threads

Posted by "Pavel Afremov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2391?page=comments#action_12459685 ] 
            
Pavel Afremov commented on HARMONY-2391:
----------------------------------------

Additional cleanup for this JIRA is added to HARMONY-2800

> [drlvm] The VM doesn't cleanup resources if there are running daemon threads
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2391
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2391
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Evgueni Brevnov
>         Assigned To: Alexey Varlamov
>         Attachments: java_shutdown.patch, java_shutdown_tests.patch, java_shutdown_tests_update.patch, java_shutdown_update.patch, java_shutdown_update2.patch, java_shutdown_update3.patch, java_shutdown_update4.patch, java_shutdown_update5.patch, java_shutdown_update6.patch
>
>
> Safe shutdown of java threads implemented.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2391) [drlvm] The VM doesn't cleanup resources if there are running daemon threads

Posted by "Evgueni Brevnov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2391?page=all ]

Evgueni Brevnov updated HARMONY-2391:
-------------------------------------

    Attachment: java_shutdown.patch

Tested on Win2003, Suse9

> [drlvm] The VM doesn't cleanup resources if there are running daemon threads
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2391
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2391
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Evgueni Brevnov
>         Attachments: java_shutdown.patch
>
>
> Safe shutdown of java threads implemented.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (HARMONY-2391) [drlvm] The VM doesn't cleanup resources if there are running daemon threads

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

Alexey Varlamov closed HARMONY-2391.
------------------------------------


> [drlvm] The VM doesn't cleanup resources if there are running daemon threads
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2391
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2391
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Evgueni Brevnov
>         Assigned To: Alexey Varlamov
>         Attachments: java_shutdown.patch, java_shutdown_tests.patch, java_shutdown_tests_update.patch, java_shutdown_update.patch, java_shutdown_update2.patch, java_shutdown_update3.patch, java_shutdown_update4.patch, java_shutdown_update5.patch, java_shutdown_update6.patch
>
>
> Safe shutdown of java threads implemented.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (HARMONY-2391) [drlvm] The VM doesn't cleanup resources if there are running daemon threads

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2391?page=all ]

Alexey Varlamov reassigned HARMONY-2391:
----------------------------------------

    Assignee: Alexey Varlamov

> [drlvm] The VM doesn't cleanup resources if there are running daemon threads
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2391
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2391
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Evgueni Brevnov
>         Assigned To: Alexey Varlamov
>         Attachments: java_shutdown.patch, java_shutdown_update.patch
>
>
> Safe shutdown of java threads implemented.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2391) [drlvm] The VM doesn't cleanup resources if there are running daemon threads

Posted by "Evgueni Brevnov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2391?page=comments#action_12457389 ] 
            
Evgueni Brevnov commented on HARMONY-2391:
------------------------------------------

Alexey,

Thanks a lot for the evaluation! You are right  I didn't pay much attantion to em64t & ipf. (my fault). I fixed the compilation on em64t with the java_shutdown_update2.patch. Note that seperate patch was created for the tests. Unfortunately, I still can't build VM on em64t because of my local environment problems (not all required libraries installed). I beileve everything should be OK now.

Regarding ThreadGroupTest.test_suspend. I found the problem place but don't know how to fix it in an easy way. I will describe it in details on the list.

Also, recently included smoke test stress.Sync hangs. The problem is in TM and how it deals with thread interruption. I'll raise this issue on the list as well.

Thanks
Evgueni

> [drlvm] The VM doesn't cleanup resources if there are running daemon threads
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2391
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2391
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Evgueni Brevnov
>         Assigned To: weldon washburn
>         Attachments: java_shutdown.patch, java_shutdown_update.patch, java_shutdown_update2.patch
>
>
> Safe shutdown of java threads implemented.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2391) [drlvm] The VM doesn't cleanup resources if there are running daemon threads

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2391?page=comments#action_12456790 ] 
            
Alexey Varlamov commented on HARMONY-2391:
------------------------------------------

Evgueni, great job, very impressive!
Everything works perfectly on ia32. Just a minor issue, smoke/shutdown tests are presented twice in the patch.

Unfortunately em64t is not compilable with this mods :( I suspect IPF migh be too.
We need to work this out before commit.

> [drlvm] The VM doesn't cleanup resources if there are running daemon threads
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2391
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2391
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Evgueni Brevnov
>         Assigned To: Alexey Varlamov
>         Attachments: java_shutdown.patch, java_shutdown_update.patch
>
>
> Safe shutdown of java threads implemented.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (HARMONY-2391) [drlvm] The VM doesn't cleanup resources if there are running daemon threads

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2391?page=all ]

Alexey Varlamov reassigned HARMONY-2391:
----------------------------------------

    Assignee: Alexey Varlamov  (was: weldon washburn)

> [drlvm] The VM doesn't cleanup resources if there are running daemon threads
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2391
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2391
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Evgueni Brevnov
>         Assigned To: Alexey Varlamov
>         Attachments: java_shutdown.patch, java_shutdown_tests.patch, java_shutdown_tests_update.patch, java_shutdown_update.patch, java_shutdown_update2.patch, java_shutdown_update3.patch, java_shutdown_update4.patch, java_shutdown_update5.patch, java_shutdown_update6.patch
>
>
> Safe shutdown of java threads implemented.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2391) [drlvm] The VM doesn't cleanup resources if there are running daemon threads

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2391?page=comments#action_12458710 ] 
            
Alexey Varlamov commented on HARMONY-2391:
------------------------------------------

Reassigning this JIRA back, as agreed.

> [drlvm] The VM doesn't cleanup resources if there are running daemon threads
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2391
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2391
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Evgueni Brevnov
>         Assigned To: weldon washburn
>         Attachments: java_shutdown.patch, java_shutdown_tests.patch, java_shutdown_tests_update.patch, java_shutdown_update.patch, java_shutdown_update2.patch, java_shutdown_update3.patch, java_shutdown_update4.patch, java_shutdown_update5.patch, java_shutdown_update6.patch
>
>
> Safe shutdown of java threads implemented.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2391) [drlvm] The VM doesn't cleanup resources if there are running daemon threads

Posted by "Evgueni Brevnov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2391?page=all ]

Evgueni Brevnov updated HARMONY-2391:
-------------------------------------

    Attachment: java_shutdown_update3.patch

1) Safe-point callback related changes were reverted. These changes will come as a separate JIRA.
2) Changes for smoke.test.xml were moved to java_shutdown_test_update.patch

So, currently valid patches are: java_shutdown_update3.patch & java_shutdown_test_update.patch

> [drlvm] The VM doesn't cleanup resources if there are running daemon threads
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2391
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2391
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Evgueni Brevnov
>         Assigned To: weldon washburn
>         Attachments: java_shutdown.patch, java_shutdown_tests.patch, java_shutdown_tests_update.patch, java_shutdown_update.patch, java_shutdown_update2.patch, java_shutdown_update3.patch
>
>
> Safe shutdown of java threads implemented.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2391) [drlvm] The VM doesn't cleanup resources if there are running daemon threads

Posted by "Evgueni Brevnov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2391?page=all ]

Evgueni Brevnov updated HARMONY-2391:
-------------------------------------

    Attachment: java_shutdown_update6.patch

java_shutdown_update6.patch - just merged with the latest sources

> [drlvm] The VM doesn't cleanup resources if there are running daemon threads
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2391
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2391
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Evgueni Brevnov
>         Assigned To: weldon washburn
>         Attachments: java_shutdown.patch, java_shutdown_tests.patch, java_shutdown_tests_update.patch, java_shutdown_update.patch, java_shutdown_update2.patch, java_shutdown_update3.patch, java_shutdown_update4.patch, java_shutdown_update5.patch, java_shutdown_update6.patch
>
>
> Safe shutdown of java threads implemented.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2391) [drlvm] The VM doesn't cleanup resources if there are running daemon threads

Posted by "Evgueni Brevnov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2391?page=all ]

Evgueni Brevnov updated HARMONY-2391:
-------------------------------------

    Attachment: java_shutdown_update.patch

The patch is updated - java_shutdown_update.patch. Deadlock in shutdown.TestInterrupt smoke test fixed. Patch description:

1) Java thread stack unwinding in shutdown mode implemented.
2) Proper processing of SIGINT (Ctrl+C) implemented.
3) Proper processing of SIGQUIT (Ctrl+\) implemented.
4) JNI function FatalError reimplemented.
5) Smoke test infrastructure extented to compile native sources.
6) New smoke tests were added to test VM shutdown.

> [drlvm] The VM doesn't cleanup resources if there are running daemon threads
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2391
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2391
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Evgueni Brevnov
>         Attachments: java_shutdown.patch, java_shutdown_update.patch
>
>
> Safe shutdown of java threads implemented.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira