- 25 Nov, 2013 6 commits
-
-
Brian Carlstrom authored
-
Narayan Kamath authored
(cherry-picked from commit 115197d8) Change-Id: Ie0f2d0b5fb88e6a507836db3609b4be53abb636b
-
Narayan Kamath authored
-
Narayan Kamath authored
Use the new BUILD_HOST_DALVIK_JAVA_LIBRARY instead. (cherry picked from commit bb99b497) Change-Id: If6822157b02126ede86b2e9cd4db11bdbae5b82b
-
Narayan Kamath authored
-
Narayan Kamath authored
bug: https://code.google.com/p/android/issues/detail?id=62589 Change-Id: I8d569b8ecf21857df5f3d1e8ad88cd95139ab09c
-
- 22 Nov, 2013 4 commits
-
-
The Android Open Source Project authored
Change-Id: I883352e71c7d5f057764bdb822836023e57b6ba9
-
Kenny Root authored
-
Kenny Root authored
Bug: https://code.google.com/p/android/issues/detail?id=62640 Change-Id: I86ae6603a6492e8f66c1ce5782c1d0483e4a491b
-
Narayan Kamath authored
-
- 21 Nov, 2013 7 commits
-
-
Narayan Kamath authored
Sync flush can be dangerous if used incorrectly (overly frequently flushes can result in bad compression rations), also flush() here has slightly different semantics from usual stream flushes (in that they rarely affect the contents of the streams themselves). See related issue: https://code.google.com/p/android/issues/detail?id=62589 Change-Id: I97389c5924f3c338913df39830f27aedbfc3c440
-
Narayan Kamath authored
-
Narayan Kamath authored
Will make libdvm / libart diffs easier to digest. Change-Id: I2e119aa8424a2f4ce82a152efbec78bc79d9cc06
-
Narayan Kamath authored
-
Narayan Kamath authored
It must return null whenever getSuperclass() does. bug: 10918616 Change-Id: Ief316f84516052b3234b6bbd51ed843aff915026
-
Narayan Kamath authored
-
Narayan Kamath authored
These methods used equals() comparisons where identity checks would've sufficient. As expected, this results in a small but measurable performance increase on both art & dalvik. ---------------------- After -------------- ART: arrayLength benchmark us linear runtime 1 DeepHashCode 8.08 = 1 Equals 17.68 = 4 DeepHashCode 8.63 = 4 Equals 18.20 = 16 DeepHashCode 19.59 = 16 Equals 41.19 = 256 DeepHashCode 255.41 = 256 Equals 483.61 == 2048 DeepHashCode 2321.91 ============== 2048 Equals 4932.40 ============================== Dalvik: arrayLength benchmark us linear runtime 1 DeepHashCode 32.7 = 1 Equals 65.3 = 4 DeepHashCode 34.4 = 4 Equals 67.7 = 16 DeepHashCode 76.0 = 16 Equals 142.8 = 256 DeepHashCode 755.6 = 256 Equals 1515.6 === 2048 DeepHashCode 6915.4 =============== 2048 Equals 13786.6 ============================== ------------------------ Before -------------------- Art: arrayLength benchmark us linear runtime 1 DeepHashCode 8.13 = 1 Equals 17.86 = 4 DeepHashCode 8.63 = 4 Equals 18.92 = 16 DeepHashCode 19.59 = 16 Equals 40.89 = 256 DeepHashCode 253.88 = 256 Equals 477.02 == 2048 DeepHashCode 2795.26 ================ 2048 Equals 4962.11 ============================== Dalvik: arrayLength benchmark us linear runtime 1 DeepHashCode 32.8 = 1 Equals 66.7 = 4 DeepHashCode 34.4 = 4 Equals 70.1 = 16 DeepHashCode 74.1 = 16 Equals 147.9 = 256 DeepHashCode 805.0 = 256 Equals 1573.2 === 2048 DeepHashCode 7253.4 =============== 2048 Equals 14349.8 ============================== bug: 9320068 Change-Id: Id73bf38dd0777b2ec9004a2941523d082bbc74c9
-
- 20 Nov, 2013 8 commits
-
-
Narayan Kamath authored
-
Narayan Kamath authored
bug: 11666814 Change-Id: I25dc56f5e50e0cfb14e5781e953115864be612a9
-
Narayan Kamath authored
-
Narayan Kamath authored
bug: https://code.google.com/p/android/issues/detail?id=61993 Change-Id: I1725808187f23ddaa6ab1d14348c3b7702a5f833
-
Narayan Kamath authored
-
Narayan Kamath authored
The main improvement is that we're vastly reducing the amount of garbage this method creates. Also, get rid of some incorrect checks and add a new benchmark test case. Before vs. After: URI Equals 1540.1 = URI EqualsWithHeavilyEscapedComponent 11921397.1 ============================== URI Equals 1337.2 = URI EqualsWithHeavilyEscapedComponent 588934.3 ============================== Change-Id: I9ddb87b8267f0ac6a3ac85c2989cc0dd305ef6a1
-
Narayan Kamath authored
-
Narayan Kamath authored
Add additional documentation where necessary. bug: 11666814 Change-Id: I622d180c89f835e9466c7efe8f6a079c2516b73f
-
- 18 Nov, 2013 4 commits
-
-
Narayan Kamath authored
-
Narayan Kamath authored
-
Narayan Kamath authored
Addresses review comments from : https://android-review.googlesource.com/#/c/70041 Change-Id: Idcb799a24f3ea63fa0fc6702f7c7c55f3a1a9b48
-
Narayan Kamath authored
Adding a non-comparable key to the set will throw an exception. Change-Id: Ie3474f657c45891671b8fd1e10cea5a75c9179dc
-
- 15 Nov, 2013 11 commits
-
-
Lorenzo Colitti authored
-
Narayan Kamath authored
-
Narayan Kamath authored
This reverts commit d5e28174. The makefile issue that caused the original build break has been resolved.
-
Narayan Kamath authored
-
Lorenzo Colitti authored
Some of these are needed so that LinkAddress can tell if an IP address is duplicate, tentative, etc. or if it usable. While we're at it, add all the ones that are defined in the kernel headers. Bug: 9180552 Change-Id: I5fc77cacf5df2249bcf08071430675204624916f
-
Narayan Kamath authored
Change-Id: I450b13e714cf68310bf53e2fe740e9ecaac44576
-
Narayan Kamath authored
-
Narayan Kamath authored
This reverts commit 81bf28ad. Breaks build Change-Id: I3f1562921ffe8fdbec36971dd65db398c27c92db
-
Narayan Kamath authored
-
Narayan Kamath authored
-
Narayan Kamath authored
The vast majority of cleaned up harmony tests are now in harmony-tests/src/test/org/apache/harmony/tests/ Change-Id: I56c2e484ff434b5618cf6751d602ae9f0db96b30
-