Re: Too long method Code length after instrumentation with ASM

Eric Bruneton <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
03/09/2010 09:14, Sergey Vorobyev wrote:
> I didn't find any way to check methods length in runtime and discard
> instrumentation if method too long. Can you tell me - is this way exists?

you can use asm.commons.CodeSizeEvaluator to have min and max bounds on 
the size of the bytecode of a method

Eric
message-footer.txt (text/plain, 238 B)
-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.