namespace art HIDDEN { namespace gc { namespace collector {
struct ObjectBytePair { explicit ObjectBytePair(uint64_t num_objects = 0, int64_t num_bytes = 0)
: objects(num_objects), bytes(num_bytes) {} void Add(const ObjectBytePair& other) {
objects += other.objects;
bytes += other.bytes;
} // Number of objects which were freed.
uint64_t objects; // Freed bytes are signed since the GC can free negative bytes if it promotes objects to a space // which has a larger allocation size.
int64_t bytes;
};
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.