JDK 8内存布局和垃圾收集 [英] JDK 8 Memory Layout and garbage collection

查看:114
本文介绍了JDK 8内存布局和垃圾收集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从我的知道开始,从JDK 8开始,PermGen将成为java历史上的一页。一切都很美好而且快乐......但新的内存布局会是什么样子?这会影响GC在新的平台上吗? Oracle / Sun JDK8中的Metmpace 替换为PermGen ,非常相似。主要区别在于Metaspace可以在运行时扩展。


From what I know, starting with JDK 8 the PermGen will be a page in java's history. Everything nice and merry... but what will the new Memory Layout look like? Will this affect GC on the new platform?

解决方案

PermGen is replaced with Metaspace in Oracle/Sun JDK8, which is very similar. The main difference is that Metaspace can expand at runtime.

这篇关于JDK 8内存布局和垃圾收集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