Some low-hanging GC performance fruit.
Halves the GC pause in my test benchmark (using libart rather than libartd).
Change-Id: I57e5f9e312fd59ea62eea9da37a116e1ad21d4ec
diff --git a/src/object.h b/src/object.h
index a102386..882c025 100644
--- a/src/object.h
+++ b/src/object.h
@@ -1450,8 +1450,7 @@
}
Class* GetComponentType() const {
- return GetFieldObject<Class*>(
- OFFSET_OF_OBJECT_MEMBER(Class, component_type_), false);
+ return GetFieldObject<Class*>(OFFSET_OF_OBJECT_MEMBER(Class, component_type_), false);
}
void SetComponentType(Class* new_component_type) {