harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene S. Ostrovsky (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1420) [DRLVM] Initial jvmtiPopFrame implementatoin and some jvmti bug fixes.
Date Fri, 15 Sep 2006 13:05:23 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1420?page=comments#action_12434960 ] 
            
Eugene S. Ostrovsky commented on HARMONY-1420:
----------------------------------------------

[weldon washburn] Also the "fixed 3 bugs" seem to be only in support of JMTI. Is this correct?
Yes, that's right.

Pop frame is described in JVMTI spec:
http://java.sun.com/j2se/1.5.0/docs/guide/jvmti/jvmti.html#PopFrame

This functionality is used by java debugger.

Brief top-level implementation design (for JIT mode):
PopFrame implementation marks topmost frame of target thread with special flag. Also it sets
special suspend callback. Target thead must be suspended.
Target thread executes the callback. Callback routine detects the flag and unwinds the stack
using technique similar to exception throwing.


> [DRLVM] Initial jvmtiPopFrame implementatoin and some jvmti bug fixes.
> ----------------------------------------------------------------------
>
>                 Key: HARMONY-1420
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1420
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Eugene S. Ostrovsky
>         Attachments: Initial-jvmtiPopFrame-implementatoin-and-some-jvmti-bug-fixes.patch
>
>
> Fixed 3 bugs:
>     1. Fixed bug with suspend_enabled mode in jit callbacks for watched fields.
>     2. Fixed bug with dead lock in GetXXXStackTraces functions.
>     3. Fixed bug with tmn_suspend(enable/disable) mode for Method(Entry/Exit)
> Initial implementation of PopFrame for jit mode.
>     PopFrame marks topmost frame of the specified thead to be popped.
>     Added popable flag to frame creation code in lil stub for safe points.
>     Added check for frames marked for popping on exit from safe points entered from jitted
code.
>     Added popFrameException object to raise in non unwindable code areas.
>     Added check for frames marked for popping in exn_rethrow()
> The jira depends on HARMONY-1363

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

        

Mime
View raw message