1. 25 Nov, 2013 6 commits
  2. 22 Nov, 2013 4 commits
  3. 21 Nov, 2013 7 commits
    • Narayan Kamath's avatar
      Don't turn on sync flush by default. · ef52f50a
      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
      ef52f50a
    • Narayan Kamath's avatar
      ee32438e
    • Narayan Kamath's avatar
      Fix naming to match the libart equivalent. · bcd03fb7
      Narayan Kamath authored
      Will make libdvm / libart diffs easier to digest.
      
      Change-Id: I2e119aa8424a2f4ce82a152efbec78bc79d9cc06
      bcd03fb7
    • Narayan Kamath's avatar
      Merge "Fix getGenericSuperclass." · 5af4cc5a
      Narayan Kamath authored
      5af4cc5a
    • Narayan Kamath's avatar
      Fix getGenericSuperclass. · f9f628bf
      Narayan Kamath authored
      It must return null whenever getSuperclass() does.
      
      bug: 10918616
      Change-Id: Ief316f84516052b3234b6bbd51ed843aff915026
      f9f628bf
    • Narayan Kamath's avatar
      48132b98
    • Narayan Kamath's avatar
      Minor cleanup of deepHashCode / deepEquals. · 09940729
      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
      09940729
  4. 20 Nov, 2013 8 commits
  5. 18 Nov, 2013 4 commits
  6. 15 Nov, 2013 11 commits