You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Gregory Shimansky (JIRA)" <ji...@apache.org> on 2006/10/17 12:19:36 UTC

[jira] Commented: (HARMONY-1891) [drlvm][jvmti] VM hangs after multiple Single Step event enabling

    [ http://issues.apache.org/jira/browse/HARMONY-1891?page=comments#action_12442857 ] 
            
Gregory Shimansky commented on HARMONY-1891:
--------------------------------------------

AFAIK there is no need to set a breakpoint in a thread which is started inside of jvmti_send_thread_start_end_event function.

This function is called when no java code in the new thread is executed yet, so this function just sets single step state for this thread. When this thread will be ran, calling the first java method will set a breakpoint on the first bytecode if this mehod.

You can add the above paragraph as a comment in place of the code which you've added.

> [drlvm][jvmti] VM hangs after multiple Single Step event enabling
> -----------------------------------------------------------------
>
>                 Key: HARMONY-1891
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1891
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Rebriy
>         Attachments: VM-hangs-after-multiple-Single-Step-event-enabling.patch
>
>
> VM hands if Single Step event is enabled several times (and not disabled). It happens due to before enabling single step VM suspend all thread and if Single Step is already enabled VM doesn't resume threads.

-- 
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