Home
last modified time | relevance | path

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

/third_party/node/deps/v8/src/wasm/
Dmodule-compiler.cc222 big_units_guard.emplace(&big_units_queue_.mutex); in AddUnits()
224 big_units_queue_.has_units[tier].store(true, in AddUnits()
226 big_units_queue_.units[tier].emplace(func_size, unit); in AddUnits()
390 if (!big_units_queue_.has_units[tier].load(std::memory_order_relaxed)) { in GetBigUnitOfTier()
393 base::MutexGuard guard(&big_units_queue_.mutex); in GetBigUnitOfTier()
394 if (big_units_queue_.units[tier].empty()) return {}; in GetBigUnitOfTier()
395 WasmCompilationUnit unit = big_units_queue_.units[tier].top().unit; in GetBigUnitOfTier()
396 big_units_queue_.units[tier].pop(); in GetBigUnitOfTier()
397 if (big_units_queue_.units[tier].empty()) { in GetBigUnitOfTier()
398 big_units_queue_.has_units[tier].store(false, std::memory_order_relaxed); in GetBigUnitOfTier()
[all …]