Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Plans for the next release of AspectJ...

Hi Adrian,

I'd like to request a feature for next release.
New primitive pointcut: monitor(TYPE_PAT | FIELD_PAT)
This will matche synchronized blocks.
Since Java does not have feature to check threads which is waiting
a specified lock, so I need this pointcut to execute my advice 
before monitorenter/after monitorexit.
This pointcut will be useful because we can log, check some condition,
notify events, etc, before/after critical section.

Best regards,
Watanabe


Back to the top