Explain object pooling?



Explain object pooling?..

Answer / vadivel

In computer programming, a Object pool is a software design
pattern. An object pool is a set of initialised objects
that are kept ready to use, rather than allocated and
destroyed on demand. A client of the pool will request an
object from the pool and perform operations on the returned
object. When the client has finished with an object, it
returns it to the pool, rather than destroying it. It is a
specific type of factory object.

Object pooling can offer a significant performance boost;
it is most effective in situations where the cost of
initializing a class instance is high, the rate of
instantiation of a class is high, and the number of
instantiations in use at any one time is low.

Is This Answer Correct ?    7 Yes 0 No

Post New Answer

More COM DCOM Interview Questions

can a COM interface be implemented by more than one COM class in the same COM component?

2 Answers   Cap Gemini, Honeywell,


what is oops

11 Answers   Accenture,


Explain Futures of COM?

0 Answers  


Can I use com components from .net programs?

0 Answers  


What is the use of com component in .net?

0 Answers  






Suppose we have object b and aggregated object c (in- proc server), created by b. Can you access any interface of b from c? What?s the difference between aggregated and contained objects?

0 Answers  


Explain transaction atomicity?

1 Answers  


How do you make a NET component talk to a COM component?

3 Answers   TCS,


how to call a dll as a COM dll?

0 Answers  


where can i use pmcmd commands of informatica

1 Answers  


What is a moniker ?

3 Answers  


how do you know it is general dll or com dll

5 Answers  


Categories