March 2019
Intermediate to advanced
242 pages
6h 21m
English
This shared archive file can also be created manually using the following runtime command (you should have enough permissions to write to the target directory):
java -Xshare:dump
Here's a sample output of the preceding command:

As you can see from the output messages in the preceding screenshot, this command performs a lot of operations—it loads classes, links them, counts the classes that are included in the shared archive, allocates read-write and read-only objects, and a lot more.
If the file already exists, the preceding command simply overrides the existing file.
Read now
Unlock full access