You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexei Fedotov (JIRA)" <ji...@apache.org> on 2008/02/10 13:03:08 UTC
[jira] Created: (HARMONY-5481) [drlvm][shutdown] adding a native
callback which executes on VM shutdown
[drlvm][shutdown] adding a native callback which executes on VM shutdown
------------------------------------------------------------------------
Key: HARMONY-5481
URL: https://issues.apache.org/jira/browse/HARMONY-5481
Project: Harmony
Issue Type: Improvement
Components: DRLVM
Reporter: Alexei Fedotov
Modifying shutdown sequence for DestroyJavaVM, System.exit() and Ctrl+C shutdown paths by adding a native callback. The callback is currently used for dumping VM statistics.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-5481) [drlvm][shutdown] adding a native
callback which executes on VM shutdown
Posted by "Alexei Fedotov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568169#action_12568169 ]
Alexei Fedotov commented on HARMONY-5481:
-----------------------------------------
Pavel, thanks!
The updated patch at HARMONY-5499 contains a function renamed to exec_native_shutdown_sequence()
> [drlvm][shutdown] adding a native callback which executes on VM shutdown
> ------------------------------------------------------------------------
>
> Key: HARMONY-5481
> URL: https://issues.apache.org/jira/browse/HARMONY-5481
> Project: Harmony
> Issue Type: Improvement
> Components: DRLVM
> Reporter: Alexei Fedotov
> Attachments: vm_native_shutdown_1.patch
>
>
> Modifying shutdown sequence for DestroyJavaVM, System.exit() and Ctrl+C shutdown paths by adding a native callback. The callback is currently used for dumping VM statistics.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HARMONY-5481) [drlvm][shutdown] adding a native
callback which executes on VM shutdown
Posted by "Pavel Pervov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Pervov resolved HARMONY-5481.
-----------------------------------
Resolution: Fixed
Assignee: Pavel Pervov
As HARMONY-5499 is committed this is fixed too.
> [drlvm][shutdown] adding a native callback which executes on VM shutdown
> ------------------------------------------------------------------------
>
> Key: HARMONY-5481
> URL: https://issues.apache.org/jira/browse/HARMONY-5481
> Project: Harmony
> Issue Type: Improvement
> Components: DRLVM
> Reporter: Alexei Fedotov
> Assignee: Pavel Pervov
> Attachments: vm_native_shutdown_1.patch
>
>
> Modifying shutdown sequence for DestroyJavaVM, System.exit() and Ctrl+C shutdown paths by adding a native callback. The callback is currently used for dumping VM statistics.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (HARMONY-5481) [drlvm][shutdown] adding a native
callback which executes on VM shutdown
Posted by "Alexei Fedotov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Fedotov closed HARMONY-5481.
-----------------------------------
Thanks, Pavel.
The issue is verified.
> [drlvm][shutdown] adding a native callback which executes on VM shutdown
> ------------------------------------------------------------------------
>
> Key: HARMONY-5481
> URL: https://issues.apache.org/jira/browse/HARMONY-5481
> Project: Harmony
> Issue Type: Improvement
> Components: DRLVM
> Reporter: Alexei Fedotov
> Assignee: Pavel Pervov
> Attachments: vm_native_shutdown_1.patch
>
>
> Modifying shutdown sequence for DestroyJavaVM, System.exit() and Ctrl+C shutdown paths by adding a native callback. The callback is currently used for dumping VM statistics.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-5481) [drlvm][shutdown] adding a native
callback which executes on VM shutdown
Posted by "Alexei Fedotov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Fedotov updated HARMONY-5481:
------------------------------------
Attachment: vm_native_shutdown_1.patch
Improved patch by flushing statistics flushes fully.
> [drlvm][shutdown] adding a native callback which executes on VM shutdown
> ------------------------------------------------------------------------
>
> Key: HARMONY-5481
> URL: https://issues.apache.org/jira/browse/HARMONY-5481
> Project: Harmony
> Issue Type: Improvement
> Components: DRLVM
> Reporter: Alexei Fedotov
> Attachments: vm_native_shutdown.patch, vm_native_shutdown_1.patch
>
>
> Modifying shutdown sequence for DestroyJavaVM, System.exit() and Ctrl+C shutdown paths by adding a native callback. The callback is currently used for dumping VM statistics.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-5481) [drlvm][shutdown] adding a native
callback which executes on VM shutdown
Posted by "Alexei Fedotov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Fedotov updated HARMONY-5481:
------------------------------------
Attachment: vm_native_shutdown.patch
I'm investing a bit more into testing the patch myself, but any review comments are very welcome right now.
> [drlvm][shutdown] adding a native callback which executes on VM shutdown
> ------------------------------------------------------------------------
>
> Key: HARMONY-5481
> URL: https://issues.apache.org/jira/browse/HARMONY-5481
> Project: Harmony
> Issue Type: Improvement
> Components: DRLVM
> Reporter: Alexei Fedotov
> Attachments: vm_native_shutdown.patch
>
>
> Modifying shutdown sequence for DestroyJavaVM, System.exit() and Ctrl+C shutdown paths by adding a native callback. The callback is currently used for dumping VM statistics.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-5481) [drlvm][shutdown] adding a native
callback which executes on VM shutdown
Posted by "Alexei Fedotov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Fedotov updated HARMONY-5481:
------------------------------------
Attachment: (was: vm_native_shutdown.patch)
> [drlvm][shutdown] adding a native callback which executes on VM shutdown
> ------------------------------------------------------------------------
>
> Key: HARMONY-5481
> URL: https://issues.apache.org/jira/browse/HARMONY-5481
> Project: Harmony
> Issue Type: Improvement
> Components: DRLVM
> Reporter: Alexei Fedotov
> Attachments: vm_native_shutdown_1.patch
>
>
> Modifying shutdown sequence for DestroyJavaVM, System.exit() and Ctrl+C shutdown paths by adding a native callback. The callback is currently used for dumping VM statistics.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-5481) [drlvm][shutdown] adding a native
callback which executes on VM shutdown
Posted by "Pavel Pervov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567987#action_12567987 ]
Pavel Pervov commented on HARMONY-5481:
---------------------------------------
Alexei,
If you want to flush statistics, it would be better to name the function correspondingly. Otherwise, shutdown paths have nothing in common for DestroyJavaVM, System.exit, and Ctrl+C. Well, at least last two does not guarantee safe shutdown of virtual machine.
> [drlvm][shutdown] adding a native callback which executes on VM shutdown
> ------------------------------------------------------------------------
>
> Key: HARMONY-5481
> URL: https://issues.apache.org/jira/browse/HARMONY-5481
> Project: Harmony
> Issue Type: Improvement
> Components: DRLVM
> Reporter: Alexei Fedotov
> Attachments: vm_native_shutdown_1.patch
>
>
> Modifying shutdown sequence for DestroyJavaVM, System.exit() and Ctrl+C shutdown paths by adding a native callback. The callback is currently used for dumping VM statistics.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.