commit | c0fa3ad44a84b7f658d16a717027bf95abc85db6 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Tue Feb 05 00:11:55 2013 -0800 |
committer | Ian Rogers <irogers@google.com> | Tue Feb 05 10:56:54 2013 -0800 |
tree | fd6b01ebb129a624da2cf73c1e27b5c488fccb47 | |
parent | b6c31ea69973b41d57146ab0c319613213a9a85e [diff] |
Improve performance of JNI field operations. Change improves performance of JniField Fadden test by around 25%, we're still 2x slower than Dalvik. Aggressively inline ScopedObjectAccess, Thread::SetState and field helpers. If we're not contention logging don't call MilliTime (avoids a double register spill). Remove (broken?) thread checks in scoped object access, they are redundant with ones being performed in check JNI. Change-Id: I128eed1e4205d4d540d5c6f430ef9e3853745585