This was very cool, adding a profiler using MH
Charles Oliver Nutter
headius at headius.com
Fri Feb 17 02:10:56 PST 2012
On Fri, Feb 17, 2012 at 4:05 AM, Rémi Forax <forax at univ-mlv.fr> wrote:
>> You could also interpose on abnormal termination (exceptions), using guardWithCatch.
>
> The try-finallly method handle combiner is one example of the cookbook:
> http://code.google.com/p/jsr292-cookbook/source/browse/trunk/interceptors/src/jsr292/cookbook/interceptors/Interceptors.java#68
So painful! :)
handle = Binder
.from(target.type())
.tryFinally(handler)
.invoke(target);
- Charlie
More information about the mlvm-dev
mailing list