How to view each parameter value of JVM
globals.hpp
globals_extension.hpp
c1_globals.hpp
c1_globals_linux.hpp
c1_globals_solaris.hpp
c1_globals_sparc.hpp
c1_globals_windows.hpp
c1_globals_x86. hpp
c2_globals.hpp
##c2_globals_linux.hppc2_globals_solaris.hpp
c2_globals_sparc.hpp
##c2_globals_windows.hpp
##c2_globals_x86.hpp
g1_globals.hpp
globals_linux.hpp
globals_linux_sparc.hpp
globals_linux_x86. hpp
globals_linux_zero.hpp
globals_solaris.hpp
globals_solaris_sparc.hpp
globals_solaris_x86.hpp
globals_sparc.hpp
##globals_windows.hpp
globals_windows_x86.hpp
globals_x86.hpp
globals_zero.hpp
shark_globals. hpp
shark_globals_zero.hpp
arguments.cpp
Display all settable parameters and default values. You can combined -XX:+PrintFlagsInitial and -XX:+PrintFlagsFinal to compare the differences before and after setting, so that you can know which parameters have been adjusted.
can obtain all settable parameters and values (values after manual setting). This parameter can only be used in Jdk6 update 21 or above (including this version ). The usage of the -XX:+PrintFlagsFinal parameter is the same as the above -XX:+PrintFlagsInitial parameter java -XX:+PrintFlagsFinal
##jinfo command format:jinfo [option]
pid virtual machine process id can be viewed through the jps command
Example: Query the value of the MaxPermSize parameter
##Or directly use jinfo -flags pid to view all setting parameters of the vm
5. -XX:+PrintCommandLineFlags parameter
The above is the content of Java virtual machine learning - the command line tool to view JVM parameters and values, more related content Please pay attention to the PHP Chinese website (m.sbmmt.com)!