Compiler bytecode optimization
Is planned any builtin bytecode optimization?
I understand that optimizations are done by JIT compilation and some optimizations cannot be even done earlier. Memory usage/slow startup time are major drawbacks of JVM and bloated bytecode won’t help (cost disk space, time of loading from disk to memory, consumption in memory, …).
When I check generated bytecode in Idea (/translation back to java), it is always full of
redundant variables,
statements like if (true) {…}
calls like...