Jvm Memory Java Memory Model
Jvm stacks could be of fixed size or variable size.
Jvm memory java memory model. Java memory model runtime constant pool. String pool is a good example of this kind of memory pool. If computation in a thread exceeds its stack size limit then jvm throws stackoverflowerror and exits. Memory pool can belong to heap or perm gen depending on the jvm memory manager implementation.
Memory pools are created by jvm memory managers to create a pool of immutable objects if the implementation supports it. It is a thread specific memory area and contains local variables methods call information etc. Java memory model is divided between thread stacks one for each thread and a heap area. Java memory model memory pool.