| 339 | } |
| 340 | |
| 341 | void AllocatorOptions::CopyTo(Flags *f, CommonFlags *cf) { |
| 342 | f->quarantine_size_mb = quarantine_size_mb; |
| 343 | f->thread_local_quarantine_size_kb = thread_local_quarantine_size_kb; |
| 344 | f->redzone = min_redzone; |
| 345 | f->max_redzone = max_redzone; |
| 346 | cf->allocator_may_return_null = may_return_null; |
| 347 | f->alloc_dealloc_mismatch = alloc_dealloc_mismatch; |
| 348 | cf->allocator_release_to_os_interval_ms = release_to_os_interval_ms; |
| 349 | } |
| 350 | |
| 351 | struct Allocator { |
| 352 | static const uptr kMaxAllowedMallocSize = |
no outgoing calls
no test coverage detected