惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Y
Y Combinator Blog
The GitHub Blog
The GitHub Blog
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
Google DeepMind News
Google DeepMind News
aimingoo的专栏
aimingoo的专栏
Recent Announcements
Recent Announcements
A
About on SuperTechFans
U
Unit 42
MyScale Blog
MyScale Blog
J
Java Code Geeks
博客园_首页
Blog — PlanetScale
Blog — PlanetScale
D
Docker
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 司徒正美
量子位
月光博客
月光博客
G
Google Developers Blog
V
V2EX
博客园 - 聂微东
宝玉的分享
宝玉的分享
IT之家
IT之家
Vercel News
Vercel News

博客园 - 横刀天笑

基于TCPCopy的Dubbo服务引流工具-DubboCopy Netty中的坑(下篇) 编写明显没有错误的代码 Zookeeper-Zookeeper client Zookeeper-Zookeeper leader选举 Zookeeper-Zookeeper启动过程 Zookeeper-Zookeeper的配置 Zookeeper-Zookeeper可以干什么 Zookeeper--Zookeeper是什么 Linux虚拟文件系统(VFS) JVM Spec 4 为什么女生总是将手机遗落在卫生间 Java基础知识复习 普罗米修斯观后感 【转载】来自Clean Code的一段话,正好形容公司目前一个系统 UI自动化测试随笔 Bloom Filter算法 memcached源代码阅读笔记(二):网络处理部分 关于自动化测试
JVM Spec 1-3
横刀天笑 · 2012-09-27 · via 博客园 - 横刀天笑

2012-09-27 23:07  横刀天笑  阅读(914)  评论()    收藏  举报

Runtime areas 

Pc register 

  Point current code address

  undefine -> in native code 

Thread related

  JVM method stack

      expandable size

      fixed size 

  Exceptions

     StackOverflow

     OOM

       Can not expand

       Can not create new thread

  Frame

    Size: determined at compile time

Native method stack

Global

  Heap

    GC

    Exceptions:

       OOM 

  Method area

    Code

    Runtime constant pool

    String 

Invoke method

  invokespecial   invoke <init>, <cinit>, super.method

  invokevirtual   invoke instance method

  invokestaic      invoke staic method

  invokeinterface

Exception handler

Exception handler:

From   To   Target    Type

0         4       5         Class TestException

finally without catch

Exception handler

From   To    Target    Type

0         4        10        any

jsr: jump subroutine

finally handler as a subroutine

synchronization block

monitorenter

monitorexit 

finally handler