What is the heap memory? - Cracking the Java Coding Interview

preview_player
Показать описание
Cracking the #Java #Coding #Interview - Question 200: What is the heap memory?
Рекомендации по теме
Комментарии
Автор

There should be some celebration to mark 200 of these excellent videos. I don’t know whose ideas they are but they are first rate and sometimes even teach me, an old experienced programmer, something.

sjzara
Автор

If an object is found to be confined within a single method or thread (it “doesn’t escape”), the JVM can allocate it on the stack instead of the heap, further reducing GC overhead.

jonsmith
Автор

My mind just simply blew up into pieces after knowing there is an off-heap memory area... 💀

VuLinhAssassin
Автор

Java Heap Memory:Is the memory that stored all our created objects provided by the Java Virtual Machine (JVM). The garbage collector help reclaim the memory when there is no reference to our created object.

I love Java 🎉

codesbyabgolor
Автор

I thought what you described is the Stack

whiz-code
Автор

Nice to know about ByteBuffer and Memory API

alibabathvs