From: Adam W. <we...@cs...> - 2004-03-04 18:35:12
|
Hello, I am not entirely sure if this is what you are looking for, but opt-compiled synchronized methods are wrapped in a synthetic exception handler that is responsible for catching and re-throwing an exception during stack unwinding. A handler is generated in the OPT_GenerationContext.completeExceptionHandlers() method and it uses VM_Runtime.unlockAndThrow() method to do its job. Best regards Adam Welc On Thu, 4 Mar 2004, Andy Georges wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello, > > > Ah ... I don't know whether Jikes RVM does this, but a throw to > > statically enclosing exception handler can legally be turned into a > > branch ... > > I'm only interested in exceptions that cause the stack to be unwound. Is it > possible that for opt-compiled methods the execution never passes through > VM_Runtime.deliverException? If not (this certainly seems to be the case), > where does it pass by? Is it going directly to the VM_OptExceptionDeliverer > methods? > > tia, > Andy > > - -- > - -- > ========================================================================== > Parallel Information Systems Group - Dept. ELIS - Ghent University > St. Pietersnieuwstraat 41, 9000 Ghent, Belgium > Phone: +32-9-264.33.99, Fax: +32-9-264.35.94 > E-mail: and...@el... > ========================================================================== > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (GNU/Linux) > > iD8DBQFARzyKyhGN8W62M+IRAkY8AJ9Ig5+XJkHA74H+FafEv7wVdqQNWwCdFpiD > Kv+MtvqBuiTCBYG7bO71q4M= > =W25E > -----END PGP SIGNATURE----- > _______________________________________________ > Jikesrvm-researchers mailing list > Jik...@os... > http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jikesrvm-researchers > -- Adam Welc Computer Science Building, room 274 West Lafayette, IN 47906 Telephone number (work): (765) 4947836 http://www.cs.purdue.edu/homes/welc |