Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Garbage collection of aspect instances


Balaji,

The statements are all correct without any qualifications.

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/



G Balaji <gopinathanbalaji@xxxxxxxxx>
Sent by: aspectj-users-bounces@xxxxxxxxxxx

28/09/2006 19:34

Please respond to
aspectj-users@xxxxxxxxxxx

To
AspectJ User Mailing List <aspectj-users@xxxxxxxxxxx>
cc
Subject
[aspectj-users] Garbage collection of aspect instances





Dear AspectJ Users,

Can the experts and/or knowledgeable people please validate these statements below:
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) is gc-ed.
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.

Thanks,
Balaji
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Back to the top