Java server performance: A case study of building efficient, scalable Jvms
R. T. Dimpsey, Ritu Arora, Kean Kuiper · IBM Systems Journal · 2000
The importance of the Java™ platform has shifted from a client-centered paradigm to the server. In particular, the Java language has matured into a viable programming model for server applications. Correspondingly, the requirements on the Java virtual machine (Jvm) have shifted. This paper details the server-specific performance enhancements made to the core Jvm and just-in-time (JIT) compiler, which have allowed the IBM Developer Kits that implement Java code for Intel processors to become industry performance leaders. The paper focuses on synchronization implementation and granularity improvements that have greatly increased the scalability of the Java language on multiprocessor machines. Focus is also given to memory management, specifically, object allocation, garbage collection, and heap management. Details of communication and connection scaling are also provided. Finally, server-specific enhancements to the JIT compiler are discussed. All component enhancements in the paper are explained, and their performance implications are quantified with results from representative multithreaded server workloads. The paper summarizes work from across IBM. The authors' specific contributions include the three-tier spin lock, the thread local heap and freelist merge, the dynamic heap growth algorithm, bitwise sweep, compaction avoidance, and the suite of network enhancements.
Cited by 70 works. doi:10.1147/sj.391.0151
Authors
References
- Algorithms for scalable synchronization on shared-memory multiprocessors
- The performance of spin lock alternatives for shared-memory multiprocessors
- A nonrecursive list compacting algorithm
- Dynamic storage allocation: A survey and critical review
- Empirical studies of competitve spinning for a shared-memory multiprocessor
- Thin locks
- Overview of the IBM Java Just-in-Time Compiler
- Garbage collection
- Garbage collection and local variable type-precision and liveness in Java virtual machines
- Non-compacting memory allocation and real-time garbage collection