Home
last modified time | relevance | path

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

/external/v8/src/zone/
Daccounting-allocator.cc21 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()
Daccounting-allocator.h40 void MemoryPressureNotification(MemoryPressureLevel level);
84 base::AtomicValue<MemoryPressureLevel> memory_pressure_level_;
/external/v8/src/compiler-dispatcher/
Dcompiler-dispatcher.h26 enum class MemoryPressureLevel; variable
107 void MemoryPressureNotification(v8::MemoryPressureLevel level,
175 base::AtomicValue<v8::MemoryPressureLevel> memory_pressure_level_;
Dcompiler-dispatcher.cc183 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/
Dwasm-memory.cc78 heap->MemoryPressureNotification(MemoryPressureLevel::kCritical, true); in TryAllocateBackingStore()
93 heap->MemoryPressureNotification(MemoryPressureLevel::kCritical, true); in TryAllocateBackingStore()
Dwasm-code-manager.cc889 ->MemoryPressureNotification(MemoryPressureLevel::kCritical); in NewNativeModule()
907 isolate->heap()->MemoryPressureNotification(MemoryPressureLevel::kCritical, in NewNativeModule()
/external/v8/src/heap/
Dheap.h51 using v8::MemoryPressureLevel;
642 void MemoryPressureNotification(MemoryPressureLevel level,
720 return memory_pressure_level_ != MemoryPressureLevel::kNone; in HighMemoryPressure()
2025 std::atomic<MemoryPressureLevel> memory_pressure_level_;
Dheap.cc161 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/
Dv8.h7033 enum class MemoryPressureLevel { kNone, kModerate, kCritical };
7567 void MemoryPressureNotification(MemoryPressureLevel level);
/external/v8/src/
Dapi.cc8767 void Isolate::MemoryPressureNotification(MemoryPressureLevel level) { in MemoryPressureNotification()