[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspectj-users] Memory allocations after startup...
- From: Matthew Webster <matthew_webster@xxxxxxxxxx>
- Date: Thu, 24 Nov 2005 20:40:57 +0000
- Delivered-to: firstname.lastname@example.org
- Importance: Normal
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.
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
Please respond to aspectj-users@xxxxxxxxxxx
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?
From: Eyon Land
Sent: Wednesday, November 23, 2005 5:04 PM
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!
aspectj-users mailing list