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 to Use structs in COM interfaces when Automation compatibility is not an issue?

1 Answers  


What should QueryInterface functions do if requested object was not found?

1 Answers  


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

3 Answers  


where can i use pmcmd commands of informatica

1 Answers  


What is a moniker ?

3 Answers  






What are the purposes of AddRef, Release and QueryInterface functions

2 Answers  


Explain transaction atomicity?

1 Answers  


Futures of COM

3 Answers   MIT,


Write a JCL to copy only selected members from a partitioned data set to another partitioned data set. (Use: IEBCOPY)

1 Answers   Wipro,


how you call a dll as a COM dll.

2 Answers  


Let?s assume 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?

3 Answers  


Differentiate normal DLL to COM DLL

7 Answers   Talisma,






Categories