/external/cronet/base/allocator/partition_allocator/starscan/ |
D | pcscan.cc | 12 void PCScan::Initialize(InitConfig config) { in Initialize() 16 bool PCScan::IsInitialized() { in IsInitialized() 20 void PCScan::Disable() { in Disable() 21 auto& instance = PCScan::Instance(); in Disable() 25 bool PCScan::IsEnabled() { in IsEnabled() 26 auto& instance = PCScan::Instance(); in IsEnabled() 30 void PCScan::Reenable() { in Reenable() 31 auto& instance = PCScan::Instance(); in Reenable() 35 void PCScan::RegisterScannableRoot(Root* root) { in RegisterScannableRoot() 39 void PCScan::RegisterNonScannableRoot(Root* root) { in RegisterNonScannableRoot() [all …]
|
D | pcscan.h | 40 class PA_COMPONENT_EXPORT(PARTITION_ALLOC) PCScan final { in PA_COMPONENT_EXPORT() 76 PCScan(const PCScan&) = delete; in PA_COMPONENT_EXPORT() 77 PCScan& operator=(const PCScan&) = delete; in PA_COMPONENT_EXPORT() 161 PA_ALWAYS_INLINE static PCScan& Instance(); in PA_COMPONENT_EXPORT() 166 inline constexpr PCScan(); in PA_COMPONENT_EXPORT() 180 static PCScan instance_ PA_CONSTINIT; in PA_COMPONENT_EXPORT() 190 constexpr PCScan::PCScan() = default; 192 PA_ALWAYS_INLINE PCScan& PCScan::Instance() { in Instance() 201 PA_ALWAYS_INLINE bool PCScan::IsInProgress() { in IsInProgress() 202 const PCScan& instance = Instance(); in IsInProgress() [all …]
|
D | pcscan_internal.cc | 481 PCScanTask(PCScan& pcscan, size_t quarantine_last_size); 499 using Root = PCScan::Root; 512 task_.pcscan_.state_.store(PCScan::State::kScanning, in SyncScope() 525 task_.pcscan_.state_.store(PCScan::State::kSweepingAndFinishing, in ~SyncScope() 612 PCScan& pcscan_; 723 const PCScan::ClearType clear_type = pcscan_.clear_type_; in ClearQuarantinedSlotsAndPrepareCardTable() 726 if (clear_type == PCScan::ClearType::kEager) { in ClearQuarantinedSlotsAndPrepareCardTable() 740 if (clear_type == PCScan::ClearType::kLazy) { in ClearQuarantinedSlotsAndPrepareCardTable() 830 PCScanTask::PCScanTask(PCScan& pcscan, size_t quarantine_last_size) in PCScanTask() 1067 (pcscan_.clear_type_ == PCScan::ClearType::kEager); in SweepQuarantine() [all …]
|
D | write_protector.cc | 30 PCScan::ClearType NoWriteProtector::SupportedClearType() const { in SupportedClearType() 31 return PCScan::ClearType::kLazy; in SupportedClearType() 61 PCScan::JoinScanIfNeeded(); in UserFaultFDThread() 124 PCScan::ClearType UserFaultFDWriteProtector::SupportedClearType() const { in SupportedClearType() 125 return IsSupported() ? PCScan::ClearType::kEager : PCScan::ClearType::kLazy; in SupportedClearType()
|
D | pcscan_unittest.cc | 33 if (PCScan::IsStackScanningEnabled()) { in DisableStackScanningScope() 34 PCScan::DisableStackScanning(); in DisableStackScanningScope() 40 PCScan::EnableStackScanning(); in ~DisableStackScanningScope() 56 PCScan::ReinitForTesting( in PartitionAllocPCScanTestBase() 57 {PCScan::InitConfig::WantedWriteProtectionMode::kDisabled, in PartitionAllocPCScanTestBase() 58 PCScan::InitConfig::SafepointMode::kEnabled}); in PartitionAllocPCScanTestBase() 71 PCScan::RegisterScannableRoot(allocator_.root()); in PartitionAllocPCScanTestBase() 81 PCScan::Instance().PerformScan(PCScan::InvocationMode::kBlocking); in RunPCScan() 85 PCScan::Instance().PerformScan( in SchedulePCScan() 86 PCScan::InvocationMode::kScheduleOnlyForTesting); in SchedulePCScan() [all …]
|
D | pcscan_internal.h | 32 using Root = PCScan::Root; 55 void Initialize(PCScan::InitConfig); 58 void PerformScan(PCScan::InvocationMode); 59 void PerformScanIfNeeded(PCScan::InvocationMode); 103 void ReinitForTesting(PCScan::InitConfig); // IN-TEST
|
D | write_protector.h | 31 virtual PCScan::ClearType SupportedClearType() const = 0; 38 PCScan::ClearType SupportedClearType() const final; 58 PCScan::ClearType SupportedClearType() const final;
|
D | README.md | 27 *Probabilistic conservative scan (PCScan)* (`pcscan.{h,cc}`) is one particular 37 PCScan is currently considered **experimental** - please do not use it in 43 PCScan. 44 * `PartitionAllocPCScanBrowserOnly`: Enables PCScan in the browser process
|
D | pcscan_scheduling.cc | 36 PCScan::PerformScan(PCScan::InvocationMode::kNonBlocking); in EnableScheduling()
|
/external/cronet/base/allocator/partition_allocator/ |
D | memory_reclaimer.cc | 71 using PCScan = internal::PCScan; in Reclaim() typedef 73 ? PCScan::InvocationMode::kForcedBlocking in Reclaim() 74 : PCScan::InvocationMode::kBlocking; in Reclaim() 75 PCScan::PerformScanIfNeeded(invocation_mode); in Reclaim()
|
D | partition_root.h | 247 using PCScan = internal::PCScan; in PA_COMPONENT_EXPORT() local 1289 PCScan::JoinScanIfNeeded(); in FreeNoHooks() 1291 PCScan::MoveToQuarantine(object, slot_span->GetUsableSize(root), in FreeNoHooks() 1903 PCScan::JoinScanIfNeeded(); in AllocWithFlagsNoHooks()
|
D | partition_bucket.cc | 879 PCScan::RegisterNewSuperPage(root, super_page); in InitializeSuperPage()
|
D | partition_root.cc | 1347 if (PCScan::IsInProgress()) { in PurgeMemory()
|
/external/cronet/base/allocator/ |
D | partition_alloc_support.cc | 196 partition_alloc::internal::PCScan::RegisterStatsReporter(&s_reporter); in RegisterPCScanStatsReporter() 771 partition_alloc::internal::PCScan::SetProcessName(name); in SetProcessNameForPCScan() 777 using Config = partition_alloc::internal::PCScan::InitConfig; in EnablePCScanForMallocPartitionsIfNeeded() 791 using Config = partition_alloc::internal::PCScan::InitConfig; in EnablePCScanForMallocPartitionsInBrowserProcessIfNeeded() 813 using Config = partition_alloc::internal::PCScan::InitConfig; in EnablePCScanForMallocPartitionsInRendererProcessIfNeeded() 1118 partition_alloc::internal::PCScan::EnableStackScanning(); in ReconfigureAfterFeatureListInit() 1120 partition_alloc::internal::PCScan::NotifyThreadCreated( in ReconfigureAfterFeatureListInit() 1126 partition_alloc::internal::PCScan::EnableImmediateFreeing(); in ReconfigureAfterFeatureListInit() 1130 partition_alloc::internal::PCScan::SetClearType( in ReconfigureAfterFeatureListInit() 1131 partition_alloc::internal::PCScan::ClearType::kEager); in ReconfigureAfterFeatureListInit() [all …]
|
/external/cronet/base/allocator/partition_allocator/partition_alloc_base/threading/ |
D | platform_thread_posix_for_testing.cc | 56 PCScan::NotifyThreadCreated(GetStackPointer()); in ThreadFunc() 63 PCScan::NotifyThreadDestroyed(); in ThreadFunc()
|
D | platform_thread_win_for_testing.cc | 66 PCScan::NotifyThreadCreated(GetStackPointer()); in ThreadFunc() 78 PCScan::NotifyThreadDestroyed(); in ThreadFunc()
|
/external/cronet/base/allocator/partition_allocator/shim/ |
D | allocator_shim_default_dispatch_to_partition_alloc.cc | 673 void EnablePCScan(partition_alloc::internal::PCScan::InitConfig config) { in EnablePCScan() 676 partition_alloc::internal::PCScan::Initialize(config); in EnablePCScan() 678 partition_alloc::internal::PCScan::RegisterScannableRoot(Allocator()); in EnablePCScan() 680 partition_alloc::internal::PCScan::RegisterScannableRoot( in EnablePCScan() 683 partition_alloc::internal::PCScan::RegisterScannableRoot( in EnablePCScan()
|
D | allocator_shim.h | 206 BASE_EXPORT void EnablePCScan(partition_alloc::internal::PCScan::InitConfig);
|
/external/cronet/base/threading/ |
D | platform_thread_posix.cc | 80 partition_alloc::internal::PCScan::NotifyThreadCreated( in ThreadFunc() 108 partition_alloc::internal::PCScan::NotifyThreadDestroyed(); in ThreadFunc()
|
D | platform_thread_win.cc | 120 partition_alloc::internal::PCScan::NotifyThreadCreated( in ThreadFunc() 141 partition_alloc::internal::PCScan::NotifyThreadDestroyed(); in ThreadFunc()
|
/external/cronet/base/memory/ |
D | nonscannable_memory.cc | 77 partition_alloc::internal::PCScan::RegisterNonScannableRoot( in NotifyPCScanEnabled()
|