Here's what I've learned over 20 years of working with both C++ and Java (and more years before that with C++): As a rule of thumb, when you convert optimized C++ to Java, the code is about 3x slower.
It's a commonly asked question in a world where every software developer wants to get the most out of every clock cycle their programs consume. It was also a topic at a Java "Birds of a Feather" ...