1. 17 Mar, 2014 1 commit
  2. 04 Dec, 2013 2 commits
  3. 03 Dec, 2013 3 commits
    • Benoit Lamarche's avatar
      Fix BufferOverflowException when merging dexes · 4afbba6e
      Benoit Lamarche authored
      Bug: 11519714
      
      The bug was due to the fact that when merging 2 dexes, not enough size may be reserved for the "typeLists" section.
      This is because we only aligned the sum of the size of both sections.
      If both typeLists sections were aligned with 2 and not with 4, we are 4 bytes short when writing.
      
      Change-Id: I73b51eb25434a622143011741a69b88d42507f43
      (cherry picked from commit 2241dbe1)
      4afbba6e
    • Yohann Roussel's avatar
      Fix synchronization when preparing ids. · acb058bf
      Yohann Roussel authored
      Synchronized blocks were using different locks.
      Replaced by a safer version: marking intern method synchronized.
      This means synchronizing more than necessary but it had no
      mesurable perfomance impact.
      
      Bug 11744785
      
      Change-Id: I35e691232cd6971d13735be9b72969739ef71e09
      (cherry picked from commit 5c4883e7)
      acb058bf
    • Benoit Lamarche's avatar
      Deactivate multi-thread in multi-dex mode · 43ee5e97
      Benoit Lamarche authored
      It should already have been the case, but it wasn't and it crashed.
      
      Change-Id: Icb461d6e43ef2d113f59038d8c2327f3cfaff86c
      (cherry picked from commit cf069ca5)
      43ee5e97
  4. 17 Oct, 2013 1 commit
  5. 16 Oct, 2013 1 commit
  6. 09 Oct, 2013 2 commits
  7. 08 Oct, 2013 1 commit
  8. 25 Sep, 2013 1 commit
  9. 24 Sep, 2013 3 commits
  10. 22 Sep, 2013 1 commit
  11. 19 Sep, 2013 3 commits
  12. 18 Sep, 2013 2 commits
    • Kenny Root's avatar
      Reconcile differences between zip implementations · 386a7f33
      Kenny Root authored
      Copy new behavior of ZipFileRO to dalvik's ZipArchive.cpp
      
      Bug: 10424836
      Change-Id: Ic0ce11281f7318abda9d3c8062a095186448d2a9
      386a7f33
    • Jeff Sharkey's avatar
      Allow traversal into /storage paths. · 04e4b0eb
      Jeff Sharkey authored
      Apps are no longer required to have sdcard_r or sdcard_rw to access
      some parts of external storage.  Relax the mount parameters to allow
      everyone to traverse.
      
      Bug: 10577808
      Change-Id: I620c8f02f08b149437dfa5705e05a27b6994d2db
      04e4b0eb
  13. 16 Sep, 2013 1 commit
  14. 11 Sep, 2013 2 commits
  15. 09 Sep, 2013 1 commit
  16. 06 Sep, 2013 1 commit
  17. 02 Sep, 2013 1 commit
  18. 30 Aug, 2013 1 commit
    • Jeff Hao's avatar
      Change IsMethodTracingActive to GetMethodTracingMode. · 07344a40
      Jeff Hao authored
      This allows traceview to tell whether tracing is active, and whether
      it is sampling or method tracing.
      
      Bug: 9968521
      
      Change-Id: I72100d1536ea3168998110ec1cfa5a183b55a67c
      (cherry picked from commit 9d3a0a2e253aecd07c4a053c19cf9b0ccaa2db49)
      07344a40
  19. 29 Aug, 2013 3 commits
  20. 28 Aug, 2013 4 commits
    • Yohann Roussel's avatar
      Make a more verbose too many id error message. · 418c8477
      Yohann Roussel authored
      This restores the old message, replacing "ids" by "references" and
      advertising for multidex otpions.
      
      Updates dalvik/tests/089-many-methods accordingly.
      
      (cherry picked from commit d352de04)
      
      Change-Id: I5934bc9fb7812b66c0e38935946cacdf1c35a402
      418c8477
    • Yohann Roussel's avatar
      Increment dx version to 1.8 · 82e8334a
      Yohann Roussel authored
      (cherry picked from commit 39bcbf75)
      
      Change-Id: Iaddb2020b75f2bbba2e2ebda3a4465a890e361ca
      82e8334a
    • Yohann Roussel's avatar
      Fix 2 filtering problems in multi dex + main list. · 3abdb48f
      Yohann Roussel authored
      - Classes in archives were added in all dexes.
      - Adding resources could be done twice in non "strictNameCheck" mode
      (when using BestEffortMainDexListFilter) if there was 2 secondary
      dex.
      
      (cherry picked from commit ad27e196)
      
      Change-Id: I5cbc1b273518e868fdd3d642d50488ddcbec2af6
      3abdb48f
    • Benoit Lamarche's avatar
      Introduce --multi-dex option in dx. · 4c656e4e
      Benoit Lamarche authored
      Add --multi-dex options to dx command line to allow the generation of
      several dex files when method index limit is about to be reached.
      Also add
        --main-dex-list allowing to force some classes in the main dex.
        --minimal-main-dex to keep in main edx only classes specified by
            main-dex-list.
        --set-max-idx-number to set an arbitrary idx limit for the
            splitting.
      
      (cherry picked from commit c7daf656)
      
      Change-Id: I2b42272be91484a75783eb94cd30581159948975
      4c656e4e
  21. 26 Aug, 2013 1 commit
  22. 23 Aug, 2013 1 commit
    • Mathieu Chartier's avatar
      Fix native allocation tracking on Dalvik. · 95adf1ff
      Mathieu Chartier authored
      Fixed issue where we had inverted logic when checking for
      pending exceptions.
      
      Changed the logic to not update the native allocation watermarks
      after concurrent GC since the finalizers may not have been run at
      this point.
      
      Copied over the test from ART for ensuring that it is working.
      
      Bug: 10444866
      
      Change-Id: Ie26170f9c4703f11e993233cdc9c5f46396fca84
      95adf1ff
  23. 22 Aug, 2013 1 commit
  24. 21 Aug, 2013 1 commit
    • Elliott Hughes's avatar
      libdvm should block SIGPIPE like the RI does. · 8723464b
      Elliott Hughes authored
      Normally AndroidRuntime.cpp patches over this lapse, but that means
      that tests run by vogar or any other kind of "bare" VM doesn't handle
      SIGPIPE correctly. I'll remove the workaround from AndroidRuntime.cpp.
      
      Bug: 10211309
      Change-Id: I51380486867af011d58ddbefbdef8d120f736ad9
      8723464b
  25. 19 Aug, 2013 1 commit