class CallocArenaPool final : public ArenaPool { public:
CallocArenaPool();
~CallocArenaPool();
Arena* AllocArena(size_t size) override; void FreeArenaChain(Arena* first) override;
size_t GetBytesAllocated() const override; void ReclaimMemory() override; void LockReclaimMemory() override; // Is a nop for malloc pools. void TrimMaps() override;
private:
Arena* free_arenas_; // Use a std::mutex here as Arenas are at the bottom of the lock hierarchy when malloc is used. mutable std::mutex lock_;
DISALLOW_COPY_AND_ASSIGN(CallocArenaPool);
};
} // namespace art
#endif// ART_LIBARTBASE_BASE_CALLOC_ARENA_POOL_H_
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet am 2026-06-29)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.