JDK library usage analyze.

I analyzed some jar files. I want know how much they using JDK. The jar files totally is 200M which contain quite lot of jars, like jboss, glassfish, spring, junit, apache.

 

Jar files analyzed, statistics information for class level, statistics information for method and field level are attached in the file Desktop.zip.

 

Some jar files from eclipse can not be analyzed, I don't know why at present.

 

Here I list most common jdk classes.

fields and methods in following classes totally used times 182607
java/lang/StringBuffer

fields and methods in following classes totally used times 57471
java/lang/String

fields and methods in following classes totally used times 26124
java/lang/Object

fields and methods in following classes totally used times 14771
java/util/List

fields and methods in following classes totally used times 14013
java/util/Iterator

fields and methods in following classes totally used times 13976
java/lang/Class

fields and methods in following classes totally used times 13614
java/util/Vector

fields and methods in following classes totally used times 13418
java/lang/StringBuilder

fields and methods in following classes totally used times 11013
java/util/ArrayList

fields and methods in following classes totally used times 10186
java/util/Map

fields and methods in following classes totally used times 9839
java/lang/System

fields and methods in following classes totally used times 8609
java/util/HashMap

fields and methods in following classes totally used times 8244
java/io/File

fields and methods in following classes totally used times 6440
java/util/Hashtable

fields and methods in following classes totally used times 6204
java/lang/Integer

fields and methods in following classes totally used times 5284
java/lang/NoClassDefFoundError

fields and methods in following classes totally used times 5276
java/io/PrintStream

fields and methods in following classes totally used times 4776
java/lang/IllegalArgumentException

fields and methods in following classes totally used times 4769
java/util/Set

fields and methods in following classes totally used times 4659
java/io/PrintWriter

fields and methods in following classes totally used times 3717
java/lang/Boolean

fields and methods in following classes totally used times 3456
java/util/Properties

fields and methods in following classes totally used times 3355
java/util/Enumeration

fields and methods in following classes totally used times 3299
java/util/Collection

fields and methods in following classes totally used times 2988
java/lang/Throwable

fields and methods in following classes totally used times 2927
java/lang/Thread

fields and methods in following classes totally used times 2760
java/util/StringTokenizer

 

你可能感兴趣的:(java,eclipse,spring,jdk,Glassfish)