java - 什么是烫发空间?

标签 java profiling

在学习 java 内存分析时,除了“堆”之外,我不断看到术语“永久空间”。我知道堆是什么——烫发空间是什么?

最佳答案

它代表permanent generation :

The permanent generation is special because it holds meta-data describing user classes (classes that are not part of the Java language). Examples of such meta-data are objects describing classes and methods and they are stored in the Permanent Generation. Applications with large code-base can quickly fill up this segment of the heap which will cause java.lang.OutOfMemoryError: PermGen no matter how high your -Xmx and how much memory you have on the machine.

关于java - 什么是烫发空间?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1279449/

相关文章:

java - 在匿名类实例中设置的函数参数泛型

java - 任意 JRE 上的 "java.lang.InternalError: HTHEME is null"(Windows)

c++ - 使用 high_resolution_clock 分析 C++ 程序

c++ - Solaris SPARC 平台分析器(用于 C++ 应用程序)

java - 如何捕获异常并在 Java 中继续处理

Java Comparator reversed() 方法有奇怪的结果

java - 如何在elasticsearch中聚合 'non - keyword'字段?

Golang profiler 找不到源代码

internet-explorer - 测试浏览器插件的性能,内存泄漏,页面加载等

java - 在Java中测试不同的文件读取方法