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

Which tool is used to configure the port range and protocols for DCOM communications?

1 Answers  


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

2 Answers   HCL,


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

1 Answers  


When you call CoInitialize(NULL) function how it works internally.

8 Answers  


What are the different compatibility types when we create a COM component?

1 Answers   TCS,






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

0 Answers   Excel,


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

3 Answers   Microsoft,


What kind of components can be used as DCOM servers?

1 Answers  


Explain queued components.

2 Answers  


What happens when client calls CoCreateInstance?

2 Answers   Cap Gemini,


Define and explain COM?

8 Answers   Microsoft,


Explain JIT activation?

1 Answers  






Categories