• Post Reply Bookmark Topic Watch Topic
  • New Topic

tags for GC  RSS feed

 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

We are using extensively custom tags in our project.

The problem starts because tag objects are not available (by default) for GC even after they are done(doEnd() method is completed) -- Is this right? I just started AppPerfect to indentify live objects so not so sure -- Now, I want to make them avaialble for GC.

How to do that, I am confused?
Or at the first place, it is an issue or not?

Thanks.
[ September 12, 2006: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's up to the container to manage the tag instances, not you. Don't screw around with them.
[ September 12, 2006: Message edited by: Bear Bibeault ]
 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bear.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's up to the container to create and manage the tag instances. Are you seeing actual problems with the number of instances, or are you tilting at windmills?
 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bear Bibeault:
It's up to the container to create and manage the tag instances. Are you seeing actual problems with the number of instances, or are you tilting at windmills?


I am not seeing any problem as of now, but as I said they are keep on increasing so I think, something is wrong here...
 
geeta lalchandani
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
agreed that the tags are managed by the container, but is there a way that it is configurable.. say let them be ready for garbage collection, after this period or after these many objects are already there...

Though garabage collection cant be forced, we can still try to de-refernce those objects.
 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bear Bibeault:
It's up to the container to manage the tag instances, not you. Don't screw around with them.

[ September 12, 2006: Message edited by: Bear Bibeault ]


Isn't anyway to configure container to send tag instances to GC???

 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. The tag instances are normal Java objects and will be garbage collected when appropriate just like any other object instances.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!