Java性能优化权威指南 第三章 JVM概述

HotSpot JVM的三个主要组件?

  • Runtime
  • JIT Compiler
  • Memory Manager

三个主要组件的关系?

  • Runtime作为基础,提供JIT Complier和Memory Manager的接口

从32位JVM到64位JVM

  • 可寻址空间超过4G,支持更大的堆
  • oops长度变为64,缓存命中率降低->解决:通过Alignment和Offset实现Compressed oops

Runtime

命令行解析

标准,非标准,非稳定。
标准:JVM Specification指定所有JVM必须实现的选项。
非标准:不强制要求,-X标记
非稳定:特定需要,-XX标记

posted @ 2022-02-24 00:29  rxh1999  阅读(35)  评论(0)    收藏  举报