Skip to content

Commit 737f148

Browse files
author
郭耀展
committed
post JVM-Class-Data-Sharing
1 parent 1e32c63 commit 737f148

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

_posts/2021-01-15-JVM-Class-Data-Sharing.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ categories:
66
tags:
77
- jvm
88
- jep
9+
910
---
1011

1112
------
@@ -183,11 +184,7 @@ Error: A fatal exception has occurred. Program will exit.
183184

184185
### JDK 13 (动态 CDS Archives)
185186

186-
​ ...
187-
188-
## 转储过程
189-
190-
​ ...
187+
**[JEP 350<sup>[5]</sup>](https://openjdk.java.net/jeps/350)** 支持了动态转储(**-Xshare:dump**为静态转储)。使用 **-XX:+UnlockDiagnosticVMOptions -XX:+AllowArchivingWithJavaAgent -XX:ArchiveClassesAtExit=simple.jsa** 虚拟机参数,可以在程序退出的时候,动态生成`shared archive`文件。
191188

192189
## 参考
193190

0 commit comments

Comments
 (0)