For the use cases we investigated, we needed before/after the locking and unlocking and not 'around' for the entire block - so yes, you understand it correctly.
Andy. On 12/07/06, Eric Bodden <[EMAIL PROTECTED]> wrote:
Thanks a lot, Ron. Do I understand correctly, however, that this approach you guys suggest there does not allow one to go *around* a synchronized block? I mean how can you for example skip locking for one given block completely? Cheers, Eric -- Eric Bodden Sable Research Group McGill University, Montréal, Canada ________________________________ From: [EMAIL PROTECTED] on behalf of Ron Bodkin Sent: Wed 12/07/2006 18:25 To: [email protected] Subject: RE: [aspectj-users] pointcut for synchronized block I forgot to include the most important information: see the bugzilla entry at https://bugs.eclipse.org/bugs/show_bug.cgi?id=123759 with lots of analysis and design information -----Original Message----- From: Ron Bodkin [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 9:12 AM To: '[email protected]' Subject: RE: [aspectj-users] pointcut for synchronized block Hi Eric, Note that there has been some work in the ajc compiler recently to support synchronization join points: -Xjoinpoints:synchronization although look in BcelClassWeaver.transformSynchronizedMethod for at least one part of the work in progress as well as a note by Andy about what's left to do. This was committed about a month ago. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Bodden Sent: Wednesday, July 12, 2006 6:52 AM To: [email protected] Subject: RE: [aspectj-users] pointcut for synchronized block Hello, Scott. I just read your posting again... I have somebody who thought about working on this issue. Obviously, we don't want to reinvent the wheel. Hence, it would be great if you could briefly comment on whether you succeeded and if not, what you found to be the major problem. (I know it's not an easy issue to implement this correctly, especially if you want around advice.) Thanks a lot! Eric P.S. I tried to email you but your address does not work anymore, hence the posting to the list. -- Eric Bodden Sable Research Group, McGill University Montreal, Canada > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:aspectj-users- > [EMAIL PROTECTED] On Behalf Of Hale Scott C 1stLt AFIT/ENG > Sent: Tuesday, July 19, 2005 10:50 AM > To: [email protected] > Subject: [aspectj-users] pointcut for synchronized block > > I am developing a pointcut to determine all the locks held at any time > during the execution of a program. The pointcut needs to capture the > current thread and object being locked during a synchronized block. I > have yet to determine a unique signature to determine when the code > contains a synchronized block using Aspects. Has any one come across > this problem? Does any one have any possible suggestions for a > solution? I appreciate the help. > > Thanks, > > Scott > > _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
_______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
