[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspectj-dev] Default (non-closure) implementation of around?
- From: Swati Pradhan <swatipradhan@xxxxxxxxx>
- Date: Tue, 19 Apr 2005 13:06:51 -0700 (PDT)
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Delivered-to: email@example.com
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=IqH6/sUZF4bTrtIv7dUx40VidMHnsqqTsn8QIvBm0Zhi2Julgzm0zqEXXrCb7LPhkYOfiJki0T+hUHs5Oa4glQ0tWYbyo/eBDSDFHvHtsYNxteu0MQIqqPRVdmLB0jeFNgqmBi71OOE9VM2MiPDCvTxvfvt2hxMEyCh2YQ2biHE= ;
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:
> 19 April 2005 17:50
> To: <aspectj-dev@xxxxxxxxxxx>
> 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??
> aspectj-dev mailing list
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.