Searched refs:MemoryPressureLevel (Results 1 – 10 of 10) sorted by relevance
/external/v8/src/zone/ |
D | accounting-allocator.cc | 21 memory_pressure_level_.SetValue(MemoryPressureLevel::kNone); in AccountingAllocator() 32 MemoryPressureLevel level) { in MemoryPressureNotification() 35 if (level != MemoryPressureLevel::kNone) { in MemoryPressureNotification() 102 if (memory_pressure_level_.Value() != MemoryPressureLevel::kNone) { in ReturnSegment()
|
D | accounting-allocator.h | 40 void MemoryPressureNotification(MemoryPressureLevel level); 84 base::AtomicValue<MemoryPressureLevel> memory_pressure_level_;
|
/external/v8/src/compiler-dispatcher/ |
D | compiler-dispatcher.h | 26 enum class MemoryPressureLevel; variable 107 void MemoryPressureNotification(v8::MemoryPressureLevel level, 175 base::AtomicValue<v8::MemoryPressureLevel> memory_pressure_level_;
|
D | compiler-dispatcher.cc | 183 memory_pressure_level_(MemoryPressureLevel::kNone), in CompilerDispatcher() 204 if (memory_pressure_level_.Value() != MemoryPressureLevel::kNone) { in CanEnqueue() 437 v8::MemoryPressureLevel level, bool is_isolate_locked) { in MemoryPressureNotification() 438 MemoryPressureLevel previous = memory_pressure_level_.Value(); in MemoryPressureNotification() 442 if (previous != MemoryPressureLevel::kNone || in MemoryPressureNotification() 443 level == MemoryPressureLevel::kNone) { in MemoryPressureNotification()
|
/external/v8/src/wasm/ |
D | wasm-memory.cc | 78 heap->MemoryPressureNotification(MemoryPressureLevel::kCritical, true); in TryAllocateBackingStore() 93 heap->MemoryPressureNotification(MemoryPressureLevel::kCritical, true); in TryAllocateBackingStore()
|
D | wasm-code-manager.cc | 889 ->MemoryPressureNotification(MemoryPressureLevel::kCritical); in NewNativeModule() 907 isolate->heap()->MemoryPressureNotification(MemoryPressureLevel::kCritical, in NewNativeModule()
|
/external/v8/src/heap/ |
D | heap.h | 51 using v8::MemoryPressureLevel; 642 void MemoryPressureNotification(MemoryPressureLevel level, 720 return memory_pressure_level_ != MemoryPressureLevel::kNone; in HighMemoryPressure() 2025 std::atomic<MemoryPressureLevel> memory_pressure_level_;
|
D | heap.cc | 161 memory_pressure_level_(MemoryPressureLevel::kNone), in Heap() 3550 MemoryPressureLevel memory_pressure_level = memory_pressure_level_; in CheckMemoryPressure() 3554 memory_pressure_level_ = MemoryPressureLevel::kNone; in CheckMemoryPressure() 3555 if (memory_pressure_level == MemoryPressureLevel::kCritical) { in CheckMemoryPressure() 3557 } else if (memory_pressure_level == MemoryPressureLevel::kModerate) { in CheckMemoryPressure() 3607 void Heap::MemoryPressureNotification(MemoryPressureLevel level, in MemoryPressureNotification() 3609 MemoryPressureLevel previous = memory_pressure_level_; in MemoryPressureNotification() 3611 if ((previous != MemoryPressureLevel::kCritical && in MemoryPressureNotification() 3612 level == MemoryPressureLevel::kCritical) || in MemoryPressureNotification() 3613 (previous == MemoryPressureLevel::kNone && in MemoryPressureNotification() [all …]
|
/external/v8/include/ |
D | v8.h | 7033 enum class MemoryPressureLevel { kNone, kModerate, kCritical }; 7567 void MemoryPressureNotification(MemoryPressureLevel level);
|
/external/v8/src/ |
D | api.cc | 8767 void Isolate::MemoryPressureNotification(MemoryPressureLevel level) { in MemoryPressureNotification()
|