Handle PrintGCApplicationStoppedTime flag in java 9
问题 My application is using gc flag "PrintGCApplicationStoppedTime" but when am running it with Java 9 it is failing with following error: Unrecognized VM option 'PrintGCApplicationStoppedTime' Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. This post indicate that option is deprecated but is there any alternative for the information printed by his flag or this information is no longer available? 回答1: Few things to know there: First,