Searched refs:_zone (Results 1 - 16 of 16) sorted by relevance

/macosx-10.9.5/libauto-185.5/
H A DThreadLocalCollector.cpp59 if (_zone->in_subzone_memory(block)) {
167 const unsigned char *map = (subzone->layout(q) & AUTO_OBJECT) ? _zone->layout_map_for_block(block) : NULL;
208 GARBAGE_COLLECTION_COLLECTION_PHASE_BEGIN((auto_zone_t*)_zone, AUTO_TRACE_SCAVENGING_PHASE);
217 if (malloc_logger) malloc_logger(MALLOC_LOG_TYPE_DEALLOCATE | MALLOC_LOG_TYPE_HAS_ZONE, uintptr_t(_zone), uintptr_t(block), 0, 0, 0);
228 _zone->handle_overretained_garbage(block, ref.refcount(), ref.layout());
233 _zone->zombify_internal(ref);
238 _zone->adjust_allocation_counter(bytes_dropped);
240 GARBAGE_COLLECTION_COLLECTION_PHASE_END((auto_zone_t*)_zone, AUTO_TRACE_SCAVENGING_PHASE, (uint64_t)blocks_freed, (uint64_t)bytes_freed);
286 _zone->adjust_allocation_counter(global_size);
299 GARBAGE_COLLECTION_COLLECTION_END((auto_zone_t*)_zone,
[all...]
H A DReferenceIterator.h159 Zone *_zone; // zone containing blocks member in class:Auto::ReferenceIterator
182 : _zone(zone), _visitor(visitor), _pending_stack(stack), _stack_bottom(stack_bottom),
187 Zone *zone() { return _zone; }
206 const unsigned char* layout_map_for_block(void *block) { return Configuration::ScanningStrategy::layout_map_for_block(_zone, block); }
218 if (_zone->in_subzone_memory(pointer)) {
227 } else if (_zone->block_is_start_large(pointer)) {
239 if (_zone->in_subzone_memory(pointer)) {
254 } else if (_zone->block_is_start_large(pointer)) {
266 if (_zone->in_subzone_memory(pointer)) {
278 } else if (_zone
[all...]
H A DRegion.cpp98 _zone = zone;
182 _zone->activate_subzone(subzone);
H A DThreadLocalCollector.h47 Zone *_zone; member in class:Auto::ThreadLocalCollector
80 : _zone(zone), _coverage(zone->coverage()), _stack_bottom(current_stack_bottom), _localsGuard(thread.localsGuard()), _localBlocks(thread.locals()),
H A DRegion.h52 Zone *_zone; // reference back to main zone member in class:Auto::Region
98 // XXX region->_zone->arena_deallocate(region->address(), region->size());
122 inline Zone *zone() const { return _zone; }
H A Dauto_gdb_interface.cpp91 Zone *_zone; member in class:Auto::GDBReferenceRecorder
106 GDBReferenceRecorder(Zone *zone, void *block, void *stack_bottom) : _zone(zone), _block(block), _stack_bottom(stack_bottom) {}
124 ref.address = _zone->block_start((void*)slot);
127 ref.retainCount = auto_zone_retain_count((auto_zone_t *)_zone,ref.address);
130 ref.address = _zone->block_start((void*)slot);
133 ref.retainCount = auto_zone_retain_count((auto_zone_t *)_zone,ref.address);
139 ref.retainCount = auto_zone_retain_count((auto_zone_t *)_zone,ref.address);
158 GDBReferenceIterator scanner(_zone, *this, stack, _stack_bottom);
269 Zone *_zone; member in class:Auto::GDBRootFinder
277 GDBRootFinder(Zone *zone, void *block, void* stack_bottom) : _zone(zon
550 Zone *_zone; member in struct:RetainedBlocksVisitor
[all...]
H A DThread.cpp50 : _next(NULL), _zone(zone), _pthread(NULL), _thread(MACH_PORT_NULL), _stack_base(NULL),
64 assert(_zone->in_subzone_memory(block));
71 _zone->adjust_allocation_counter(size);
158 blockDo(_zone, block, op);
215 ThreadLocalCollector tlc(_zone, NULL, *this);
226 if (!_zone->in_subzone_memory(block))
270 ThreadLocalCollector scanner(_zone, NULL, *this);
277 _zone->adjust_allocation_counter(size);
301 if (_zone->in_subzone_memory((void *)dst)) {
322 if (_zone
[all...]
H A Dauto_zone.cpp472 Zone *_zone; member in class:auto_free_sieve
476 auto_free_sieve(Zone *zone, const void *ptr) __attribute__((always_inline)) : _zone(zone) {
485 _zone->block_deallocate(ref);
961 Zone *_zone; member in class:set_write_barrier_dest_sieve
967 set_write_barrier_dest_sieve(Zone *zone, const void *dest, ValueBlockRef new_value, const void *new_value_addr) __attribute__((always_inline)) : _zone(zone), _dest(dest), _new_value(new_value), _new_value_addr(new_value_addr), _result(true) {
968 sieve_interior_pointer(_zone, _dest, *this);
972 Thread &thread = _zone->registered_thread();
974 check_resurrection(thread, _zone, ref, _new_value, offset_in_bytes);
976 if (Environment::unscanned_store_warning && _zone->compaction_enabled() && !ref.is_scanned() && !_new_value.has_refcount()) {
977 auto_error(_zone, "auto_zone_set_write_barrie
1006 Zone *_zone; member in class:set_write_barrier_value_sieve
1532 Zone * const _zone; member in class:auto_zone_add_root_sieve
[all...]
H A DAdmin.h54 Zone *_zone; // managing zone member in class:Auto::Admin
95 Zone *zone() const { return _zone; }
H A DLarge.h58 Zone *_zone; // the zone containing the large member in class:Auto::Large
161 inline Zone *zone() const { return _zone; }
H A DBlockIterator.h85 Zone *_zone; member in class:Auto::ConcurrentVisitorHelper
100 _visitor.visit(_zone, large_to_visit);
107 _visitor.visit(_zone, subzone_to_visit);
117 ConcurrentVisitorHelper(Zone *zone, Visitor &visitor) : _zone(zone), _visitor(visitor), _current_large(zone->large_list()), _current_region(zone->region_list()), _iterator(_current_region->subzone_range()), _lock(0) {}
H A DLarge.cpp51 : _prev(NULL), _next(NULL), _zone(zone), _vm_size(vm_size), _size(size), _layout(layout), _refcount(refcount), _age(age),
H A DZoneCompaction.cpp187 Zone *_zone; member in class:Auto::CompactionClassifier
203 CompactionClassifier(Zone *zone, mark_pinned_t marker) : _zone(zone), _marker(marker) { bzero(_kindCounts, sizeof(_kindCounts)); }
209 const unsigned char *weak_layout = _zone->weak_layout_map_for_block(slot_base);
242 blockStartNoLockDo(_zone, slot, ^(Subzone *slot_subzone, usword_t slot_q) {
272 if (!_zone->is_global_address_nolock(slot)) {
288 if (_zone->in_subzone_memory(slot)) {
310 if (_zone->in_subzone_memory(callback)) {
327 if (_zone->in_subzone_memory(slot)) {
343 blockDo(_zone, (void*)*slot,
361 for (Region *region = _zone
[all...]
H A DThread.h207 Zone *_zone; // managing zone member in class:Auto::Thread
299 inline Zone *zone() { return _zone; }
H A DAdmin.cpp48 _zone = zone;
237 const Range &coverage = _zone->coverage();
684 _zone->set_write_barrier_range(results, count * sizeof(void *));
685 _zone->add_blocks_and_bytes(count, count * size);
H A Dauto_weak.cpp681 Zone *_zone; member in struct:WeakUnregister
682 WeakUnregister(Zone *zone) : _zone(zone) {}
684 weak_unregister_no_lock(_zone, pair.first, pair.second);

Completed in 204 milliseconds