Lines Matching refs:bin
104 enum Bin {
133 friend std::ostream& operator<<(std::ostream& stream, const Bin& bin);
144 // We use the lock word to store the bin # and bin index of the object in the image.
150 BinSlot(Bin bin, uint32_t index);
152 // The bin an object belongs to, i.e. regular, class/verified, class/initialized, etc.
153 Bin GetBin() const;
154 // The offset in bytes from the beginning of the bin. Aligned to object size.
207 static bool IsArtMethodBin(Bin bin) {
208 return bin == kBinArtMethodClean || bin == kBinArtMethodDirty;
272 Bin array_type) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
284 // Calculate the sum total of the bin slot sizes in [0, up_to). Defaults to all bins.
285 size_t GetBinSizeSum(Bin up_to = kBinSize) const;
291 void AssignMethodOffset(ArtMethod* method, Bin bin) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
318 Bin bin_type_;
324 std::unordered_map<mirror::PointerArray*, Bin> pointer_arrays_;
352 // Bin slot tracking for dirty object packing
353 size_t bin_slot_sizes_[kBinSize]; // Number of bytes in a bin
355 size_t bin_slot_count_[kBinSize]; // Number of objects in a bin
365 Bin bin_type;