summaryrefslogtreecommitdiff
path: root/test/utils/python/generate_java_main.py
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2016-07-28 18:08:51 -0700
committerMathieu Chartier <mathieuc@google.com>2016-08-03 15:46:18 -0700
commit36a270ae4f288e49493432b7128f899ad579849e (patch)
tree99f134bbfe111b1c42b1b0c19d8b65175a3e6fc8 /test/utils/python/generate_java_main.py
parent89bd8358c0a69e8cd6456d81d88ef366e261f732 (diff)
Change one read barrier bit to mark bit
Optimization to help slow path performance. When the GC marks an object through the read barrier slow path. The GC sets the mark bit in the lock word of that reference. This bit is checked from the assembly entrypoint the common case is that it is set. If the bit is set, the read barrier knows the object is already marked and there is no work to do. To prevent dirty pages in zygote and image, the bit is set by the image writer and zygote space creation. EAAC score (lower is better): N9: 777 -> 700 (average 31 of runs) N6P (960000 mhz): 1737.48 -> 1442.31 (average of 25 runs) Bug: 30162165 Bug: 12687968 Test: N9, N6P booting, test-art-host, test-art-target all with CC Change-Id: Iae0cacfae221e33151d3c0ab65338d1c822ab63d
Diffstat (limited to 'test/utils/python/generate_java_main.py')
0 files changed, 0 insertions, 0 deletions