1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-25 08:15:33 +02:00

jmap: add dump live objects only. (#9865)

This commit is contained in:
Suninsky 2023-02-19 21:30:53 +08:00 committed by GitHub
parent 9dc7ea7281
commit 5448781256
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,3 +18,7 @@
- Dump contents of the heap into a binary file for analysis with jhat:
`jmap -dump:format=b,file={{path/to/file}} {{java_pid}}`
- Dump live objects of the heap into a binary file for analysis with jhat:
`jmap -dump:live,format=b,file={{path/to/file}} {{java_pid}}`