harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Shimansky (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1490) [drlvm] Fixes for SingleStep implementation. Corrected phase, state structure, addded m2n transition
Date Thu, 21 Sep 2006 18:32:25 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1490?page=comments#action_12436599 ] 
Gregory Shimansky commented on HARMONY-1490:

To run any JVMTI tests you need to specify agent on the command line as in JVMTI spec: http://java.sun.com/j2se/1.5.0/docs/guide/jvmti/jvmti.html#starting

So it should be something like java -agentpath:agent.dll SingleStep0101.java

> [drlvm] Fixes for SingleStep implementation. Corrected phase, state structure, addded
m2n transition
> ----------------------------------------------------------------------------------------------------
>                 Key: HARMONY-1490
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1490
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Gregory Shimansky
>         Assigned To: Geir Magnusson Jr
>         Attachments: single-step-fixes.patch, test.zip
> I've created several bugfixes for SingleStep event implementation.
> It appears that keeping enabled flag in JVMTISingleStepState struct is not possible because
it may be deallocated when thread finishes. So I decided that enabled flag should be the pointer
to this struct itself.
> Another bugfix is that SingleStep shouldn't be sent in phases other than LIVE. This also
fixes the problem when SingleStep is sent for VM startup and agent cannot use any JNI function
> Another bugfix is for breakpoint. For JIT mode I've added an m2n transition to allow
stack iterator to work correctly inside of breakpoint callback. Otherwise it didn't see the
upper Java frames.
> On windows the test I am using still crashes when it finishes, but at least I can see
SingleStep events coming to the agent.

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


View raw message