WebPlatformForEmbedded / WPEWebKit

WPE WebKit port (downstream)
213 stars 136 forks source link

[MemoryPressure] Increase MemoryPressure logging in RELESE builds #1279

Closed asurdej-comcast closed 8 months ago

asurdej-comcast commented 8 months ago

1) Print crucial logs as RELEASE_LOG to be also visible when RELEASE_LOG is enabled (but regural logs disabled). 2) Fix memory relief condition

Nothing more should be visible by default. With WEBKIT_DEBUG=MemoryPressure addtional logging will be shown (global system/cgroup memory stats and notifications about pressure events).

magomez commented 8 months ago

@asurdej-comcast can you split this into 2 commits? One for the log and one for the condition, please?

asurdej-comcast commented 8 months ago

@magomez sure, done

asurdej-comcast commented 8 months ago

closing this PR for now. Looks like memory pressure handling in 2.38 is slightly different from 2.28 and so the logs are different. Need to clean it up first