文档章节

JVM -verbose参数详解(转)

巴顿
 巴顿
发布于 2014/12/04 22:33
字数 4262
阅读 4060
收藏 27

转自:http://www.javaranger.com/archives/367

java -verbose[:class|gc|jni] 在输出设备上显示虚拟机运行信息。

 

1.java -verbose:class

 

在程序运行的时候有多少类被加载!你可以用verbose:class来监视,在命令行输入java -verbose:class XXX  (XXX为程序名)你会在控制台看到加载的类的情况。

verbose和verbose:class含义相同,输出虚拟机装入的类的信息,显示的信息格式如下: 

[Opened D:\Java\jdk1.6.0_25\jre\lib\rt.jar]

[Loaded java.lang.Object from D:\Java\jdk1.6.0_25\jre\lib\rt.jar]

[Loaded java.io.Serializable from D:\Java\jdk1.6.0_25\jre\lib\rt.jar]

[Loaded java.lang.Comparable from D:\Java\jdk1.6.0_25\jre\lib\rt.jar]

[Loaded java.lang.CharSequence from D:\Java\jdk1.6.0_25\jre\lib\rt.jar]

[Loaded java.lang.String from D:\Java\jdk1.6.0_25\jre\lib\rt.jar]

[Loaded java.lang.reflect.GenericDeclaration from D:\Java\jdk1.6.0_25\jre\lib\rt.jar]

[Loaded java.lang.reflect.Type from D:\Java\jdk1.6.0_25\jre\lib\rt.jar]

[Loaded java.lang.reflect.AnnotatedElement from D:\Java\jdk1.6.0_25\jre\lib\rt.jar]

[Loaded java.lang.Class from D:\Java\jdk1.6.0_25\jre\lib\rt.jar]

[Loaded java.lang.Cloneable from D:\Java\jdk1.6.0_25\jre\lib\rt.jar]

[Loaded java.lang.ClassLoader from D:\Java\jdk1.6.0_25\jre\lib\rt.jar]

[Loaded java.lang.System from D:\Java\jdk1.6.0_25\jre\lib\rt.jar]

[Loaded java.lang.Throwable from D:\Java\jdk1.6.0_25\jre\lib\rt.jar]

 

当虚拟机报告类找不到或类冲突时可用此参数来诊断来查看虚拟机从装入类的情况。

 

2.java –verbose:gc

 

在虚拟机发生内存回收时在输出设备显示信息,格式如下: [Full GC 256K->160K(124096K), 0.0042708 secs] 该参数用来监视虚拟机内存回收的情况。

 

public class JvmVerbose {

 

/**

* JVM -verbose[:class|gc|jni] 参数测试

* @param args

*/

public static void main(String[] args) {

JvmVerbose jvmVerbose = new JvmVerbose();

System.gc();

}

 

}

 

 

在这个例子中,一个新的对象被创建,由于它没有使用,所以该对象迅速地变为可达,程序编译后,执行命令: java -verbose:gc JvmVerbose 后结果为:

 

[GC 647K->256K(124096K), 0.0274253 secs]

[Full GC 256K->160K(124096K), 0.0042708 secs]

 

箭头前后的数据256K和160K分别表示垃圾收集GC前后所有存活对象使用的内存容量,说明有256K-160K=96K的对象容量被回收,括号内的数据124096K为堆内存的总容量,收集所需要的时间是0.0042708秒(这个时间在每次执行的时候会有所不同)。

 

3.java –verbose:jni

 

-verbose:jni输出native方法调用的相关情况,一般用于诊断jni调用错误信息。

 

在虚拟机调用native方法时输出设备显示信息,格式如下: [Dynamic-linking native methodjava.lang.Object.registerNatives ... JNI] 该参数用来监视虚拟机调用本地方法的情况,在发生jni错误时可为诊断提供便利。


----------------------------------------------

我来小试身手

public class Test {
	public static void main(String args[]){
		Test test = new Test();
		System.gc();
	}
}

配置参数:

执行Test.class加载了以下这么多类

