Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
__-X-__
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
__-X-__
10y ago
yes, if the method was already compiled into a big or medium size method (in term of assembly code). JITs will not try to inline it again otherwise you will have too much code duplication and nobody want too many cache misses from the instr
2.
▲
by
__-X-__
10y ago
yes that's the idea ! but your example is wrong because c1 never compile a branch that was not executed before.
3.
▲
by
__-X-__
10y ago
It will be freed but when c2 has emitted the new machine code, you can still have code on the stack of the user threads that use the code compiled by c1. When no more threads will use the c1 generated code, it will be swept from the code ca
4.
▲
by
__-X-__
10y ago
-XX:-TieredCompilation is the magic option to disable tiered compilation. Beginning with Java 8, instead of having the VM to magically choose between using the client JIT (c1: think V8) or the server JIT (c2: think gcc -O2), the default con