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

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值