467,144 Members | 1,165 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,144 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
  • viewed: 1105
Share:
2 Replies
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.

Similar topics

2 posts views Thread by | last post: by
5 posts views Thread by Daniel Jin | last post: by
10 posts views Thread by =?Utf-8?B?bGlhbnF0bGl0?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.