Re: Re: Re: code size of a method

Eugene Kuleshov <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
[email protected] wrote:
> Yeah, I saw that. I was hoping for something more exact.
>
> What I am trying to do is not instrument methods that are small, i.e. 
> getters and setters.
>   
  For this purpose it will be sufficient.

  We can't provide an exact size at the visitor level, because ASM is 
rewriting the method bytecode upon serialization. For more details on 
that you can look at the developers guide on the web site, but in short, 
the difference between an estimated min and max size is because of 
"wide" instructions and simulated long jumps. So, for your getter 
methods the estimated min and max size would be the same.

  regards,
  Eugene
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.