Hacker News new | ask | show | jobs
by thfuran 1439 days ago
There is aot native compilation in javaland these days, but I assume you mean javac, the compiler that transforms source into jvm bytecode. It defers pretty much all optimization to the JITs and won't remove empty loops.
1 comments

No, but in this case, the JIT will get rid of this empty loop.