Here is some question about cache area in JVM: (for hotspot Java8)
- Does all machine code that jvm could run stored in this area, or only some hot code is stored here?
- From some book, it says client compiler (C1) is more likely to run out of memory in cache area, while server compiler (C2) don't. I am a little confused about that. Is that because the server compiler only compile the hot part, and interrupt the other part? In that case, shouldn't the server compiler be slow?
- How many times the code is run before C1 & C2 would compile & cache them respectively?