![]() ![]() This is where the Just In Time(JIT) compiler stores compiled code blocks that are often accessed. To avoid that it’s possible to set a limit on meta-space used with the XX:MetaspaceSize and -XX:MaxMetaspaceSize flag in which case the application might just throw out of memory errors. If this space keeps growing, the OS might move data stored here from RAM to virtual memory which might slow down the application. This space is used by the class loaders to store class definitions. This is what used to be Permanent Generation(PermGen) Space in earlier versions of JVM. This is part of the native memory and doesn’t have an upper limit by default. The stack memory limit can be set using the Xss flag. This is where thread-specific static data including method/function frames and pointers to objects are stored. This is the stack memory area and there is one stack memory per thread in the process. Old generation: Old generation or “Tenured Space” is where objects that reached the maximum tenure threshold during minor GC live.This is divided into two halves, S0 and S1. Survivor Space: This is where objects that survived the minor GC are stored.When we create a new object, memory is allocated here. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |