harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Afremov" <pavel.n.afre...@gmail.com>
Subject Re: [drlvm][jitrino]-about exception handling
Date Mon, 06 Aug 2007 14:02:43 GMT
Hello.

Yes, Evgueni is right.



DRLVM now hasn't mechanism to free any locks, but it has mechanism for
object unlocking for synchronized methods.

So DRLVM can safety exit from static and non static synchronized methods.



BR

Pavel Afremov


On 8/6/07, Evgueni Brevnov <evgueni.brevnov@gmail.com> wrote:
>
> 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?
> >
>
> Hi,
>
> Straight answer is no, DRLVM doesn't have special mechanism for object
> unlocking and relies on compiler to produce appropriate finally block.
>
> Evgueni
>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message