开发者

Lightweight JVM Instrumentation to find unused code

开发者 https://www.devze.com 2023-02-23 13:38 出处:网络
I was wond开发者_如何转开发ering if there is any lightweight way I could instrument a production JVM to gather information over a period of some months to gather statistics on unused code in my code b

I was wond开发者_如何转开发ering if there is any lightweight way I could instrument a production JVM to gather information over a period of some months to gather statistics on unused code in my code base.

Thanks a lot for looking at this.


File this under "experimental science project". But the invoke dynamic feature coming in JDK7 was used in an interesting low-overhead test coverage prototype.

Maybe a bit too bleeding-edge today, but interesting once Java 7 is out.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号