Re:Why Aren’t More Users More Happy with Our VMs? Part 1
by mbel on Thursday September 06, 2018 @06:29AM
(#17925187)
> dynamic loading and runtime modification of code, which modern systems rely on quite a lot under the hood
Can you provide any example? I can't think of any and it sounds very interesting since you seem to be implying that it's common. I assume that "dynamic loading" means something more sophisticated than loading a dynamic library at run-time?
Re:Why Aren’t More Users More Happy with Our VMs? Part 1
by Iem3ohvi on Thursday September 06, 2018 @06:47AM
(#17925249)
Dynamically generated code, e.g. proxy classes and aspect pointcuts being inserted into code and then recompiled by the JIT.
And even "just" dynamically loading a library requires recompilation because it will invalidate optimizer assumptions such as devirtualization (part of class hierarchy analysis in hotspot).
People often aren't aware of this because the actual mechanisms tend to be hidden inside libraries or tools they depend on.