Home
last modified time | relevance | path

Searched refs:MemoryPressureLevel (Results 1 – 8 of 8) sorted by relevance

/external/libmojo/base/android/java/src/org/chromium/base/
DMemoryPressureListener.java60 nativeOnMemoryPressure(MemoryPressureLevel.CRITICAL); in registerSystemCallback()
92 nativeOnMemoryPressure(MemoryPressureLevel.CRITICAL); in maybeNotifyMemoryPresure()
97 nativeOnMemoryPressure(MemoryPressureLevel.MODERATE); in maybeNotifyMemoryPresure()
/external/v8/src/zone/
Daccounting-allocator.cc19 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()
Daccounting-allocator.h42 void MemoryPressureNotification(MemoryPressureLevel level);
86 base::AtomicValue<MemoryPressureLevel> memory_pressure_level_;
/external/libmojo/base/android/
Dmemory_pressure_listener_android.cc16 static_cast<base::MemoryPressureListener::MemoryPressureLevel>( in OnMemoryPressure()
/external/v8/src/heap/
Dheap.h25 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_;
Dheap.cc95 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()
/external/v8/include/
Dv8.h6170 enum class MemoryPressureLevel { kNone, kModerate, kCritical }; enum
6532 void MemoryPressureNotification(MemoryPressureLevel level);
/external/v8/src/
Dapi.cc8377 void Isolate::MemoryPressureNotification(MemoryPressureLevel level) { in MemoryPressureNotification()