发明名称 Targeted memory pressure event notifications
摘要 Systems, methods, and computer program products for target memory pressure event notifications are disclosed. Processes running on a device can register to receive memory pressure event notifications from a memory management system, which are sent while memory pages are being reclaimed. Active processes running on a device processor can be assigned a priority that ranges from low to high. Responsive to a memory pressure event occurring on the device, the memory management system determines whether less than a threshold number of high priority processes are active on the device. If so, the memory management system sends a memory pressure event notification to the registered process with the lowest priority among the active processes.
申请公布号 US9170859(B2) 申请公布日期 2015.10.27
申请号 US201213650083 申请日期 2012.10.11
申请人 Apple Inc. 发明人 Ramesh Ananthakrishna;Crosby Daniel E.;Magee James Michael;Desai Lionel D.;Watson Matthew G.;Crane Neil G.
分类号 G06F9/54;G06F9/50 主分类号 G06F9/54
代理机构 Fish & Richardson P.C. 代理人 Fish & Richardson P.C.
主权项 1. A method of managing memory, comprising: assigning priorities to processes running on a device; responsive to a memory pressure event on the device exceeding a threshold level, determining that less than a threshold number of high priority processes are active on the device; and responsive to determining that less than the threshold number of high priority processes are active on the device, sending a memory pressure event notification to an active process with the lowest priority, wherein the memory pressure event notification initiates a memory reclamation event, where the method is performed by one or more hardware processors.
地址 Cupertino CA US