Age | Commit message (Collapse) | Author |
|
It's annoyingly opt-in, but I'd argue that's less annoying than #if...
Test: treehugger
Change-Id: Ic9b3f11a48193da725f15deee9e45285035961b8
|
|
clock_gettime is available on mac os starting from 10.12. On older
versions, let's use time(2).
Bug: 178124881
Test: watch a forrest run on mac
Change-Id: I60699cc013f090fe131642bf90afcfd3c6e9bdc6
|
|
NanoSleep with a very large argument could cause it to fail on 32 bits.
It doesn't appear to me that this was ever exposed to client code.
So this was probably not an observable bug.
Remove redundant uses of "constexpr inline" instead of adding another
one.
Bug: 161006928
Test: Treehugger
Change-Id: I2ad3b92d01c764915ab2aac17cc72ac5c6907ed4
|
|
An OEM asked for sub-second granularity for debuggerd and ART.
While I'm here, add the UTC offset that's in the debuggerd timestamps
but not in the ART ones.
Bug: https://issuetracker.google.com/161860597
Test: kill -QUIT zygote
Change-Id: I6b834689bd71bf7f4b2a74cc0045f60d1c6af020
|
|
Enable building key libraries for windows tools in the SDK.
Bug: 22322814
Test: run dexdumps on a large APK under wine on Linux
Change-Id: Ib7180f8385300244bf914e9ae1f993e869f71109
|
|
Return the process wall clock time instead as an approximation of the
process CPU time, as we cannot reliably use clock_gettime() on all
versions of macOS.
Test: m dex2oat (on macOS)
Bug: 121130576
Change-Id: I2f1d2d9766e7a57b27d8d823ba22da46c308f88c
|
|
Remove runtime/globals.h and make clients point to the right globals.h
(libartbase/base/globals.h). Also make within-libartbase includes
relative rather than using base/, etc.
Bug: 22322814
Test: make -j 40 checkbuild
Change-Id: I99de63fc851d48946ab401e2369de944419041c7
|
|
Enforce the layering that code in runtime/base should not depend on
runtime by separating it into libartbase. Some of the code in
runtime/base depends on the Runtime class, so it cannot be moved yet.
Also, some of the tests depend on CommonRuntimeTest, which itself needs
to be factored (in a subsequent CL).
Bug: 22322814
Test: make -j 50 checkbuild
make -j 50 test-art-host
Change-Id: I8b096c1e2542f829eb456b4b057c71421b77d7e2
|