The statements are all correct without
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
G Balaji <gopinathanbalaji@xxxxxxxxx> Sent by: aspectj-users-bounces@xxxxxxxxxxx
Please respond to
AspectJ User Mailing List <aspectj-users@xxxxxxxxxxx>
[aspectj-users] Garbage collection of
Dear AspectJ Users,
Can the experts and/or knowledgeable people please validate these statements
1. issingleton aspect instances are gc-ed(*) when the class loader that
loaded the aspects is gc-ed.
2. pertypewithin aspect instances are gc-ed when the class loader that
loaded the types is gc-ed.
3. perthis and pertarget aspect instances are gc-ed when this (or target)
4. percflow and percflowbelow aspect instances are gc-ed when the cflow
(or cflowbelow) are complete
(*) gc-ed => eligible for garbage collection.
If these statements are generally correct, but are qualified in certain
situations, I would be interested to know these situations too.
aspectj-users mailing list