发明申请
- 专利标题: Method of efficiently performing precise profiling in a multi-threaded dynamic compilation environment
- 专利标题(中): 在多线程动态编译环境中有效执行精确剖析的方法
-
申请号: US11388607申请日: 2006-03-24
-
公开(公告)号: US20070226683A1公开(公告)日: 2007-09-27
- 发明人: Kevin Stoodley , Vijay Sundaresan
- 申请人: Kevin Stoodley , Vijay Sundaresan
- 主分类号: G06F9/44
- IPC分类号: G06F9/44
摘要:
Synchronizing clones of a software method to be executed by at least one thread while the software method is compiled. The software method is cloned to generate a software method clone. At least one transition is created between equivalent program points in the software method and the software method clone. A lock object is inserted into one of the software method and the software method clone. Then, code that controls the at least one transition between a profiling clone and a non-profiling clone is changed to access thread-local storage. The non-profiling clone is the one of the software method and the software method clone into which the lock object was inserted. A first synchronization operation is performed at or after an entry point of the non-profiling clone. Then, the profiling clone is executed using thread-local storage.
公开/授权文献
信息查询