Currently if we want to print out shared dictionary, we have to use -XX:+PrintSharedArchiveAndExit and -XX:+PrintSharedDictionary, and this is only for shared dictinoary (this also include list of java classes in the output). If want to print out dictionary, we need PrintSystemDictionaryAtExit which is a debug flag and only at exit print out the data. Users will be confused with them.
We cannot get SystemDictionary statistic data by using those flags, also, cannot get system dictionary and shared dictionary info at same time! You have to run with flags separately.
We need a flag to print out statistics for both dictionary and shared dictionary (PrintSystemDictionaryStatistics). Not only at exit, but can be retrieved by jcmd. Also reorg the flags or redesign those flags to have a clean definition.
We cannot get SystemDictionary statistic data by using those flags, also, cannot get system dictionary and shared dictionary info at same time! You have to run with flags separately.
We need a flag to print out statistics for both dictionary and shared dictionary (PrintSystemDictionaryStatistics). Not only at exit, but can be retrieved by jcmd. Also reorg the flags or redesign those flags to have a clean definition.
- relates to
-
JDK-8087143 Reduce Symbol::_identity_hash to 2 bytes
-
- Resolved
-