During the course of the last few decades, many optimizations have been proposed for object-oriented programs, mostly focused on reducing the amount of memory allocations and dynamic dispatches, such as object, message and method inlining. However, it seems that modern compilers, such as javac for Java and Clang for C++, don't implement such optimisations. We want to verify this intuition and run a number of experiments, checking whether known optimizations are present in most popular compilers or not.
During the course of the last few decades, many optimizations have been proposed for object-oriented programs, mostly focused on reducing the amount of memory allocations and dynamic dispatches, such as object, message and method inlining. However, it seems that modern compilers, such as javac for Java and Clang for C++, don't implement such optimisations. We want to verify this intuition and run a number of experiments, checking whether known optimizations are present in most popular compilers or not.