[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] Default (non-closure) implementation of around?

As far as I know....In the default implementation of
Around advice....the Closure class is not created and
the around advice code is inlined wherever it is
applied in the source code.....

This is an optimization....because by in-lining the
code, the compiler avoids not only the runtime cost of
storing closure state, but also the cost of generating
a new class......

--- Adrian Colyer <adrian_colyer@xxxxxxxxxx> wrote:
> inlining!
> 19 April 2005 17:50
> To: <aspectj-dev@xxxxxxxxxxx>
> cc: 
> From: "Nadia Guerroumi" <n_guerro@xxxxxxxxxxxxxxxx>
> Subject: [aspectj-dev] Default (non-closure)
> implementation of around?
> I am reading the paper of "advice weaving in
> aspectJ" by Hilsdale & Hugunin.
> Could someone please explain me this paragraph about
> the inlining of advice ?
> " We do use inlining strategy for the default (non
> closure) implementation of around advice...."
> What is the default (non closure) implementation of
> around advice??
> Nadia.>
> aspectj-dev mailing list
> aspectj-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-dev

Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard.