zoukankan      html  css  js  c++  java
  • 【JVM参数】Java启动时,显示class是从哪个Jar中加载的

    显示具体的Class是从哪个Jar文件加载

    JVM参数:

    -verbose:class
    

    启动后输出如下:

    [Opened D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.Object from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.io.Serializable from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.Comparable from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.CharSequence from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.String from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.reflect.AnnotatedElement from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.reflect.GenericDeclaration from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.reflect.Type from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.Class from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.Cloneable from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.ClassLoader from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.System from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.Throwable from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.Error from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.ThreadDeath from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.Exception from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.RuntimeException from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.SecurityManager from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.security.ProtectionDomain from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.security.AccessControlContext from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.security.SecureClassLoader from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.ReflectiveOperationException from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.ClassNotFoundException from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.LinkageError from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.NoClassDefFoundError from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.ClassCastException from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.ArrayStoreException from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.VirtualMachineError from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.OutOfMemoryError from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.StackOverflowError from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.IllegalMonitorStateException from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.ref.Reference from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.ref.SoftReference from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.ref.WeakReference from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.ref.FinalReference from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.ref.PhantomReference from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.misc.Cleaner from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.ref.Finalizer from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.Runnable from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.Thread from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.Thread$UncaughtExceptionHandler from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.ThreadGroup from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.util.Map from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.util.Dictionary from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.util.Hashtable from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.util.Properties from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.reflect.AccessibleObject from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.reflect.Member from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.reflect.Field from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.reflect.Parameter from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.reflect.Executable from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.reflect.Method from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.reflect.Constructor from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.reflect.MagicAccessorImpl from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.reflect.MethodAccessor from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.reflect.MethodAccessorImpl from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.reflect.ConstructorAccessor from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.reflect.ConstructorAccessorImpl from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.reflect.DelegatingClassLoader from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.reflect.ConstantPool from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.reflect.FieldAccessor from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.reflect.FieldAccessorImpl from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.reflect.UnsafeFieldAccessorImpl from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.reflect.UnsafeStaticFieldAccessorImpl from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.annotation.Annotation from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.reflect.CallerSensitive from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.invoke.MethodHandle from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.invoke.DirectMethodHandle from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.invoke.MemberName from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.invoke.MethodHandleNatives from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.invoke.LambdaForm from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.invoke.MethodType from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.BootstrapMethodError from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.invoke.CallSite from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.invoke.ConstantCallSite from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.invoke.MutableCallSite from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.invoke.VolatileCallSite from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.Appendable from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.AbstractStringBuilder from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.StringBuffer from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.StringBuilder from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.misc.Unsafe from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.AutoCloseable from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.io.Closeable from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.io.InputStream from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.io.ByteArrayInputStream from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.io.File from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    ....
    
  • 相关阅读:
    三(奇数)等分两者中间有间隔,两端没间隔
    网易云音乐基于 Flink + Kafka 的实时数仓建设实践
    【电商知识】关于电商定价的几个策略
    硬核!15张图解Redis为什么这么快
    用户画像实践:神策标签生产引擎架构
    数据产品实战(二):ABTest平台
    R代码|基于特征重要性的特征排序代码
    R代码|K均值算法R语言代码
    一文了解R语言数据分析 ----主成分分析
    全网最全 | MySQL EXPLAIN 完全解读
  • 原文地址:https://www.cnblogs.com/ssslinppp/p/8341765.html
Copyright © 2011-2022 走看看