Posts JVM Tunning 1
Post
Cancel

JVM Tunning 1

JVM Tunning 1


๐Ÿ’ฟ GC

GC(Garbage Collection): ๋”์ด์ƒ ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ๊ฐ์ฒด ๋“ฑ์„ ๋ฉ”๋ชจ๋ฆฌ์—์„œ ํ•ด์ œ(์‚ญ์ œ)ํ•˜๋Š” JVM์˜ ์ž‘์—…

JVM

image JVM Heap ๋ฉ”๋ชจ๋ฆฌ ๊ตฌ์กฐ

Java์—์„œ GC๋ฅผ ๋„์ž…์ด ๊ฐ€๋Šฅํ–ˆ๋˜ ์ด์œ 

weak generational hypothesis ๊ฐ€์„ค๋กœ ์ธํ•ด GC ๋„์ž…์ด ๊ฐ€๋Šฅํ•ด์ง

  • ๋Œ€๋ถ€๋ถ„์˜ ๊ฐ์ฒด๋Š” ๊ธˆ๋ฐฉ ์ ‘๊ทผ ๋ถˆ๊ฐ€๋Šฅ ์ƒํƒœ(unreachable)๊ฐ€ ๋จ
  • ์˜ค๋ž˜๋œ ๊ฐ์ฒด์—์„œ ์ Š์€ ๊ฐ์ฒด๋กœ์˜ ์ฐธ์กฐ๋Š” ์•„์ฃผ ์ ๊ฒŒ ์กด์žฌ

JVM ์—์„œ๋Š” ์˜ค๋ž˜๋œ ๊ฐ์ฒด๋ฅผ ๊ตฌ๋ณ„ํ•˜๊ธฐ ์œ„ํ•ด ๋ฉ”๋ชจ๋ฆฌ๋ฅผ ์—ฌ๋Ÿฌ ์˜์—ญ์œผ๋กœ ๋‚˜๋ˆ”

This post is licensed under CC BY 4.0 by the author.

Kubernetes 1

JVM Tunning 2