469,917 Members | 1,789 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,917 developers. It's quick & easy.

How to view that method is inlined?


AFAIK, method could be candidate for inlining. But is it possible to view
after compiling that method became inlined?
Are there some keywords in ILDASM that can show that method is inlined?

---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/members/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Jan 9 '06 #1
2 1159
Michael Nemtsev <ne*****@msn.com> wrote:
AFAIK, method could be candidate for inlining. But is it possible to view
after compiling that method became inlined?
Are there some keywords in ILDASM that can show that method is inlined?


No - it's done by the JIT compiler.

If you run cordbg and tell it to include JIT optimisations, you can
tell if you're good with assembler code :)

(I don't know off-hand any good links to cordbg guides - I've used it
myself a few times, and it's pretty good. I don't know much assembler,
unfortunately.)

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Jan 9 '06 #2


"Michael Nemtsev" <ne*****@msn.com> wrote in message
news:9c**************************@msnews.microsoft .com...
|
| AFAIK, method could be candidate for inlining. But is it possible to view
| after compiling that method became inlined?
| Are there some keywords in ILDASM that can show that method is inlined?
|
| ---
| WBR,
| Michael Nemtsev :: blog: http://spaces.msn.com/members/laflour
|
| "At times one remains faithful to a cause only because its opponents do
not
| cease to be insipid." (c) Friedrich Nietzsche
|

Methods are inlined by the JIT, there is nothing in the IL that would
indicate a possible inlining.

Willy.
Jan 9 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.