> [-Ofast will] be "faster" but completely break applications
Except for the jvm, apparently. And everything else I've tried it with.
> It also suggests using omit frame pointer which destroys debugability.
Which is completely useless except for jvm developers.
> As I understand it the arch that Java is compiled with is not the same as the one that gets used for JIT compiling.
The performance of the compiler itself matters, not just the performance of the generated code, because, since it's a JIT, compiler code continues to run.