472,364 Members | 1,595 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,364 software developers and data experts.

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 1219
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: | last post by:
Hi, Since small method calls are inlined when the IL size is 32 or less. Take for example.. // Method (inlined) public bool getVal() { return someVal;
5
by: Daniel Jin | last post by:
anyone know the criteria a method must meet in order for it to be inlined? and is there a way to force a method to be inlined? it's not one of the MethodImplOptions.
10
by: =?Utf-8?B?bGlhbnF0bGl0?= | last post by:
In performance wise which is more costly to use when there one value to return? Is it the out method parameter or the method that has a return value?
15
by: Sunburned Surveyor | last post by:
I'm a Java developer in the process of writing a class library in C#, so please bear with me. I'm trying to write a method that can return a generic Object OR a Decimal value. In Java I would...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
0
by: jack2019x | last post by:
hello, Is there code or static lib for hook swapchain present? I wanna hook dxgi swapchain present for dx11 and dx9.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.