1、This session will be about memory allocation,object lifecycle,and garbage collection strategies within the Java Virtual Machine(JVM).You will gain insights into memory allocation strategies,object retention policies,and various garbage collection algorithms like generational and concurrent collectio
2、n.Session 2794EXPLORING THE MEMORY MANAGEMENT IN THE JVMGerrit Grunwald|Developer Advocate|Azulhansolo.euABOut me.MemOryMAnAgementin the JVM.isautOmatic right.?SO.why care.?MEMORY MANAGEMENTWhy you should care.Impact on application performanceMEMORY MANAGEMENTWhy you should care.Impact on applicatio
3、n performanceImpact on application responsivenessMEMORY MANAGEMENTWhy you should care.Impact on application performanceImpact on application responsivenessImpact on system requirementsStackMEMORY MANAGEMENTTHREADStackMEMORY MANAGEMENTGrows/ShrinksDynamicallyTHREADSTACKStackMEMORY MANAGEMENTGrows/Shr
4、inksDynamicallyLocal access-thread safeTHREADSTACKFRAMEPrimitivesReferencesFRAMEPrimitivesReferencesFRAMEPrimitivesReferencesFRAMEPrimitivesReferencesStack Overflow ErrorStack,HeapMEMORY MANAGEMENTGrows/ShrinksDynamicallyLocal access-thread safeShared access-Not thread safeNeeds Garbage CollectionTH
5、READSTACKFRAMEPrimitivesReferencesFRAMEPrimitivesReferencesFRAMEPrimitivesReferencesFRAMEPrimitivesReferencesHEAPObjectsStack Overflow ErrorOut of Memory Error:Java Heap SpaceStack,Heap and MetaspaceMEMORY MANAGEMENTGrows/ShrinksDynamicallyNo fixed size,grows dynamicallyLocal access-thread safeShare
6、d access-Not thread safeNeeds Garbage CollectionContains info needed forJVM to work with classes THREADSTACKFRAMEPrimitivesReferencesFRAMEPrimitivesReferencesFRAMEPrimitivesReferencesFRAMEPrimitivesReferencesHEAPObjectsMETASPACEClass MetadataConstant PoolMethod bytecodeStack Overflow ErrorOut of Mem