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
4
50k
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
Lock your containers down!
deepu105
1
34
What the heck is Project Loom?
deepu105
1
20
What the heck is Project Loom and what can a normal Java developer expect from it?
deepu105
0
99
Build and deploy cloud native Java microservices on Kubernetes with Istio service mesh
deepu105
0
300
Is containerless the future of Kubernetes?
deepu105
1
120
Why did I build KDash in Rust
deepu105
1
91
Is containerless the future of Kubernetes?
deepu105
1
430
Reactive Java Microservices on Kubernetes with Spring and JHipster
deepu105
1
450
Is Rust a great language for building Kubernetes ecosystem
deepu105
0
1.3k
Other Decks in Education
See All in Education
AWS上で3年もデータ基盤を作っているのに資格が1個もないから取ってみた
kentaaoyama
0
110
CMC_Meetup Online Vol.24 地方で活動するコミュニティリーダーに聞く!地方における持続可能なコミュニティ運営のイロハとは?登壇スライド
tarimo34
0
100
クラスとオブジェクト指向 / Python Class
kaityo256
PRO
3
2.5k
Statistical Rethinking 2023 - Lecture 02
rmcelreath
1
900
Virtuaalilasit ja 360-sisällöt opetuksessa
matleenalaakso
0
3.4k
単元「情報通信ネットワークとデータの活用」の授業アイデア
asial_edu
0
110
Rails Girls Gathering Japan 2022 GMO Pepabo Sponsor Talk
yutokyokutyo
0
230
Hololens2と 小中高プログラミング教育の利用にむけた試行 / XRMTG 2023-1-18
gishi_yama
0
140
【S2】明日から使えるテスト技法勉強会_5_CFD法
gihoz_support
0
130
UNKテーブル
harunakano
0
1.6k
28-30 Oftalmo Completa
doctorre
PRO
0
18k
1214
cbtlibrary
0
150
Featured
See All Featured
Code Review Best Practice
trishagee
50
11k
VelocityConf: Rendering Performance Case Studies
addyosmani
317
22k
Art, The Web, and Tiny UX
lynnandtonic
284
18k
Learning to Love Humans: Emotional Interface Design
aarron
263
38k
Bash Introduction
62gerente
601
210k
Mobile First: as difficult as doing things right
swwweet
213
7.8k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
224
50k
What the flash - Photography Introduction
edds
64
10k
The MySQL Ecosystem @ GitHub 2015
samlambert
240
11k
Pencils Down: Stop Designing & Start Developing
hursman
114
10k
What’s in a name? Adding method to the madness
productmarketing
12
1.9k
Bootstrapping a Software Product
garrettdimon
299
110k
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