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 |
How to create an instance of the object in COM?
What is the difference, if any, between OLE and COM?
Write a JCL to copy only selected members from a partitioned data set to another partitioned data set. (Use: IEBCOPY)
Can I use com components from .net programs?
How can would you create an instance of the object in COM
What is dcom?
What are the different compatibility types when we create a COM component?
what is oops
Which tool is used to configure the port range and protocols for DCOM communications?
What is In-proc?
how you call a dll as a COM dll.
Explain JIT activation?