前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >浅谈JVM内存模型

浅谈JVM内存模型

原创
作者头像
CoffeeLand
修改2020-03-02 07:30:16
5140
修改2020-03-02 07:30:16
举报
文章被收录于专栏:CoffeeLand

table of content

  • What is the JVM MM?
  • How to understand the JVM MM?
  • refers

What is JVM MM?

  • 解决jvm与RAM的协同工作
  • 解决多线程的共享变量问题

How to understand jvm MM?

实质就是解决几个问题

item

Store location

Local variables

Stack

Local static variables

Stack

member variable

heap

作为对象的属性,存在于heap中

static member variable

heap

Static class variables are also stored on the heap along with the class definition. 来自

method

Stack

Static method

Stack

New Object()

Heap

JVM memory graph

HardWare architecture

JVM MM work with HardWare architecture

refers

http://tutorials.jenkov.com/java-concurrency/java-memory-model.html

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • table of content
  • What is JVM MM?
  • How to understand jvm MM?
  • JVM memory graph
  • HardWare architecture
  • JVM MM work with HardWare architecture
  • refers
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档