3 ms·
The JVM does a lot of this, right? I know there is a ton of speculative compilation for C2 and grall but is it done for reflection?
by AlphaSite 10y ago
The JVM does a lot of this, right? I know there is a ton of speculative compilation for C2 and grall but is it done for reflection?
- chrisseaton 10y agoI don't think it's done in any JVM as far as I know.
- matthewwarren 10y agoThe JVM uses something called 'inflation' to make reflection faster. See https://blogs.oracle.com/buck/entry/inflation_system_properties https://blogs.oracle.com/buck/entry/inflation_system_propert... and http://stackoverflow.com/questions/10082523/java-what-is-jitcs-reflection-inflation http://stackoverflow.com/questions/10082523/java-what-is-jit... for more info