摘要: Copy from:http://dhruba.name/2010/02/07/creation-dynamic-loading-and-instrumentation-with-javaagents/Creation, dynamic loading and instrumentation wit... 阅读全文
posted @ 2014-09-03 09:13 HelloTech 阅读(635) 评论(0) 推荐(0) 编辑
摘要: Copy from:http://tomee.apache.org/javaagent.htmlAdding a JavaAgentAdding a java agent is done via a vm parameter as follows:java -javaagent:openejb-ja... 阅读全文
posted @ 2014-09-03 09:11 HelloTech 阅读(536) 评论(0) 推荐(0) 编辑
摘要: Copy from :http://nijiaben.iteye.com/blog/1847212 在启动和运行期都可以加载agent代理,在启动的时候可通过-javaagent参数来执行agent代理,而在运行期就是通过attach这种机制动态load了。 如果在vm启动过程中加载agent,那... 阅读全文
posted @ 2014-09-03 09:10 HelloTech 阅读(4305) 评论(0) 推荐(0) 编辑
摘要: Copy from:http://www.javamex.com/tutorials/memory/instrumentation.shtmlInstrumentation: querying the memory usage of a Java objectThe most reliable— b... 阅读全文
posted @ 2014-09-03 09:06 HelloTech 阅读(263) 评论(0) 推荐(0) 编辑
摘要: Isolation levels in SQL Server control the way locking works between transactions.SQL Server 2008 supports the following isolation levelsRead Uncommit... 阅读全文
posted @ 2014-09-03 08:57 HelloTech 阅读(212) 评论(0) 推荐(0) 编辑
摘要: copy from https://blog.codecentric.de/en/2011/10/measure-java-performance-sampling-or-instrumentation/In recent discussions, I noticed a confusion abo... 阅读全文
posted @ 2014-09-03 08:56 HelloTech 阅读(308) 评论(0) 推荐(0) 编辑
摘要: Five ways for tracing Java executionI'm often faced with a situation where I need to dig into code that I didn't write. Most of it is poorly documente... 阅读全文
posted @ 2014-09-03 08:54 HelloTech 阅读(158) 评论(0) 推荐(0) 编辑