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

How can would you create an instance of the object in COM

2 Answers  


How does a DCOM component know where to instantiate itself?

1 Answers  


What is the difference, if any, between OLE and COM?

3 Answers  


what is far pointer and what are the use of far poiter in com/dcom ?????

2 Answers   HCL,


How to Use structs in COM interfaces when Automation compatibility is not an issue?

1 Answers  






how do you know it is general dll or com dll

5 Answers  


C is aggregated by B, which in turn aggregated by A. Our client requested C. What will happen?

2 Answers  


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

2 Answers   Cap Gemini, Honeywell,


What is IUnknown? What methods are provided by IUnknown?

3 Answers   IBM,


Do COM keep track of all the object references(Accounting)?

3 Answers   Microsoft,


Differentiate normal DLL to COM DLL

7 Answers   Talisma,


what is mean by scintific,commercial and business applications? How they differ? Please answer me. Advance thanks.

0 Answers   Excel,






Categories