July 2024
Intermediate to advanced
306 pages
7h 3m
English
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:
Read now
Unlock full access