Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Memory allocations after startup...


Eyon,

There are a number of language features that involve implicit object creation. Depending on your choice of per-clause you may get several instances of your aspect. If you use "thisJoinPoint" several objects will be created each time your advice is invoked while this "thisJoinPointStaticPart" only causes one object per advised join point to be created at class static initialization. Finally using cflow or cflowbelow causes object creation.

Matthew Webster
AOSD Project
Java Technology Centre, MP146
IBM Hursley Park, Winchester,  SO21 2JN, England
Telephone: +44 196 2816139 (external) 246139 (internal)
Email: Matthew Webster/UK/IBM @ IBMGB, matthew_webster@xxxxxxxxxx

http://w3.hursley.ibm.com/~websterm/

Please respond to aspectj-users@xxxxxxxxxxx

Sent by:        aspectj-users-bounces@xxxxxxxxxxx

To:        <aspectj-users@xxxxxxxxxxx>
cc:        
Subject:        [aspectj-users] Memory allocations after startup...


Let me be more specific…
 
Once my application is up and running, if my “advices” are not actually making memory allocations, will the code in aspectjrt.jar be making memory allocations?  What about inter-type declarations?
 
Eyon
 




From: Eyon Land
Sent:
Wednesday, November 23, 2005 5:04 PM
To:
'aspectj-users@xxxxxxxxxxx'
Subject:
Memory allocations...

 
Does anyone know whether the aspectjrt.jar (I’m running the latest development release) creates new objects?
 
I’m currently writing a real-time application where I need to control when the garbage collector runs.
 
Thank you for your input!
Eyon
 _______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Back to the top