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/14 14:11:07 UTC
[jira] Created: (HARMONY-5514) [drlvm][jvmti] methodee-stack.cpp
agent crashes VM
[drlvm][jvmti] methodee-stack.cpp agent crashes VM
--------------------------------------------------
Key: HARMONY-5514
URL: https://issues.apache.org/jira/browse/HARMONY-5514
Project: Harmony
Issue Type: Sub-task
Environment: Win 32
Reporter: Alexei Fedotov
Debug version crashes on assertion with a following command line. I will try to provide a stack later. In any case the issue is 100% reproducible with the following command line:
working_vm/build/windows_x86_msvc_release/deploy/jdk/jre/bin/java '-agentlib:methodee-stack=Ljava/io/ByteArrayOutputStream;.write(I)V' -jar $ECLIPSE_HOME/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (HARMONY-5514) [drlvm][jvmti] JVMTI agent memory
consumption makes it impossible to profuile Eclipse application
Posted by "Alexei Fedotov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Fedotov closed HARMONY-5514.
-----------------------------------
Resolution: Fixed
Sorry, the first paragraph explains a lot.
> [drlvm][jvmti] JVMTI agent memory consumption makes it impossible to profuile Eclipse application
> -------------------------------------------------------------------------------------------------
>
> Key: HARMONY-5514
> URL: https://issues.apache.org/jira/browse/HARMONY-5514
> Project: Harmony
> Issue Type: Sub-task
> Environment: Win 32
> Reporter: Alexei Fedotov
> Assignee: Gregory Shimansky
>
> Debug version crashes on assertion with a following command line. I will try to provide a stack later. In any case the issue is 100% reproducible with the following command line:
> working_vm/build/windows_x86_msvc_release/deploy/jdk/jre/bin/java '-agentlib:methodee-stack=Ljava/io/ByteArrayOutputStream;.write(I)V' -jar $ECLIPSE_HOME/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (HARMONY-5514) [drlvm][jvmti] methodee-stack.cpp
agent crashes VM
Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gregory Shimansky closed HARMONY-5514.
--------------------------------------
Resolution: Invalid
Assignee: Gregory Shimansky
The agent methodee-stack doesn't free memory that it gets from JVMTI. You can fix the bug in it by adding Deallocate(clss_name) and Deallocate(method_name) in make_method_name_string.
Since this code is not included into Harmony I think this bug is invalid.
> [drlvm][jvmti] methodee-stack.cpp agent crashes VM
> --------------------------------------------------
>
> Key: HARMONY-5514
> URL: https://issues.apache.org/jira/browse/HARMONY-5514
> Project: Harmony
> Issue Type: Sub-task
> Environment: Win 32
> Reporter: Alexei Fedotov
> Assignee: Gregory Shimansky
>
> Debug version crashes on assertion with a following command line. I will try to provide a stack later. In any case the issue is 100% reproducible with the following command line:
> working_vm/build/windows_x86_msvc_release/deploy/jdk/jre/bin/java '-agentlib:methodee-stack=Ljava/io/ByteArrayOutputStream;.write(I)V' -jar $ECLIPSE_HOME/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-5514) [drlvm][jvmti] methodee-stack.cpp
agent crashes VM
Posted by "Alexei Fedotov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568977#action_12568977 ]
Alexei Fedotov commented on HARMONY-5514:
-----------------------------------------
It seems memory is leaking in JVMTI
The following method call returns JVMTI_ERROR_OUT_OF_MEMORY
methodee-stack.cpp:32:make_method_name_string():jvmti_env->GetClassSignature(clss, &clss_name, NULL);
> [drlvm][jvmti] methodee-stack.cpp agent crashes VM
> --------------------------------------------------
>
> Key: HARMONY-5514
> URL: https://issues.apache.org/jira/browse/HARMONY-5514
> Project: Harmony
> Issue Type: Sub-task
> Environment: Win 32
> Reporter: Alexei Fedotov
>
> Debug version crashes on assertion with a following command line. I will try to provide a stack later. In any case the issue is 100% reproducible with the following command line:
> working_vm/build/windows_x86_msvc_release/deploy/jdk/jre/bin/java '-agentlib:methodee-stack=Ljava/io/ByteArrayOutputStream;.write(I)V' -jar $ECLIPSE_HOME/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-5514) [drlvm][jvmti] JVMTI agent memory
consumption makes it impossible to profuile Eclipse application
Posted by "Alexei Fedotov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Fedotov updated HARMONY-5514:
------------------------------------
Summary: [drlvm][jvmti] JVMTI agent memory consumption makes it impossible to profuile Eclipse application (was: [drlvm][jvmti] methodee-stack.cpp agent crashes VM)
> [drlvm][jvmti] JVMTI agent memory consumption makes it impossible to profuile Eclipse application
> -------------------------------------------------------------------------------------------------
>
> Key: HARMONY-5514
> URL: https://issues.apache.org/jira/browse/HARMONY-5514
> Project: Harmony
> Issue Type: Sub-task
> Environment: Win 32
> Reporter: Alexei Fedotov
> Assignee: Gregory Shimansky
>
> Debug version crashes on assertion with a following command line. I will try to provide a stack later. In any case the issue is 100% reproducible with the following command line:
> working_vm/build/windows_x86_msvc_release/deploy/jdk/jre/bin/java '-agentlib:methodee-stack=Ljava/io/ByteArrayOutputStream;.write(I)V' -jar $ECLIPSE_HOME/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-5514) [drlvm][jvmti] JVMTI agent memory
consumption makes it impossible to profuile Eclipse application
Posted by "Alexei Fedotov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Fedotov updated HARMONY-5514:
------------------------------------
Attachment: methodee.cpp
Fixed memory leaks in the second Gregory's agent.
> [drlvm][jvmti] JVMTI agent memory consumption makes it impossible to profuile Eclipse application
> -------------------------------------------------------------------------------------------------
>
> Key: HARMONY-5514
> URL: https://issues.apache.org/jira/browse/HARMONY-5514
> Project: Harmony
> Issue Type: Sub-task
> Environment: Win 32
> Reporter: Alexei Fedotov
> Assignee: Gregory Shimansky
> Attachments: method-stack.cpp, methodee.cpp
>
>
> Debug version crashes on assertion with a following command line. I will try to provide a stack later. In any case the issue is 100% reproducible with the following command line:
> working_vm/build/windows_x86_msvc_release/deploy/jdk/jre/bin/java '-agentlib:methodee-stack=Ljava/io/ByteArrayOutputStream;.write(I)V' -jar $ECLIPSE_HOME/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (HARMONY-5514) [drlvm][jvmti] methodee-stack.cpp
agent crashes VM
Posted by "Alexei Fedotov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Fedotov reopened HARMONY-5514:
-------------------------------------
Gregory,
The bug is in the code which is a part of Harmony: DRLVM JVMTI implementation is not able to profile Eclipse application.
> [drlvm][jvmti] methodee-stack.cpp agent crashes VM
> --------------------------------------------------
>
> Key: HARMONY-5514
> URL: https://issues.apache.org/jira/browse/HARMONY-5514
> Project: Harmony
> Issue Type: Sub-task
> Environment: Win 32
> Reporter: Alexei Fedotov
> Assignee: Gregory Shimansky
>
> Debug version crashes on assertion with a following command line. I will try to provide a stack later. In any case the issue is 100% reproducible with the following command line:
> working_vm/build/windows_x86_msvc_release/deploy/jdk/jre/bin/java '-agentlib:methodee-stack=Ljava/io/ByteArrayOutputStream;.write(I)V' -jar $ECLIPSE_HOME/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-5514) [drlvm][jvmti] JVMTI agent memory
consumption makes it impossible to profuile Eclipse application
Posted by "Alexei Fedotov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Fedotov updated HARMONY-5514:
------------------------------------
Attachment: method-stack.cpp
The file contains Gregory's agent with fixed memory leak.
> [drlvm][jvmti] JVMTI agent memory consumption makes it impossible to profuile Eclipse application
> -------------------------------------------------------------------------------------------------
>
> Key: HARMONY-5514
> URL: https://issues.apache.org/jira/browse/HARMONY-5514
> Project: Harmony
> Issue Type: Sub-task
> Environment: Win 32
> Reporter: Alexei Fedotov
> Assignee: Gregory Shimansky
> Attachments: method-stack.cpp
>
>
> Debug version crashes on assertion with a following command line. I will try to provide a stack later. In any case the issue is 100% reproducible with the following command line:
> working_vm/build/windows_x86_msvc_release/deploy/jdk/jre/bin/java '-agentlib:methodee-stack=Ljava/io/ByteArrayOutputStream;.write(I)V' -jar $ECLIPSE_HOME/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-5514) [drlvm][jvmti] JVMTI agent memory
consumption makes it impossible to profuile Eclipse application
Posted by "Alexei Fedotov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Fedotov updated HARMONY-5514:
------------------------------------
Patch Info: [Patch Available]
> [drlvm][jvmti] JVMTI agent memory consumption makes it impossible to profuile Eclipse application
> -------------------------------------------------------------------------------------------------
>
> Key: HARMONY-5514
> URL: https://issues.apache.org/jira/browse/HARMONY-5514
> Project: Harmony
> Issue Type: Sub-task
> Environment: Win 32
> Reporter: Alexei Fedotov
> Assignee: Gregory Shimansky
> Attachments: method-stack.cpp
>
>
> Debug version crashes on assertion with a following command line. I will try to provide a stack later. In any case the issue is 100% reproducible with the following command line:
> working_vm/build/windows_x86_msvc_release/deploy/jdk/jre/bin/java '-agentlib:methodee-stack=Ljava/io/ByteArrayOutputStream;.write(I)V' -jar $ECLIPSE_HOME/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.