The following new command-line option was added in JDK9:
The option is used to specify additional shared data added to the archive file. Currently it supports strings and symbols. The string data and symbol data should be generated by the 'jcmd' tool attaching to a running JVM process.
Example of sting and symbol dumping command in icmd:
jcmd <pid> VM.stringtable -verbose
jcmd <pid> VM.symboltable -verbose
Config file example:
10 -1: linkMethod
@SECTION specifies the type of the section that follows it. All data within the section must be the same type that's specified by @SECTION. Different types of data cannot be mixed.
Multiple separated data sections for the same type specified by different @SECTION are allowed within one config file