harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao-Feng Li" <xiaofeng...@gmail.com>
Subject Re: [drlvm][jitrino]-about exception handling
Date Mon, 06 Aug 2007 08:22:29 GMT
On 8/6/07, 史成荣 <icyrong@gmail.com> wrote:
> The exception handling infrastructure in some JVM is designed to track
> objects as they are locked and unlocked. It automatically unlock any locked
> objects when the exception occurs before any exception handler is executed
> or before the frame is deleted if there is no
> handler for the exception in the frame's method. Does the Harmony DRLVM hava
> this mechanism?

Chengrong, I guess this is required by JVM spec to release the lock(s)
when the exception is thrown out of the (nested) locked region.
Otherwise, they will have unpaired monitorexits.

View raw message