Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] Reg: weaver options in aop-ajc.xml

Hi Andy
   Thanks for your reply. (you can ignore any posting on your blog i left earlier as i couldnt get subscribed to this list earlier due to network issues at my end:)
 I would then try the 1.6.7 build and let you know the memory profile.

As of now from what i see on a decently big webapp on WLS,

  •  1.6.6 without below TypeDemotion the memory increases consistenly( a scare for me, i could see from jmap -histo in jdk1.6 weaver objects at top 5 usually an indication of who is occupying much of chunk).
  •  1.6.6 with TypeDemotion on  as well as bcelRepositoryCaching=false is a big plus ( no more increasing oldgen, i do see a big startup overhead but then FullGC happens and brings it down regularly with permgen slightly increasing over a period of time which i belive should stabilize over period of time,though it doesnt increase at all normally in my app case but not a big worry now.
  • 1.6.7 - > i would try the build soon and can let you know.

Thanks again for your reply
Regards
Laks


On Mon, Dec 14, 2009 at 12:58 AM, Andy Clement <andrew.clement@xxxxxxxxx> wrote:
Hi Laks,

I just wanted to chip-in and say with AspectJ 1.6.7 I am adjusting
some of the option defaults.  Type demotion will be on by default for
example - because everyone seems to turn it on and I've not had a
single bug in that it affects anything adversely.  This will all be
the in the README with 1.6.7 (due before year end).  Also, the memory
profile for 1.6.7 is very different to what we have had before - I
would be very interested in any feedback if you had a chance to try a
dev build ( http://eclipse.org/aspectj/downloads.php ).  My goal would
be you don't need to specify any weaver options in order to get the
best behaviour.

cheers,
Andy

2009/12/13 Lakshminarayanan Seshadri <lnarayanan.seshadri@xxxxxxxxx>:
> Hi Ramnivas
>   Thanks for your reply.
> I got your answer that there is no way to get weaver options inside the
> generated aop-ajc.xml.
>
> Just to make my query clear,
> i generate a aspect library jar from ajc with -outxml option and place this
> aspect jar along with aspectjrt.jar in my appl. CLASSPATH for LTW agent
> (aspectjrtweaver.jar to pickup). However just to add some additional weaver
> options  to reduce memory usage as of 1.6.6 aspectJ  i have to place a
> aop.xml inside a META-INF directory and include this META-INF as you
> suggested in the runtime CLASSPATH of my appl. startup script
>
>  -Xset:typeDemotion=true,typeDemotionDebug=true,bcelRepositoryCaching=false"
> (I was thinking that without the need to place a META-INF directory
> containing aop.xml in my appl CLASSPATH there would be some ajc options to
> get weaver options included in the generated aoj-ajc.xml)
>
>
> Anyway thanks again for your reply.
>
>
> Regards
> Laks
>
> On Sun, Dec 13, 2009 at 9:34 PM, Ramnivas Laddad <ramnivas@xxxxxxxxxxxxxxx>
> wrote:
>>
>> I am not sure if I understand you question. However, there is nothing
>> special that needs to be done to make a jar an aspect library. If you need
>> to include additional weaving options, you can simply add a hand-written
>> aop.xml in the META-INF directory in that jar (there are no options to
>> modify aop-ajc.xml itself).
>> -Ramnivas
>>
>> On Sun, Dec 13, 2009 at 7:43 AM, Lakshminarayanan Seshadri
>> <lnarayanan.seshadri@xxxxxxxxx> wrote:
>>>
>>> Hi
>>>   Can anyone point me of there is a way to make weaver options
>>> automatically included in the aop-ajc.xml that gets generated with -outxml
>>> option when using ajc
>>>   to generate a aspect library jar?
>>>
>>>
>>>
>>> _______________________________________________
>>> aspectj-dev mailing list
>>> aspectj-dev@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/aspectj-dev
>>>
>>
>>
>> _______________________________________________
>> aspectj-dev mailing list
>> aspectj-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/aspectj-dev
>>
>
>
> _______________________________________________
> aspectj-dev mailing list
> aspectj-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-dev
>
>
_______________________________________________
aspectj-dev mailing list
aspectj-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-dev


Back to the top