Invention Grant
- Patent Title: Queue debugging using stored backtrace information
- Patent Title (中): 使用存储的回溯信息进行队列调试
-
Application No.: US14292777Application Date: 2014-05-30
-
Publication No.: US09378117B2Publication Date: 2016-06-28
- Inventor: David Vernon Payne , Daniel Andreas Steffen , Han Ming Ong , Jason Molenda , Kenneth Scott Orr , Katherine Blake Stone
- Applicant: Apple Inc.
- Applicant Address: US CA Cupertino
- Assignee: Apple Inc.
- Current Assignee: Apple Inc.
- Current Assignee Address: US CA Cupertino
- Agency: Blakey, Sokoloff, Taylor & Zafman LLP
- Main IPC: G06F9/45
- IPC: G06F9/45 ; G06F11/36

Abstract:
When queuing work items for asynchronous execution, the approaches set forth herein enable a debugger to provide more meaningful and complete stack trace information for enqueued work items. An example system identifies a work item to be enqueued for asynchronous execution as a separate thread during runtime of a program. Upon enqueuing the work item in an execution queue, the system captures pre-queue stack trace information associated with the work item, and associates the pre-queue stack trace information with the work item. The system removes the work item from the execution queue for execution, wherein the execution is associated with current stack trace information separate from the pre-queue stack trace information. Upon detecting an event associated with executing the work item, the system merges the pre-queue stack trace information with the current stack trace information to yield a merged stack trace.
Public/Granted literature
- US20150347271A1 QUEUE DEBUGGING USING STORED BACKTRACE INFORMATION Public/Granted day:2015-12-03
Information query