57943810cfc789da890d73621741729da5feaaf8 |
|
07-Dec-2017 |
Andreas Gampe <agampe@google.com> |
ART: Replace base/logging with android-base/logging Replace wherever possible. ART's base/logging is now mainly VLOG and initialization code that is unnecessary to pull in and makes changes to verbose logging more painful than they have to be. Test: m test-art-host Change-Id: I3e3a4672ba5b621e57590a526c7d1c8b749e4f6e
|
8cf9cb386cd9286d67e879f1ee501ec00d72a4e1 |
|
19-Jul-2017 |
Andreas Gampe <agampe@google.com> |
ART: Include cleanup Let clang-format reorder the header includes. Derived with: * .clang-format: BasedOnStyle: Google IncludeIsMainRegex: '(_test|-inl)?$' * Steps: find . -name '*.cc' -o -name '*.h' | xargs sed -i.bak -e 's/^#include/ #include/' ; git commit -a -m 'ART: Include cleanup' git-clang-format -style=file HEAD^ manual inspection git commit -a --amend Test: mmma art Change-Id: Ia963a8ce3ce5f96b5e78acd587e26908c7a70d02
|
3b7dc35f4e5c4d86c73b6784b7ee0df701c68ec2 |
|
07-Jun-2017 |
Andreas Gampe <agampe@google.com> |
ART: Clean up allocator.h Move the single-use typedefs to their users. Remove now-unused includes. Fix up transitive includes. Test: m Change-Id: I953d774b28f1e4f3191f96943e3a69ce66aa398a
|
b486a98aadc95d80548953410cf23edba62259fa |
|
01-Jun-2017 |
Andreas Gampe <agampe@google.com> |
ART: Introduce thread-current-inl.h Factor out Thread::Current() code into its own -inl file to remove transitive includes. This requires at the same time correcting mutex.h, i.e., moving some functions into mutex-inl.h. Test: m test-art-host Change-Id: I88f888b604e0897368d9b483edce6ce4332dd9c9
|
3e1070239a920cc94b020a621acf4daeccebb140 |
|
22-Feb-2017 |
Vladimir Marko <vmarko@google.com> |
Avoid excessive allocation of std::set<> nodes in SwapSpace. This does not affect the overall memory usage but avoids a lot of deallocations followed by allocation. Measured compilation of a big app using heap track: bytes allocated in total (ignoring deallocations): 4.14GB -> 4.04GB calls to allocation functions: 21662554 -> 19545823 Test: m test-art-host-gtest Test: Manually check that oat file for the big app remains identical. Bug: 34053922 Change-Id: I00568422ba5510550986e29f30bace9ae6245269
|
0ae0e3c8a501befa88e479dd5ee59819b350be3d |
|
18-Feb-2016 |
Jean-Philippe Halimi <jean-philippe.halimi@intel.com> |
Remove useless map in SwapAllocator This patch removes a map in SwapAllocator because there is no need for it. Change-Id: Ifbc641d0d919eaaae7994836dfe423883046c61f Signed-off-by: Jean-Philippe Halimi <jean-philippe.halimi@intel.com>
|
ef9230b63c66fc17304d45851c3482a25858ab6f |
|
06-Oct-2015 |
Vladimir Marko <vmarko@google.com> |
Clean up SwapSpace. Change-Id: I14f371b153b83e3cc70b7938fb8be80d99b12b3e
|
90443477f9a0061581c420775ce3b7eeae7468bc |
|
17-Jul-2015 |
Mathieu Chartier <mathieuc@google.com> |
Move to newer clang annotations Also enable -Wthread-safety-negative. Changes: Switch to capabilities and negative capabilities. Future work: Use capabilities to implement uninterruptible annotations to work with AssertNoThreadSuspension. Bug: 20072211 Change-Id: I42fcbe0300d98a831c89d1eff3ecd5a7e99ebf33
|
edb157fa272b58be8bb90fa4dc9cb7ca4c2760f2 |
|
22-Dec-2014 |
Andreas Gampe <agampe@google.com> |
ART: Mac build fix Unused parameter on Mac. Bug: 18596910 Change-Id: If0fab0b58173997d584fcdce195361d792f1098d
|
bed520b360f2aa81d00d30417cc96cc4f174c7ec |
|
19-Dec-2014 |
Andreas Gampe <agampe@google.com> |
ART: Do not compile swap file functionality on Mac Bug: 18596910 (cherry picked from commit 8a9f0049821803051201edebc6d9a0f0639756c3) Change-Id: Ic06429f41840ce318cfaa837efecc69c2076440e
|
e21dc3db191df04c100620965bee4617b3b24397 |
|
09-Dec-2014 |
Andreas Gampe <agampe@google.com> |
ART: Swap-space in the compiler Introduce a swap-space and corresponding allocator to transparently switch native allocations to memory backed by a file. Bug: 18596910 (cherry picked from commit 62746d8d9c4400e4764f162b22bfb1a32be287a9) Change-Id: I131448f3907115054a592af73db86d2b9257ea33
|
8a9f0049821803051201edebc6d9a0f0639756c3 |
|
19-Dec-2014 |
Andreas Gampe <agampe@google.com> |
ART: Do not compile swap file functionality on Mac Bug: 18596910 Change-Id: Ic06429f41840ce318cfaa837efecc69c2076440e
|
d9ce7fc19b061be7745d8d8a32bc954a0c62d326 |
|
19-Dec-2014 |
Andreas Gampe <agampe@google.com> |
ART: Fix swap space free list You should look for the element's size, not the freed size, when coalescing nodes. Bug: 18809642 Change-Id: I0c4396d52ef68f392f1e8c76a57e3fb5587b77fb
|
62746d8d9c4400e4764f162b22bfb1a32be287a9 |
|
09-Dec-2014 |
Andreas Gampe <agampe@google.com> |
ART: Swap-space in the compiler Introduce a swap-space and corresponding allocator to transparently switch native allocations to memory backed by a file. Bug: 18596910 Change-Id: I131448f3907115054a592af73db86d2b9257ea33
|