查看JVM启动类加载日志

在启动jvm时添加 verbose:class 选项

启动JVM:



日志文件 b.txt:

[Opened C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.Object from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.io.Serializable from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.Comparable from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.CharSequence from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.String from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.reflect.GenericDeclaration from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.reflect.Type from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.reflect.AnnotatedElement from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.Class from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.Cloneable from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.ClassLoader from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.System from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.Throwable from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.Error from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.ThreadDeath from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.Exception from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.RuntimeException from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.security.ProtectionDomain from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.security.AccessControlContext from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.ReflectiveOperationException from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.ClassNotFoundException from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.LinkageError from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.NoClassDefFoundError from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.ClassCastException from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.ArrayStoreException from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.VirtualMachineError from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.OutOfMemoryError from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.StackOverflowError from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.IllegalMonitorStateException from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.ref.Reference from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.ref.SoftReference from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.ref.WeakReference from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.ref.FinalReference from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.ref.PhantomReference from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.ref.Finalizer from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.Runnable from C:\Program Files\Java\jre7\lib\rt.jar]

.....



展开阅读全文

没有更多推荐了,返回首页