logoalt Hacker News

dwattttt • last Monday at 9:16 AM • 1 reply • view on HN

That doesn't necessarily improve matters. Now any code that gets JIT'd is also going to be permanently pinned in memory too, no matter whether it'll get used again, if you don't have swap.


Replies

xxs • last Monday at 3:06 PM

Under normal conditions the code gets jitted after some use... and the VM is free to deoptimize it when it reaches its max allowed generated cache.

The only code in danger is the one from libraries (e.g. zlib)