Java Performance and Scalability: A Quantitative Approach