Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
JVM Memory usage(Stack vs Heap)
Search
Deepu K Sasidharan
January 23, 2020
Education
4
66k
JVM Memory usage(Stack vs Heap)
Deepu K Sasidharan
January 23, 2020
Tweet
Share
More Decks by Deepu K Sasidharan
See All by Deepu K Sasidharan
A Passwordless Future! Passkeys for Java Developers
deepu105
0
59
Go containerless on Kubernetes with WebAssembly and Rust
deepu105
0
22
An illustrated crash course for OAuth and OIDC
deepu105
1
76
A passwordless future! Passkeys for Spring Developers
deepu105
0
390
Secure Spring Boot Microservices with OAuth and OIDC
deepu105
1
100
A passwordless future! Passkeys for Java Developers
deepu105
0
130
A passwordless future! Passkeys for Java Developers
deepu105
1
160
Modern Java for the Masses! Is Java Still Relevant?
deepu105
1
650
A passwordless future!
deepu105
1
240
Other Decks in Education
See All in Education
不登校予防・再登校支援プログラムを提供するToCo (トーコ) の会社紹介資料 toco.mom
toco3week
0
400
Nodiレクチャー 「CGと数学」講義資料 2024/11/19
masatatsu
2
190
Semantic Web and Web 3.0 - Lecture 9 - Web Technologies (1019888BNR)
signer
PRO
1
2.5k
Library Prefects 2024-2025
cbtlibrary
0
110
脳卒中になってしまった さあ、どうする
japanstrokeassociation
0
650
Web Application Frameworks - Lecture 4 - Web Technologies (1019888BNR)
signer
PRO
0
2.6k
HCI Research Methods - Lecture 7 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
710
HP用_松尾研紹介資料.pdf
matsuolab
0
170
Qualtricsで相互作用実験する「SMARTRIQS」実践編
kscscr
0
290
学習指導要領から職場の学びを考えてみる / Thinking about workplace learning from learning guidelines
aki_moon
1
710
Comment aborder et contribuer sereinement à un projet open source ? (Masterclass Université Toulouse III)
pylapp
0
3.2k
JavaScript - Lecture 6 - Web Technologies (1019888BNR)
signer
PRO
0
2.5k
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
28
2k
Statistics for Hackers
jakevdp
796
220k
GraphQLとの向き合い方2022年版
quramy
43
13k
A better future with KSS
kneath
238
17k
Unsuck your backbone
ammeep
668
57k
The Pragmatic Product Professional
lauravandoore
31
6.3k
Designing Experiences People Love
moore
138
23k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
Happy Clients
brianwarren
98
6.7k
Adopting Sorbet at Scale
ufuk
73
9.1k
Transcript
JVM Memory usage Heap memory Thread Stack
JVM Memory usage Heap memory Thread Stack main
JVM Memory usage Heap memory Thread Stack main Employee:new Employee
instance String instance “John” Integer instance 5000 Integer instance 5 name null salary null sales null bonus null this name salary sales
JVM Memory usage Heap memory Thread Stack main Employee:new Employee
instance String instance “John” Integer instance 5000 Integer instance 5 name null salary null sales null bonus null this name salary sales
JVM Memory usage Heap memory Thread Stack main Employee:new Employee
instance String instance “John” Integer instance 5000 Integer instance 5 name salary null sales null bonus null this name salary sales
JVM Memory usage Heap memory Thread Stack main Employee:new Employee
instance String instance “John” Integer instance 5000 Integer instance 5 name salary sales null bonus null this name salary sales
JVM Memory usage Heap memory Thread Stack main Employee:new Employee
instance String instance “John” Integer instance 5000 Integer instance 5 name salary sales bonus null this name salary sales
JVM Memory usage Heap memory Thread Stack main Employee:new Employee
instance String instance “John” Integer instance 5000 Integer instance 5 name salary sales bonus null this name salary sales return void
JVM Memory usage Heap memory Thread Stack main Employee instance
String instance “John” Integer instance 5000 Integer instance 5 name salary sales bonus null john
JVM Memory usage Heap memory Thread Stack main Employee instance
String instance “John” Integer instance 5000 Integer instance 5 name salary sales bonus null findEmployeeBonus john salary 5000 noOfSales 5
JVM Memory usage Heap memory Thread Stack main Employee instance
String instance “John” Integer instance 5000 Integer instance 5 name salary sales bonus null findEmployeeBonus john salary 5000 noOfSales 5 getBonusPercentage salary 5000
JVM Memory usage Heap memory Thread Stack main Employee instance
String instance “John” Integer instance 5000 Integer instance 5 name salary sales bonus null findEmployeeBonus john salary 5000 noOfSales 5 getBonusPercentage salary 5000 percentage 500
JVM Memory usage Heap memory Thread Stack main Employee instance
String instance “John” Integer instance 5000 Integer instance 5 name salary sales bonus null findEmployeeBonus john salary 5000 noOfSales 5 getBonusPercentage salary 5000 percentage 500 return 500
JVM Memory usage Heap memory Thread Stack main Employee instance
String instance “John” Integer instance 5000 Integer instance 5 name salary sales bonus null findEmployeeBonus john salary 5000 noOfSales 5 bonusPercentage 500 bonus 2500
JVM Memory usage Heap memory Thread Stack main Employee instance
String instance “John” Integer instance 5000 Integer instance 5 name salary sales bonus null findEmployeeBonus john salary 5000 noOfSales 5 bonusPercentage 500 bonus 2500 return 2500
JVM Memory usage Heap memory Thread Stack main Employee instance
String instance “John” Integer instance 5000 Integer instance 5 name salary sales bonus john Integer instance 2500
JVM Memory usage Heap memory Thread Stack main Employee instance
String instance “John” Integer instance 5000 Integer instance 5 name salary sales bonus john return void Integer instance 2500
JVM Memory usage Heap memory Thread Stack Employee instance String
instance “John” Integer instance 5000 Integer instance 5 name salary sales bonus Integer instance 2500