4
Java Object Pooling
Our mission to make our Java applications highly performant includes a look at Java object pooling. This chapter dives into the concept of object pooling in Java and how to achieve high performance with them in your Java applications.
The chapter begins with an explanation of object pooling and how to implement an object pool in Java. Sample code is provided to help you understand object pooling operations specific to the Java programming language. You will also have the opportunity to learn about the advantages and disadvantages of object pooling in Java. Finally, the chapter shows how you can implement performance testing with Java object pools.
This chapter covers the following main topics:
- Jumping into the object pool ...
Get High Performance with Java now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.