diff options
author | Mathieu Chartier <mathieuc@google.com> | 2014-03-02 18:01:13 -0800 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2014-03-03 10:12:52 -0800 |
commit | 6b8c503c6df887ff30f478ab58bdfdb223492f45 (patch) | |
tree | 7068f5680d766f10f0a412fee80ca23636a2c7bf /runtime/runtime_android.cc | |
parent | 1179b7b770c096e93442b9c6afea4730283256f0 (diff) | |
download | art-6b8c503c6df887ff30f478ab58bdfdb223492f45.zip art-6b8c503c6df887ff30f478ab58bdfdb223492f45.tar.gz art-6b8c503c6df887ff30f478ab58bdfdb223492f45.tar.bz2 |
Make ModifyCardsAtomic 64 bit safe.
There was some logic which assumed sizeof(uintptr_t) == 4 bytes.
New method also provides a slight speedup in
FormulaEvaluationActions.EvaluateAndApplyChanges
AllocSpaceClearCards:
Before total time spent aging alloc space cards:
914ms @ 389 GC iterations
886ms @ 386 GC iterations
906ms @ 413 GC iterations
After:
865ms @ 376 GC iterations
857ms @ 386 GC iterations
826ms @ 379 GC iterations
Change-Id: Ie375b7e57c36a0257a4ffe5a1622ffb6754509c7
Diffstat (limited to 'runtime/runtime_android.cc')
0 files changed, 0 insertions, 0 deletions