Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / September 2003

Tip: Looking for answers? Try searching our database.

SetFunctionReJIT causing deadlock in the CLR

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Patrick Grawehr - 22 Sep 2003 23:29 GMT
I can't figure out how to use ICorProfilerInfo::SetFunctionReJIT().
Every time I call it on a functionId other than the one which has been
passed to the current callback function (ie JITCompilationFinished()), the
CLR deadlocks on the next invocation of the method whose function id I've
passed.

Here's what I wana do:

I use JITCompilationStarted() to replace the body of some method (which
works correctly).
Later on, I wan't to be able to make another change to the same method,
which requires the function
to be re-jited.
So I need to call SetFunctionReJIT() on the method when I want to change it
again (preferably from a different thread), but that doesn't work.

Any help would be greatly appreciated, since my university-diploma might
depend on it....

Patrick
Jason He - 23 Sep 2003 01:23 GMT
Hi Patrick,

I don't have an answer for this.
But below article might be helpful for you.
http://msdn.microsoft.com/msdnmag/issues/03/09/NETProfilingAPI/default.aspx

Thanks
Jason

--------------------
| From: "Patrick Grawehr" <pgrawehr@student.ethz.ch>
| Subject: SetFunctionReJIT causing deadlock in the CLR
[quoted text clipped - 31 lines]
|
| Patrick

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.