Invention Grant
- Patent Title: Memory stack trace management tool
-
Application No.: US15355725Application Date: 2016-11-18
-
Publication No.: US10241895B2Publication Date: 2019-03-26
- Inventor: Katherine Blake Stone , David Vernon Payne , Daniel Mark Delwood
- Applicant: Apple Inc.
- Applicant Address: US CA Cupertino
- Assignee: Apple Inc.
- Current Assignee: Apple Inc.
- Current Assignee Address: US CA Cupertino
- Agency: Womble Bond Dickinson (US) LLP
- Main IPC: G06F13/12
- IPC: G06F13/12 ; G06F11/36 ; G06F11/30 ; G06F11/34

Abstract:
The present technology monitors events that allocate and deallocate virtual memory regions in a device, wherein the events include system calls from user space. The system can generate a log of events, and based on the log of events, track regions of virtual memory allocated and deallocated via the events. The system can also record events with corresponding stack traces. Next, the system can group recorded events having matching stack traces to yield event groupings, and instrument functions in a compiled code associated with the process to determine retain counts of respective events associated with the functions. The system can then automatically pair at least one of a first portion of the events and a second portion of the respective events based on the event groupings and the retain counts of the respective events to yield paired events.
Public/Granted literature
- US20170083426A1 MEMORY MANAGEMENT TOOLS Public/Granted day:2017-03-23
Information query