Sign In
David Broman's CLR Profiling API Blog
Info about the Common Language Runtime's Profiling API
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
Pages
Archive
Archives
December 2011
(2)
October 2011
(3)
September 2011
(1)
February 2011
(1)
August 2010
(2)
February 2010
(1)
January 2010
(4)
November 2009
(1)
October 2009
(1)
September 2009
(1)
June 2009
(1)
May 2009
(3)
February 2009
(1)
December 2008
(1)
November 2008
(1)
August 2008
(1)
May 2008
(1)
December 2007
(3)
November 2007
(1)
June 2007
(2)
April 2007
(1)
March 2007
(2)
December 2006
(1)
November 2006
(1)
June 2006
(1)
May 2006
(1)
February 2006
(1)
October 2005
(9)
MSDN Blogs
>
David Broman's CLR Profiling API Blog
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
David Broman's CLR Profiling API Blog
GC Heap and Alignment Padding
Posted
5 months ago
by
David Broman
1
Comments
The docs for GetObjectSize have recently been updated with this info, but I wanted to mention it here, too, to ensure you were aware of this information. Some profilers manually advance through objects on the heap, inspecting their field values, by starting...
David Broman's CLR Profiling API Blog
When is it safe to use ObjectIDs?
Posted
5 months ago
by
David Broman
0
Comments
As mentioned in this post , ObjectIDs are really pointers to managed objects on the GC heap. And as you know, objects get collected or move around on the heap during GCs. So how do you safely work with ObjectIDs? The overall guidance is that if you...
David Broman's CLR Profiling API Blog
Metadata Tokens, Run-Time IDs, and Type Loading
Posted
7 months ago
by
David Broman
0
Comments
Overview In this post, I write about the two primary kinds of IDs your profiler deals with, when each kind is appropriate to use, how to convert between those two types of IDs, and some gotchas with those conversions—particularly in how they may invoke...
David Broman's CLR Profiling API Blog
ReJIT: A How-To Guide
Posted
7 months ago
by
David Broman
0
Comments
By now, you’ve surely downloaded your copy of the .NET 4.5 Developer Preview, and you’ve opened up the brand-spanking new corprof.idl, and searched that file for all the new APIs available in 4.5. There’s a bunch with “ReJIT” in the name, and all...
David Broman's CLR Profiling API Blog
ReJIT Limitations in .NET 4.5
Posted
7 months ago
by
David Broman
1
Comments
Anyone who’s read a newspaper in the past few weeks knows that the Profiling API in .NET 4.5 will supported a limited form of ReJIT. Well, the news might not be that hot, but that’s what I tell myself. I will be discussing the feature in depth...
David Broman's CLR Profiling API Blog
ReJIT for Realz?!
Posted
8 months ago
by
David Broman
1
Comments
Yes! Check out this new video on channel 9 for the scoop: http://channel9.msdn.com/Shows/Going+Deep/CLR-45-David-Broman-Inside-Re-JIT In the upcoming .NET 4.5, we do indeed plan to include a limited form of ReJIT that will allow diagnostic tools...
David Broman's CLR Profiling API Blog
CLRProfiler V4 Released
Posted
over 1 year ago
by
David Broman
10
Comments
CLRProfiler V4 is now publicly available. You may download from here: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=be2d842b-fdce-4600-8d32-a3cf74fda5e1 This is of interest both to folks who want a free profiler to diagnose...
David Broman's CLR Profiling API Blog
SigParse uploaded to MSDN Code Gallery
Posted
over 2 years ago
by
David Broman
4
Comments
A while back I posted some sample code written by Rico Mariani to parse CLR metadata signatures. This code is now also available on the MSDN Code Gallery SigParse page. If any of you were nervous about incorporating that source into your product without...
David Broman's CLR Profiling API Blog
Profilers, in-process side-by-side CLR instances, and a free test harness
Posted
over 2 years ago
by
David Broman
5
Comments
My previous post on New stuff in Profiling API for upcoming CLR 4.0 mentioned that any profiler that implements ICorProfilerCallback3 must be “side-by-side aware”. This post goes into more detail on how to do this, and how to test it. What are in...
David Broman's CLR Profiling API Blog
CLR V4: Profiler Detach
Posted
over 2 years ago
by
David Broman
0
Comments
I described how profilers may attach to already-running processes in some previous posts ( #1 and #2 ). In this post I’m writing about how profilers that are already loaded may detach from a running process before that process exits. Like...
David Broman's CLR Profiling API Blog
Generics and Your Profiler
Posted
over 2 years ago
by
David Broman
6
Comments
If you’re writing a profiler that you expect to run against CLR 2.0 or greater, you probably care about generics. Whether you're reporting call stacks or instrumenting code, it's possible the users of your profiler wrote some of that code using generic...
David Broman's CLR Profiling API Blog
Writing a Profiler for Silverlight 4
Posted
over 2 years ago
by
David Broman
5
Comments
The Silverlight 4 beta has been released a while ago (see this ), and one of the new features in Silverlight 4 is the ability to use the very same profiling API that is available for regular CLR-based apps (referred to as “desktop” CLR apps). In...
David Broman's CLR Profiling API Blog
CLR V4: Profiler Attach Part 2: Ok, now what?
Posted
over 2 years ago
by
David Broman
4
Comments
In a previous post , I outlined to all you profiler writers how to modify your profiler so it can attach to running processes, and what sorts of limitations your profiler will have when it attaches. In this post, I answer the question, “My profiler...
David Broman's CLR Profiling API Blog
CLR V4: Stuff That May Break Your Profiler
Posted
over 2 years ago
by
David Broman
1
Comments
When CLR V2 came out, we made a big decision. If your profiler has not been upgraded for V2 (i.e., if your profiler does not support ICorProfilerCallback2), then the CLR will not allow your profiler to run. Why? CLR V2 had some radical...
David Broman's CLR Profiling API Blog
CLR V4: Profiler Attach Basics With Sample Code
Posted
over 3 years ago
by
David Broman
2
Comments
A new feature in CLR V4 is the ability to attach a profiler to a process after that process has already started. The usefulness of this is fairly obvious to anyone who's ever attached a debugger to a running-process: It's helpful when diagnosing hard...
David Broman's CLR Profiling API Blog
CLR V4 Beta 2 Released!
Posted
over 3 years ago
by
David Broman
0
Comments
All you profiler writers will want to try out your profiler on the latest and greatest! Information on getting beta 2 of CLR V4 and Visual Studio 2010 is available here . The beta 2 docs for the profiling API start here . There have been some...
David Broman's CLR Profiling API Blog
Type Forwarding
Posted
over 3 years ago
by
David Broman
0
Comments
MSDN defines “type forwarding” as moving “a type to another assembly without having to recompile applications that use the original assembly”. In this post, I’ll talk about examining a particular type in Microsoft’s .NET Framework library that gets...
David Broman's CLR Profiling API Blog
CLR V4: Load your profiler without using the registry
Posted
over 3 years ago
by
David Broman
2
Comments
One of the new features in CLR V4 is the ability to load your profiler without needing to register it first. In V2, we would look at the following environment variables: COR_ENABLE_PROFILING=1 COR_PROFILER={ CLSID of profiler } and look up the CLSID...
David Broman's CLR Profiling API Blog
What does Dave look like?
Posted
over 3 years ago
by
David Broman
1
Comments
Find out on channel 9 as Jon Langdon, Thomas Lai, and I discuss some of the new diagnostics features in CLR V4.
David Broman's CLR Profiling API Blog
Run your V2 profiler binary on CLR V4
Posted
over 3 years ago
by
David Broman
3
Comments
Ok, you've installed VS 2010 beta 1, along with .NET FX 4.0 beta 1, and you're wondering--can you run your profiler against this new .NET framework without recompiling the profiler? Yes, you can! Though not by default. Although CLR V4 is much...
David Broman's CLR Profiling API Blog
CLR V4 Beta 1 Released!
Posted
over 3 years ago
by
David Broman
1
Comments
Now is the time to try out your profiler against the new .NET FX 4.0 Beta 1 bits. I'll be writing about some gotchas, and how to take advantage of the new features. But first, get started downloading: Visual Studio 2010 Product Page You can...
David Broman's CLR Profiling API Blog
FunctionHooks.zip re-uploaded
Posted
over 3 years ago
by
David Broman
1
Comments
Jonathan Keljo's blog entry on the enter/leave/tailcall function hooks had a link to sample code that's been broken for a while. You can now find the sample code here: FunctionHooks.zip
David Broman's CLR Profiling API Blog
Why we have CORPROF_E_UNSUPPORTED_CALL_SEQUENCE
Posted
over 4 years ago
by
David Broman
0
Comments
What follows is a long-lost blog entry that Jonathan Keljo had been working on. I brushed off some of the dust and am posting it here for your enjoyment. Thank you, Jonathan! In CLR 2.0 we added a new HRESULT, CORPROF_E_UNSUPPORTED_CALL_SEQUENCE. This...
David Broman's CLR Profiling API Blog
New stuff in Profiling API for upcoming CLR 4.0
Posted
over 4 years ago
by
David Broman
3
Comments
Now that we've finally announced at PDC many of the new features coming up in the next major release of Visual Studio and CLR, I can elaborate some on what's coming up for the profiling API. Also, see Rick Byers's blog entry which also talks about...
David Broman's CLR Profiling API Blog
Visual Studio 2008 SP1 and .NET Framework 3.5 SP1 Released
Posted
over 4 years ago
by
David Broman
0
Comments
See Soma's blog entry for more information. Also, I updated the table that maps Visual Studio versions, .NET Framework versions, and CLR versions here .
Page 1 of 2 (44 items)
1
2