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 2007/07/02 17:33:04 UTC
[jira] Created: (HARMONY-4312) [drlvm][lang-management]
ThreadMXBean methods must return info only for live threads
[drlvm][lang-management] ThreadMXBean methods must return info only for live threads
------------------------------------------------------------------------------------
Key: HARMONY-4312
URL: https://issues.apache.org/jira/browse/HARMONY-4312
Project: Harmony
Issue Type: Bug
Components: DRLVM
Environment: Revision: 552484
Reporter: Andrey Yakushev
java.lang.management .ThreadMXBean methods should take into account only live threads. Current implementation sometimes returns info for just terminated thread. For example, it becomes the reason of org.apache.harmony.lang.management.tests.java.lang.management.ThreadMXBeanTest.testGethThreadInfoLongForTerminatedThread fail (see HARMONY-3844)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HARMONY-4312) [drlvm][lang-management]
ThreadMXBean methods must return info only for live threads
Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Zakharov reassigned HARMONY-4312:
----------------------------------------
Assignee: Alexei Zakharov
> [drlvm][lang-management] ThreadMXBean methods must return info only for live threads
> ------------------------------------------------------------------------------------
>
> Key: HARMONY-4312
> URL: https://issues.apache.org/jira/browse/HARMONY-4312
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Revision: 552484
> Reporter: Andrey Yakushev
> Assignee: Alexei Zakharov
> Attachments: H4312.patch
>
>
> java.lang.management .ThreadMXBean methods should take into account only live threads. Current implementation sometimes returns info for just terminated thread. For example, it becomes the reason of org.apache.harmony.lang.management.tests.java.lang.management.ThreadMXBeanTest.testGethThreadInfoLongForTerminatedThread fail (see HARMONY-3844)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HARMONY-4312) [drlvm][lang-management]
ThreadMXBean methods must return info only for live threads
Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Zakharov resolved HARMONY-4312.
--------------------------------------
Resolution: Fixed
Thanks Andrey. The patch was applied at the repository revision 555229. Please verify it was applied as expected.
> [drlvm][lang-management] ThreadMXBean methods must return info only for live threads
> ------------------------------------------------------------------------------------
>
> Key: HARMONY-4312
> URL: https://issues.apache.org/jira/browse/HARMONY-4312
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Revision: 552484
> Reporter: Andrey Yakushev
> Assignee: Alexei Zakharov
> Attachments: H4312.patch
>
>
> java.lang.management .ThreadMXBean methods should take into account only live threads. Current implementation sometimes returns info for just terminated thread. For example, it becomes the reason of org.apache.harmony.lang.management.tests.java.lang.management.ThreadMXBeanTest.testGethThreadInfoLongForTerminatedThread fail (see HARMONY-3844)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-4312) [drlvm][lang-management]
ThreadMXBean methods must return info only for live threads
Posted by "Andrey Yakushev (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511450 ]
Andrey Yakushev commented on HARMONY-4312:
------------------------------------------
On revision 552484 I've successfully tested Windows 32, Linux 32 and 64.
> [drlvm][lang-management] ThreadMXBean methods must return info only for live threads
> ------------------------------------------------------------------------------------
>
> Key: HARMONY-4312
> URL: https://issues.apache.org/jira/browse/HARMONY-4312
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Revision: 552484
> Reporter: Andrey Yakushev
> Attachments: H4312.patch
>
>
> java.lang.management .ThreadMXBean methods should take into account only live threads. Current implementation sometimes returns info for just terminated thread. For example, it becomes the reason of org.apache.harmony.lang.management.tests.java.lang.management.ThreadMXBeanTest.testGethThreadInfoLongForTerminatedThread fail (see HARMONY-3844)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-4312) [drlvm][lang-management]
ThreadMXBean methods must return info only for live threads
Posted by "Andrey Yakushev (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrey Yakushev updated HARMONY-4312:
-------------------------------------
Attachment: H4312.patch
H4312.patch adds the check if thread alive when needed. It also eliminales several found memory leaks.
> [drlvm][lang-management] ThreadMXBean methods must return info only for live threads
> ------------------------------------------------------------------------------------
>
> Key: HARMONY-4312
> URL: https://issues.apache.org/jira/browse/HARMONY-4312
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Revision: 552484
> Reporter: Andrey Yakushev
> Attachments: H4312.patch
>
>
> java.lang.management .ThreadMXBean methods should take into account only live threads. Current implementation sometimes returns info for just terminated thread. For example, it becomes the reason of org.apache.harmony.lang.management.tests.java.lang.management.ThreadMXBeanTest.testGethThreadInfoLongForTerminatedThread fail (see HARMONY-3844)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-4312) [drlvm][lang-management]
ThreadMXBean methods must return info only for live threads
Posted by "Andrey Yakushev (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511448 ]
Andrey Yakushev commented on HARMONY-4312:
------------------------------------------
I've just tested this patch on revision 554893 on Windows 64bit. HUT lang-management tests and VM build test run successfully.
> [drlvm][lang-management] ThreadMXBean methods must return info only for live threads
> ------------------------------------------------------------------------------------
>
> Key: HARMONY-4312
> URL: https://issues.apache.org/jira/browse/HARMONY-4312
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Revision: 552484
> Reporter: Andrey Yakushev
> Attachments: H4312.patch
>
>
> java.lang.management .ThreadMXBean methods should take into account only live threads. Current implementation sometimes returns info for just terminated thread. For example, it becomes the reason of org.apache.harmony.lang.management.tests.java.lang.management.ThreadMXBeanTest.testGethThreadInfoLongForTerminatedThread fail (see HARMONY-3844)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-4312) [drlvm][lang-management]
ThreadMXBean methods must return info only for live threads
Posted by "Andrey Yakushev (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrey Yakushev updated HARMONY-4312:
-------------------------------------
Patch Info: [Patch Available]
> [drlvm][lang-management] ThreadMXBean methods must return info only for live threads
> ------------------------------------------------------------------------------------
>
> Key: HARMONY-4312
> URL: https://issues.apache.org/jira/browse/HARMONY-4312
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Revision: 552484
> Reporter: Andrey Yakushev
> Attachments: H4312.patch
>
>
> java.lang.management .ThreadMXBean methods should take into account only live threads. Current implementation sometimes returns info for just terminated thread. For example, it becomes the reason of org.apache.harmony.lang.management.tests.java.lang.management.ThreadMXBeanTest.testGethThreadInfoLongForTerminatedThread fail (see HARMONY-3844)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.