![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jvm
文章平均质量分 78
chenliang1223
这个作者很懒,什么都没留下…
展开
-
Java Safepoint 与Stop The World
原文首发于知乎https://www.zhihu.com/question/577228381 SafePoint1.1 什么是SafePointSafepoint是java代码中一个线程可能暂停执行的一个位置,SafePoint保存了其他位置没有的一些运行信息。在这个位置上保存了线程上下文的任何信息,包括对象或者非对象的内部指针。在接收到JVM的进入Stop The World 的信息,在saf原创 2017-04-11 10:14:30 · 3011 阅读 · 3 评论 -
Integer缓存原理与JVM调参应用
首发于知乎: https://www.zhihu.com/question/58735131/answer/158460810拆箱与装箱 jvm把一个包装类型自动转成基本数据类型叫做拆箱,反之叫做装箱。例如:Integer integer = 2 ;//装箱 实际运行代码为Integer integer = //Integer.valueOf(2); int i = integer ;//装箱原创 2017-04-23 22:26:58 · 796 阅读 · 0 评论