Found a great comparison between the answers:
It is basically the great programming language shootout at http://shootout.alioth.debian.org/ redone with different GCC optimization levels.
It is clearly visible where Java Hotspot shines, but in most cases C++ wins by a factor of two. It also mentions a technique how you can do profiling analysis with GCC that makes similar optimizations than Hotspot does.