Add notifyutil registrations for going in and out of simulated low memory state
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 24 Jun 2017 00:03:38 +0000 (00:03 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 24 Jun 2017 00:03:38 +0000 (00:03 +0000)
commit605e4c9ad95931c8137d3ca8da52f3f4d4b713d7
tree80e9c8229b7d1c2feab38d9dffe84c63504bdac8
parent1e1ac08fd4dc1dd71c9e45c1fa1b7b844f27c1ed
Add notifyutil registrations for going in and out of simulated low memory state
https://bugs.webkit.org/show_bug.cgi?id=173797

Reviewed by Andreas Kling.

Add

notifyutil -p org.WebKit.lowMemory.begin
notifyutil -p org.WebKit.lowMemory.end

for debugging.

* wtf/cocoa/MemoryPressureHandlerCocoa.mm:
(WTF::MemoryPressureHandler::install):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@218776 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WTF/ChangeLog
Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm