Object pooling

Object pooling is the practice of avoiding allocation overhead by not allowing objects to be garbage collected. Typically, this is done by having the program reuse objects instead of allocating new ones. This is accomplished by keeping dead object references in a pool to prevent them from being garbage collected. Object pooling is generally discouraged since it interferes with GC heuristics and will make short-lived objects seem like long-lived ones to the memory system.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.69.163