Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
JVM Memory usage(Stack vs Heap)
Deepu K Sasidharan
January 23, 2020
Education
3
42k
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
Is containerless the future of Kubernetes?
deepu105
0
69
Reactive Java Microservices on Kubernetes with Spring and JHipster
deepu105
1
170
Is Rust a great language for building Kubernetes ecosystem
deepu105
0
220
How to Secure Your Node.js Containers on Kubernetes With Best Practices
deepu105
0
27
Let's Talk About Foreign Functions In Java
deepu105
0
110
Why Safe Programming Matters and Why Rust?
deepu105
1
93
Why did I build a Kubernetes Dashboard in Rust
deepu105
0
110
State of pattern matching in Java
deepu105
0
66
Can Rust be the language of the future?
deepu105
0
53
Other Decks in Education
See All in Education
自分の道の歩み方~楽しくチャレンジするためのヒント~
tomoima525
0
140
学生と社会人をいかにコミュニティで結びつけるか? という試み / COMUCAL7
gishi_yama
0
120
WindowsコンテナDojo 全体スケジュールのご案内
utsukibm
0
370
20220412_情報社会論 #01
furuhashilab
0
190
Digital Design 2022-02
mathatelle
0
260
Garady
libshare
0
230
Baparekraf Developer Day 2022 - Front-End (Rizqy Hidayat)
dicodingevent
0
520
Baparekraf Developer Day 2022 - Back-End (Faisal Henry Susanto)
dicodingevent
0
480
サムライカレー@タイ 2022年夏版 説明会資料
samuraicurry
PRO
0
120
Gesture-based Interaction - Lecture 8 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
680
Railsチュートリアル × 遠隔学習:受講者評点がリモートでも伸びた理由 / Why Rails Tutorial Works Online
yasslab
PRO
1
3.5k
【スクールガイド】MOOCRES
moocres
0
450
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1020
420k
A better future with KSS
kneath
225
15k
Bash Introduction
62gerente
597
210k
Pencils Down: Stop Designing & Start Developing
hursman
112
9.8k
Creatively Recalculating Your Daily Design Routine
revolveconf
207
10k
A Philosophy of Restraint
colly
192
15k
Three Pipe Problems
jasonvnalue
89
8.7k
JazzCon 2018 Closing Keynote - Leadership for the Reluctant Leader
reverentgeek
172
8.4k
How to train your dragon (web standard)
notwaldorf
58
3.9k
The Brand Is Dead. Long Live the Brand.
mthomps
46
2.7k
Fantastic passwords and where to find them - at NoRuKo
philnash
27
1.5k
Robots, Beer and Maslow
schacon
152
7.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