| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
auto& main_thread_default =Is it possible that [this](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/controller/user_level_memory_pressure_signal_generator.cc;l=155-156;drc=af2de7c0679ba70ae08b6e5898f919655fad1a31) also runs from the "renderer main thread", which is not the process' main thread in single-process mode? In that case, what do you think of moving this code to a helper method in MemoryPressureListenerRegistry? (e.g. MemoryPressureListenerRegistry::NotifyMemoryPressureFromAnyThread).
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Is it possible that [this](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/controller/user_level_memory_pressure_signal_generator.cc;l=155-156;drc=af2de7c0679ba70ae08b6e5898f919655fad1a31) also runs from the "renderer main thread", which is not the process' main thread in single-process mode? In that case, what do you think of moving this code to a helper method in MemoryPressureListenerRegistry? (e.g. MemoryPressureListenerRegistry::NotifyMemoryPressureFromAnyThread).
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
+Ian for third_party/blink/renderer/controller/
PTAL
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Ensure that NotifyMemoryPressure is called on the main thread
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
static void NotifyMemoryPressure(MemoryPressureLevel memory_pressure_level);I wish there was a compile time check. Could this have been annotated with sequence checker so that we could know at compile time?
b/478376900
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
static void NotifyMemoryPressure(MemoryPressureLevel memory_pressure_level);I wish there was a compile time check. Could this have been annotated with sequence checker so that we could know at compile time?
b/478376900
A sequence checker check (DCHECK_CALLED_ON_VALID_SEQUENCE()) is inherently at run-time. There's a check inside that it's called on the right thread so any issues going forward should be found quickly
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |