Searched refs:MemoryPressureLevel (Results 1 – 8 of 8) sorted by relevance
60 nativeOnMemoryPressure(MemoryPressureLevel.CRITICAL); in registerSystemCallback()92 nativeOnMemoryPressure(MemoryPressureLevel.CRITICAL); in maybeNotifyMemoryPresure()97 nativeOnMemoryPressure(MemoryPressureLevel.MODERATE); in maybeNotifyMemoryPresure()
19 memory_pressure_level_.SetValue(MemoryPressureLevel::kNone); in AccountingAllocator()30 MemoryPressureLevel level) { in MemoryPressureNotification()33 if (level != MemoryPressureLevel::kNone) { in MemoryPressureNotification()98 if (memory_pressure_level_.Value() != MemoryPressureLevel::kNone) { in ReturnSegment()
42 void MemoryPressureNotification(MemoryPressureLevel level);86 base::AtomicValue<MemoryPressureLevel> memory_pressure_level_;
16 static_cast<base::MemoryPressureListener::MemoryPressureLevel>( in OnMemoryPressure()
25 using v8::MemoryPressureLevel;840 void MemoryPressureNotification(MemoryPressureLevel level,948 return memory_pressure_level_.Value() != MemoryPressureLevel::kNone; in HighMemoryPressure()2149 base::AtomicValue<MemoryPressureLevel> memory_pressure_level_;
95 memory_pressure_level_(MemoryPressureLevel::kNone), in Heap()1028 memory_pressure_level_.SetValue(MemoryPressureLevel::kNone); in CollectGarbage()4417 if (memory_pressure_level_.Value() == MemoryPressureLevel::kCritical) { in CheckMemoryPressure()4419 } else if (memory_pressure_level_.Value() == MemoryPressureLevel::kModerate) { in CheckMemoryPressure()4467 void Heap::MemoryPressureNotification(MemoryPressureLevel level, in MemoryPressureNotification()4469 MemoryPressureLevel previous = memory_pressure_level_.Value(); in MemoryPressureNotification()4471 if ((previous != MemoryPressureLevel::kCritical && in MemoryPressureNotification()4472 level == MemoryPressureLevel::kCritical) || in MemoryPressureNotification()4473 (previous == MemoryPressureLevel::kNone && in MemoryPressureNotification()4474 level == MemoryPressureLevel::kModerate)) { in MemoryPressureNotification()
6170 enum class MemoryPressureLevel { kNone, kModerate, kCritical }; enum6532 void MemoryPressureNotification(MemoryPressureLevel level);
8377 void Isolate::MemoryPressureNotification(MemoryPressureLevel level) { in MemoryPressureNotification()