[Opened C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Object from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.Serializable from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Comparable from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.CharSequence from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.String from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.reflect.GenericDeclaration from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.reflect.Type from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.reflect.AnnotatedElement from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Class from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Cloneable from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ClassLoader from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.System from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Throwable from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Error from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ThreadDeath from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Exception from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.RuntimeException from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.security.ProtectionDomain from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.security.AccessControlContext from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ReflectiveOperationException from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ClassNotFoundException from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.LinkageError from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.NoClassDefFoundError from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ClassCastException from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ArrayStoreException from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.VirtualMachineError from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.OutOfMemoryError from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.StackOverflowError from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.IllegalMonitorStateException from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ref.Reference from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ref.SoftReference from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ref.WeakReference from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ref.FinalReference from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ref.PhantomReference from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ref.Finalizer from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Runnable from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Thread from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Thread$UncaughtExceptionHandler from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ThreadGroup from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Map from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Dictionary from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Hashtable from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Properties from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.reflect.AccessibleObject from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.reflect.Member from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.reflect.Field from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.reflect.Method from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.reflect.Constructor from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.reflect.MagicAccessorImpl from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.reflect.MethodAccessor from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.reflect.MethodAccessorImpl from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.reflect.ConstructorAccessor from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.reflect.ConstructorAccessorImpl from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.reflect.DelegatingClassLoader from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.reflect.ConstantPool from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.reflect.FieldAccessor from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.reflect.FieldAccessorImpl from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.reflect.UnsafeFieldAccessorImpl from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.reflect.UnsafeStaticFieldAccessorImpl from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.invoke.MethodHandle from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.invoke.MemberName from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.invoke.MethodHandleNatives from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.invoke.LambdaForm from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.invoke.DirectMethodHandle from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.invoke.MethodType from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.BootstrapMethodError from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.invoke.CallSite from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.invoke.ConstantCallSite from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.invoke.MutableCallSite from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.invoke.VolatileCallSite from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Appendable from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.AbstractStringBuilder from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.StringBuffer from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.StringBuilder from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.StackTraceElement from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.nio.Buffer from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.PostVMInitHook from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Boolean from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Character from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Number from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Float from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Double from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Byte from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Short from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Integer from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Long from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.NullPointerException from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ArithmeticException from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.ObjectStreamField from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Comparator from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.String$CaseInsensitiveComparator from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.security.Guard from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.security.Permission from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.security.BasicPermission from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.RuntimePermission from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.security.AccessController from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.reflect.ReflectPermission from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.security.PrivilegedAction from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.reflect.ReflectionFactory$GetReflectionFactoryAction from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.security.cert.Certificate from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Iterable from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Collection from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.List from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.RandomAccess from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.AbstractCollection from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.AbstractList from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Vector from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Stack from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.reflect.ReflectionFactory from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ref.Reference$Lock from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ref.Reference$ReferenceHandler from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ref.ReferenceQueue from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ref.ReferenceQueue$Null from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ref.ReferenceQueue$Lock from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ref.Finalizer$FinalizerThread from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.VM from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Map$Entry from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Hashtable$Entry from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Math from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.nio.charset.Charset from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.nio.charset.spi.CharsetProvider from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.nio.cs.FastCharsetProvider from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.nio.cs.StandardCharsets from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.AbstractMap from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.util.PreHashedMap from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.nio.cs.StandardCharsets$Aliases from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.nio.cs.StandardCharsets$Classes from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.nio.cs.StandardCharsets$Cache from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ThreadLocal from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.concurrent.atomic.AtomicInteger from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.Unsafe from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.IncompatibleClassChangeError from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.NoSuchMethodError from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.ArrayList from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Collections from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Set from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.AbstractSet from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Collections$EmptySet from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Collections$EmptyList from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Collections$EmptyMap from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Collections$UnmodifiableCollection from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Collections$UnmodifiableList from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Collections$UnmodifiableRandomAccessList from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.reflect.Reflection from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.HashMap from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.HashMap$Entry from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.HashMap$EntrySet from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Iterator from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.HashMap$HashIterator from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.HashMap$EntryIterator from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Class$3 from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Class$ReflectionData from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Class$Atomic from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Class$SecurityManagerHelper from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.reflect.generics.repository.AbstractRepository from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.reflect.generics.repository.GenericDeclRepository from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.reflect.generics.repository.ClassRepository from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.reflect.annotation.AnnotationType from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.WeakHashMap from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ClassValue$ClassValueMap from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.reflect.Modifier from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.reflect.LangReflectAccess from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.reflect.ReflectAccess from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Arrays from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.nio.charset.Charset$ExtendedProviderHolder from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.nio.charset.Charset$ExtendedProviderHolder$1 from C:\Java\jdk7\jre\lib\rt.jar]

[Opened C:\Java\jdk7\jre\lib\charsets.jar]

[Loaded sun.nio.cs.AbstractCharsetProvider from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.nio.cs.ext.ExtendedCharsets from C:\Java\jdk7\jre\lib\charsets.jar]

[Loaded java.lang.Class$1 from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.reflect.ReflectionFactory$1 from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.reflect.NativeConstructorAccessorImpl from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.reflect.DelegatingConstructorAccessorImpl from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.SortedMap from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.NavigableMap from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.TreeMap from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.ASCIICaseInsensitiveComparator from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.TreeMap$Entry from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.nio.cs.HistoricallyNamedCharset from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.nio.cs.ext.GBK from C:\Java\jdk7\jre\lib\charsets.jar]

[Loaded java.lang.StringCoding from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ThreadLocal$ThreadLocalMap from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ThreadLocal$ThreadLocalMap$Entry from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.StringCoding$StringDecoder from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.nio.cs.ext.DoubleByte from C:\Java\jdk7\jre\lib\charsets.jar]

[Loaded sun.nio.cs.ext.DelegatableDecoder from C:\Java\jdk7\jre\lib\charsets.jar]

[Loaded java.nio.charset.CharsetDecoder from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.nio.cs.ext.DoubleByte$Decoder from C:\Java\jdk7\jre\lib\charsets.jar]

[Loaded java.nio.charset.CodingErrorAction from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.nio.cs.ArrayDecoder from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.nio.ByteBuffer from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.nio.HeapByteBuffer from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.nio.Bits from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.nio.ByteOrder from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.JavaNioAccess from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.nio.Bits$1 from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.SharedSecrets from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Readable from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.nio.CharBuffer from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.nio.HeapCharBuffer from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.nio.charset.CoderResult from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.nio.charset.CoderResult$Cache from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.nio.charset.CoderResult$1 from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.nio.charset.CoderResult$2 from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Hashtable$EntrySet from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Collections$SynchronizedCollection from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Collections$SynchronizedSet from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Enumeration from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Hashtable$Enumerator from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Runtime from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.Version from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.AutoCloseable from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.Closeable from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.InputStream from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.FileInputStream from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.FileDescriptor from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.JavaIOFileDescriptorAccess from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.FileDescriptor$1 from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.Flushable from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.OutputStream from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.FileOutputStream from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.FilterInputStream from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.BufferedInputStream from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.concurrent.atomic.AtomicReferenceFieldUpdater from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.concurrent.atomic.AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.reflect.misc.ReflectUtil from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.reflect.Proxy from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.reflect.InvocationHandler from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.reflect.WeakCache from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.reflect.WeakCache$BiFunction from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.reflect.Proxy$KeyFactory from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.reflect.Proxy$ProxyClassFactory from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.concurrent.atomic.AtomicLong from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.concurrent.ConcurrentMap from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.concurrent.ConcurrentHashMap from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.concurrent.ConcurrentHashMap$HashEntry from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.concurrent.locks.Lock from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.concurrent.locks.ReentrantLock from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.concurrent.ConcurrentHashMap$Segment from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.concurrent.locks.AbstractOwnableSynchronizer from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.concurrent.locks.AbstractQueuedSynchronizer from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.concurrent.locks.ReentrantLock$Sync from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.concurrent.locks.ReentrantLock$NonfairSync from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.concurrent.locks.AbstractQueuedSynchronizer$Node from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Objects from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.FilterOutputStream from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.PrintStream from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.BufferedOutputStream from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.Writer from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.OutputStreamWriter from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.nio.cs.StreamEncoder from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.security.action.GetPropertyAction from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.nio.charset.CharsetEncoder from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.nio.cs.ext.DoubleByte$Encoder from C:\Java\jdk7\jre\lib\charsets.jar]

[Loaded java.io.BufferedWriter from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.File from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.FileSystem from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.Win32FileSystem from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.WinNTFileSystem from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.ExpiringCache from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.LinkedHashMap from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.ExpiringCache$1 from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.LinkedHashMap$Entry from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ClassLoader$3 from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Enum from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.File$PathStatus from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.ExpiringCache$Entry from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ClassLoader$NativeLibrary from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.StringCoding$StringEncoder from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.nio.cs.ArrayEncoder from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Terminator from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.SignalHandler from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Terminator$1 from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.Signal from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.NativeSignalHandler from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.OSEnvironment from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.io.Win32ErrorMode from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.JavaLangAccess from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.System$2 from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.IllegalArgumentException from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Compiler from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Compiler$1 from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.Launcher from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.net.URLStreamHandlerFactory from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.Launcher$Factory from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.security.SecureClassLoader from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.net.URLClassLoader from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.Launcher$ExtClassLoader from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.security.util.Debug from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.ClassLoader$ParallelLoaders from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.Hashing from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Random from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.concurrent.ThreadLocalRandom from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.concurrent.ThreadLocalRandom$1 from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.WeakHashMap$Entry from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.WeakHashMap$Holder from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Collections$SetFromMap from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.WeakHashMap$KeySet from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.JavaNetAccess from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.net.URLClassLoader$7 from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.StringTokenizer from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.security.PrivilegedExceptionAction from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.Launcher$ExtClassLoader$1 from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.MetaIndex from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.Reader from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.BufferedReader from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.InputStreamReader from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.FileReader from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.nio.cs.StreamDecoder from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.IoTrace from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.reflect.Array from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.HashMap$Holder from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Locale from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.util.locale.LocaleObjectCache from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Locale$Cache from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.concurrent.ConcurrentHashMap$Holder from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.util.locale.BaseLocale from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.util.locale.BaseLocale$Cache from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.util.locale.BaseLocale$Key from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.util.locale.LocaleObjectCache$CacheEntry from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Locale$LocaleKey from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.util.locale.LocaleUtils from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.CharacterData from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.CharacterDataLatin1 from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.net.www.ParseUtil from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.BitSet from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.net.URL from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.Hashtable$Holder from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.net.URL$1 from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.net.Parts from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.net.URLStreamHandler from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.net.www.protocol.file.Handler from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.JavaSecurityAccess from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.security.ProtectionDomain$1 from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.JavaSecurityProtectionDomainAccess from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.security.ProtectionDomain$3 from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.security.CodeSource from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.security.ProtectionDomain$Key from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.security.Principal from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.HashSet from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.URLClassPath from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.net.www.protocol.jar.Handler from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.Launcher$AppClassLoader from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.Launcher$AppClassLoader$1 from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.SystemClassLoaderAction from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.VMSupport from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.launcher.LauncherHelper from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.net.URLClassLoader$1 from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.net.util.URLUtil from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.URLClassPath$3 from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.URLClassPath$Loader from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.URLClassPath$JarLoader from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.zip.ZipConstants from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.zip.ZipFile from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.JavaUtilZipFileAccess from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.util.zip.ZipFile$2 from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.security.PrivilegedActionException from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.URLClassPath$FileLoader from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.Resource from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.URLClassPath$FileLoader$1 from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Package from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.nio.ByteBuffered from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.PerfCounter from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.Perf$GetPerfAction from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.Perf from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.misc.PerfCounter$CoreCounters from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.nio.ch.DirectBuffer from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.nio.MappedByteBuffer from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.nio.DirectByteBuffer from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.nio.LongBuffer from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.nio.DirectLongBufferU from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.security.PermissionCollection from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.security.Permissions from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.net.URLConnection from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.net.www.URLConnection from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.net.www.protocol.file.FileURLConnection from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded sun.net.www.MessageHeader from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.FilePermission from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.FilePermission$1 from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.io.FilePermissionCollection from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.security.AllPermission from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.security.UnresolvedPermission from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.security.BasicPermissionCollection from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded testJvm.Test from file:/D:/myworkspace/testJvm/bin/]

[Loaded java.lang.Void from C:\Java\jdk7\jre\lib\rt.jar]

[Full GC 812K->442K(15872K), 0.0031244 secs]

[Loaded sun.misc.Cleaner from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Shutdown from C:\Java\jdk7\jre\lib\rt.jar]

[Loaded java.lang.Shutdown$Lock from C:\Java\jdk7\jre\lib\rt.jar]


本文转载自:http://www.javaranger.com/archives/367

巴顿

巴顿

粉丝 51
博文 232
码字总数 27820
作品 0
广州
程序员
私信 提问
一份关于 Java、Kotlin 与 Android 的学习笔记

JavaKotlinAndroidLearn 这是一份关于 Java 、Kotlin 、Android 的学习笔记,既包含对基础知识点的介绍,也包含对一些重要知识点的源码解析,笔记的大纲如下所示: Java 重拾Java(0)-基础知...

叶应是叶
2018/08/08
0
0
[转] Java 启动参数大全

前段时间系统升级时遭遇了OOM,具体解决过程见 遭遇OutOfMemoryError; 为了巩固对于java启动各项参数的认识,决定将所有参数列举出来,并一一解释,以便后查; java启动参数共分为三类; 其一...

dodojava
2011/06/08
632
1
JVM(java 虚拟机)内存设置

一、设置JVM内存设置 1. 设置JVM内存的参数有四个: -Xmx Java Heap最大值,默认值为物理内存的1/4,最佳设值应该视物理内存大小及计算机内其他内存开销而定; -Xms Java Heap初始值,Serve...

Airship
2015/07/13
381
0
sqoop1 导出与hue oozie踩坑

可能是不同版本不同吧,按网友的最终改为: export --connect jdbc:mysql://172.16.5.100:3306/dwtest --username testuser --password ** --table che100kv --export-dir /user/hive/wareho......

hblt-j
2018/09/18
62
1
JVM系列第13讲:JVM参数之追踪类信息

我们都知道 JVM 在启动的时候会去加载类信息,那么我们怎么得知他加载了哪些类,又卸载了哪些类呢?我们这一节就来介绍四个 JVM 参数,使用它们我们就可以清晰地知道 JVM 的类加载信息。 为了...

陈树义
2018/12/10
0
0

没有更多内容

加载失败,请刷新页面

加载更多

ES6

ES6:不改变原理的基础上,让API变得更简单 一、let:代替var用于声明变量 1、var的缺点: (1)声明提前 (2)没有块级作用域 2、let的优点: (1)组织了申明提前 (2)让let所在的块({}),...

wytao1995
今天
3
0
kubernetes 环境搭建 —— minikube

创建集群 minikube start 搭建好 k8s 集群后,可以查看集群的状态以及部署应用。主要用到的是 k8s 的 api,这通常需借助于 kutectl 命令行工具 基本操作 kubectl versionkubectl cluster-i...

lemos
今天
9
0
关于js混淆与反混淆还原操作

使用js的混淆加密,其目的是为了保护我们的前端代码逻辑,对应一些搞技术吃饭的公司来说,为了防止被竞争对手抓取或使用自己的代码,就会考虑如何加密,或者混淆js来达到代码保护。 1、为什么...

开源oschina
今天
11
0
用盛金公式解三次方程(ansi c版)

/* cc cubic.c -lm gcc cubic.c -lm Shengjin's Formulas Univariate cubic equation aX ^ 3 + bX ^ 2 + cX + d = 0, (a, b, c, d < R, and a!= 0). Multiple root disc......

wangxuwei
今天
9
0
JBolt开发平台入门(16)- 弹出Dialog显示指定区域的html内容

在JBolt里,有个主从表Demo。 子表中除了普通的table显示,还有其它从表显示形式 比如下方案例:是针对一个升级管理子表中存放版本的changelog富文本信息。 需求是点击左上角的弹出查看按钮,...

山东-小木
今天
45
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部