diff options
author | 2013-02-05 00:11:55 -0800 | |
---|---|---|
committer | 2013-02-05 10:56:54 -0800 | |
commit | c0fa3ad44a84b7f658d16a717027bf95abc85db6 (patch) | |
tree | fd6b01ebb129a624da2cf73c1e27b5c488fccb47 /src/compiler/codegen/codegen_util.h | |
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
Diffstat (limited to 'src/compiler/codegen/codegen_util.h')
0 files changed, 0 insertions, 0 deletions