我把 jvm 的非堆内存最大值 MaxPermSize 调低了,对 java 程序的运行,会有哪些服务影响? io 流服务受到的影响会很大么?怎么用程序代码证明??
1
user8341 2020-10-23 16:59:17 +08:00
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
|
2
taogen 2020-10-23 17:16:57 +08:00
|
5
CoderGeek 2020-10-23 18:03:38 +08:00
-XX:MaxPermSize=size
Sets the maximum permanent generation space size (in bytes). This option was deprecated in JDK 8, and superseded by the -XX:MaxMetaspaceSize option. |
6
kx5d62Jn1J9MjoXP 2020-10-23 18:28:57 +08:00 via Android
Java8 开始就没有永久代了
蹲一个 Java6 的答案 |
7
gaius 2020-10-23 19:02:25 +08:00 via Android
Java8 是 meta 区了
|