BeanGenerator - PermGen or heap

View: New views
2 Messages — Rating Filter:   Alert me  

BeanGenerator - PermGen or heap

by BrianRepko :: Rate this Message:

| View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
cglib developers:
 
Looking at using cglib for generating classes that hold the data of dynamic forms.
I have a concern about creating lots of classes and if when a class is no longer
referenced and might be garbage collected if it will be.  In other words, does
cglib BeanGenerator (or asm underneath it) use PermGen or heap.  And does
it get garbarge collected when no longer referenced.
 
Thanks!
Brian
---
Brian Repko
phone: +1 612 229 6779

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
cglib-devel mailing list
cglib-devel@...
https://lists.sourceforge.net/lists/listinfo/cglib-devel

Re: BeanGenerator - PermGen or heap

by Henri Tremblay :: Rate this Message:

| View Threaded | Show Only this Message

>From as far as I know, a class is always loaded in PermGen. Cglib or not.

It will garbage collected depending on the GC settings.

Regards,
Henri

On Wed, Mar 2, 2011 at 7:08 PM, Brian Repko <brian.repko@...> wrote:
cglib developers:
 
Looking at using cglib for generating classes that hold the data of dynamic forms.
I have a concern about creating lots of classes and if when a class is no longer
referenced and might be garbage collected if it will be.  In other words, does
cglib BeanGenerator (or asm underneath it) use PermGen or heap.  And does
it get garbarge collected when no longer referenced.
 
Thanks!
Brian
---
Brian Repko
phone: +1 612 229 6779

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
cglib-devel mailing list
cglib-devel@...
https://lists.sourceforge.net/lists/listinfo/cglib-devel



------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
cglib-devel mailing list
cglib-devel@...
https://lists.sourceforge.net/lists/listinfo/cglib-devel