Re: Avoiding hitting the 64k limit on instrumentation

Eugene Kuleshov <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
You can put MethodNode to the end of the visitor chain and do your
verification in overwritten accept() method.

  regards,
  Eugene
 On 2011-04-02 10:56 AM, "Prashant Deva" <[email protected]> wrote:
> I want to somehow 'back out' of my instrumentation if I see that the
> instrumented method size is greater than the 64k limit.
> I know that you can use CodeSizeEvaluator to get the size after
> instrumenting the method.
>
> However I am curious if someone has suggestions for how to back out of the
> instrumentation and write the original bytes of the method if the 64k
limit
> is reached after instrumentation?
>
> Prashant
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.