Path: csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: JLP Newsgroups: comp.lang.java.programmer Subject: Re: Java Profiler Date: Sat, 28 Dec 2013 15:10:23 +0100 Organization: Aioe.org NNTP Server Lines: 12 Message-ID: References: NNTP-Posting-Host: 5u2PmVzWPGrYH4Zh9QS0YA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.java.programmer:27094 I am not sure it is what you want, look at ( tools that inject byte code at runtime): ASM => http://asm.ow2.org/ BCEL => http://commons.apache.org/proper/commons-bcel/ Or with a higher level : AspectJ => http://eclipse.org/aspectj/ Byteman => http://www.jboss.org/byteman + standard JSE API in package java.lang.management.