Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] inlining

Unfortunately there is no secret option.  The method signatures used
for advice are predictable and robust across compiles, so if you have
to calculate them, it shouldn't be too difficult.

Andy.

2009/4/30 Alex Villazon <alex.villazon@xxxxxxxxxxx>:
>
> On Apr 30, 2009, at 4:46 PM, Holger Hoffstätte wrote:
>
>> Alex Villazon wrote:
>>>
>>> We're looking for a way to inline advice bodies in woven code...
>>
>> I'm curious: why? The only reason I could think of is performance, though
>> this is a slippery slope.
>> I also think you could easily blow your class file size out of the water
>> that way.
>>
>
> Hi,
>  We need to somehow pass information between advices and the woven code
> (which was instrumented before weaving..). Without the inlining, we have to
> somehow make revere engineering of the resulting woven code...  so it would
> be better to let the compiler do that...  The advice bodies are minimal, and
> we could limit the number of joinpoints... but probably we will have at some
> point a code bloat problem.
>
> Cheers,
>
> Alex
>
>
>
>> just curious,
>> Holger
>> _______________________________________________
>> aspectj-users mailing list
>> aspectj-users@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>


Back to the top