Automatic feedback-directed object inlining in the java hotspot™ virtual machine
Christian L. Wimmer, Hanspeter Mössenböck · 2007
Object inlining is an optimization that embeds certain referenced objects into their referencing object. It reduces the costs of field accesses by eliminating unnecessary field loads. The order of objects in the heap is changed in such a way that objects that are accessed together are placed next to each other in memory so that their offset is fixed, i.e. the objects are colocated. This allows field loads to be replaced by address arithmetic. We implemented this optimization for Sun Microsystems' Java HotSpot™ VM. The analysis is performed automatically at run time, requires no actions on the part of the programmer and supports dynamic class loading.
Cited by 24 works. doi:10.1145/1254810.1254813
Authors
References
- The Java Language Specification
- Garbage collection: algorithms for automatic dynamic memory management
- Java(TM) Language Specification, The (3rd Edition) (Java (Addison-Wesley))
- Debugging optimized code with dynamic deoptimization
- Using generational garbage collection to implement cache-conscious data placement
- The garbage collection advantage
- Automatic inline allocation of objects
- An automatic object inlining optimization and its evaluation
- An evaluation of automatic object inline allocation techniques
- Field analysis