diff options
author | Hiroshi Yamauchi <yamauchi@google.com> | 2016-08-30 17:44:41 -0700 |
---|---|---|
committer | Hiroshi Yamauchi <yamauchi@google.com> | 2016-08-30 17:51:57 -0700 |
commit | a01d06618b08688472d2609220c3ba9c9d6de6f4 (patch) | |
tree | 94f1320b6664702067c73066e829226ce8fe0d7d /test/utils/python/generate_java_main.py | |
parent | 9495e0c56b25349220aed7adb997d81f9b0c86cc (diff) |
Fix a check failure in the CC background transition.
If there's a process state update from jank perceptible to jank
in-perceptible and a reverse update right after it, there's a chance
that the heap task daemon sees desired_collector_type ==
kCollectorTypeCC rather than kCollectorTypeCCBackground in
DoPendingCollectorTransition() which leads to a !kUseReadBarrier check
failure in TransitionCollector(). The fix is to move this check after
the early return case where collector_type == collector_type_ in
TransitionCollector() like the CMS/Hspace case.
Bug: 31039431
Bug: 12687968
Test: test-art-host, aosp boot with CC, master boot with CC.
Change-Id: I5fe34cb41eaa01c6d8bf80a185253fde6778e852
Diffstat (limited to 'test/utils/python/generate_java_main.py')
0 files changed, 0 insertions, 0 deletions