3 ms·
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 n
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 cache.