Permalink
Switch branches/tags
studio-2.3 gradle_2.3.0 android-wear-o-preview-3 android-wear-n-preview-2 android-wear-n-preview-1 android-wear-7.1.1_r1 android-wear-5.1.1_r1 android-wear-5.1.0_r1 android-wear-5.0.0_r1 android-sdk-support_r11 android-sdk-adt_r20 android-sdk-adt_r16.0.1 android-sdk-4.4.2_r1.0.1 android-sdk-4.4.2_r1 android-sdk-4.0.3_r1 android-sdk-4.0.3-tools_r1 android-o-preview-4 android-o-preview-3 android-o-preview-2 android-o-preview-1 android-o-iot-preview-5 android-n-preview-5 android-n-preview-4 android-n-preview-3 android-n-preview-2 android-n-preview-1 android-n-mr2-preview-2 android-n-mr2-preview-1 android-n-mr1-preview-2 android-n-mr1-preview-1 android-n-iot-preview-4 android-n-iot-preview-2 android-m-preview android-m-preview-2 android-m-preview-1 android-l-preview_r2 android-cts-verifier-4.0.3_r1 android-cts-verifier-4.0_r1 android-cts-8.0_r1 android-cts-7.1_r9 android-cts-7.1_r8 android-cts-7.1_r7 android-cts-7.1_r6 android-cts-7.1_r5 android-cts-7.1_r4 android-cts-7.1_r3 android-cts-7.1_r2 android-cts-7.1_r1 android-cts-7.0_r13 android-cts-7.0_r12 android-cts-7.0_r11 android-cts-7.0_r10 android-cts-7.0_r9 android-cts-7.0_r8 android-cts-7.0_r7 android-cts-7.0_r6 android-cts-7.0_r5 android-cts-7.0_r4 android-cts-7.0_r3 android-cts-7.0_r2 android-cts-7.0_r1 android-cts-6.0_r22 android-cts-6.0_r21 android-cts-6.0_r20 android-cts-6.0_r19 android-cts-6.0_r18 android-cts-6.0_r17 android-cts-6.0_r16 android-cts-6.0_r15 android-cts-6.0_r14 android-cts-6.0_r13 android-cts-6.0_r12 android-cts-6.0_r9 android-cts-6.0_r8 android-cts-6.0_r7 android-cts-6.0_r6 android-cts-6.0_r5 android-cts-6.0_r4 android-cts-6.0_r3 android-cts-6.0_r2 android-cts-6.0_r1 android-cts-5.1_r23 android-cts-5.1_r22 android-cts-5.1_r21 android-cts-5.1_r20 android-cts-5.1_r19 android-cts-5.1_r18 android-cts-5.1_r17 android-cts-5.1_r16 android-cts-5.1_r15 android-cts-5.1_r14 android-cts-5.1_r13 android-cts-5.1_r10 android-cts-5.1_r9 android-cts-5.1_r8 android-cts-5.1_r7 android-cts-5.1_r6 android-cts-5.1_r5 android-cts-5.1_r4 android-cts-5.1_r3
Nothing to show
Commits on Sep 21, 2017
  1. Merge "dx: Extend recognized set of signature-polymorphic methods"

    Treehugger Robot committed with Gerrit Code Review Sep 21, 2017
  2. dx: Extend recognized set of signature-polymorphic methods

    ohodson committed Sep 21, 2017
    Adds the VarHandle access methods.
    
    Bug: 65872996
    Test: dx/tests/run-test 141
    Test: dx/tests/run-all-tests
    Change-Id: I9cca3a45218d0d74314587937c78790571fc698f
Commits on Sep 15, 2017
  1. Merge "Reuse the underlying byte array for ByteArray"

    gavra0 committed with Gerrit Code Review Sep 15, 2017
  2. Reuse the underlying byte array for ByteArray

    gavra0 committed Sep 14, 2017
    Reuse the byte array for dex file output.
    
    When calculating signature and checksum for a DEX
    file, consider the size of the DEX file, instead of
    the array. An array bigger than the file can be
    allocated, and this would lead to wrong signature
    and checksum calculation.
    
    Because we reuse the output array
    between seprate dx invocations, we
    must write zeros to array. Otherwise, we might
    end up picking up the output from
    previous invocation.
    
    The BaseDumper now tracks the number of read
    bytes instead of the position.
    
    Test: existing
    Change-Id: I17126cfc02330bb459ae48be781e83ea997e4137
Commits on Sep 14, 2017
  1. Merge "Revert "Provide APIs to allow reusing the passed buffer.""

    Treehugger Robot committed with Gerrit Code Review Sep 14, 2017
  2. Revert "Provide APIs to allow reusing the passed buffer."

    ohodson committed Sep 14, 2017
    This reverts commit d67961b.
    
    Reason for revert: Fails 18 tests in dx/tests/run-all-tests
    
    Change-Id: I98db656689d6330ddf56a5661a49a19315b8b901
  3. Merge "Provide APIs to allow reusing the passed buffer."

    gavra0 committed with Gerrit Code Review Sep 14, 2017
Commits on Sep 12, 2017
  1. Provide APIs to allow reusing the passed buffer.

    jdochez committed Jun 17, 2017
    no functional changes.
    
    Test: existing.
    
    Change-Id: I30fbf02b92e804238807b4c98c3536c5c4c60ca4
    
    Consider DEX size for signature and checksum
    
    When calculating signature and checksum for a DEX
    file, consider the size of the DEX file, instead of
    the array. An array bigger than the file can be
    allocated, and this would lead to wrong signature
    and checksum calculation.
    
    Test: manually verified, existing tests
    Change-Id: I0b6ae946cca7c0e71bb5e1f0ecbe209b91347c9d
    
    Write zeros to byte array output
    
    Because we reuse the output array
    between seprate dx invocations, we
    must write zeros to array. Otherwise, we might
    end up picking up the output from
    previous invocation.
    
    Dx had an assumption that a new output
    array is always allocated, and it was
    a performance optimization not to write
    zeros out. That does not apply any more.
    
    BUG=65363025
    Test: ByteArrayAnnotatedOutputTest
    
    Change-Id: I984076e8078f9ed977f10cacb9b1b135b1d6358e
Commits on Sep 9, 2017
  1. Merge "Convert dexdump/libdex/hprof-conv to Android.bp"

    Treehugger Robot committed with Gerrit Code Review Sep 9, 2017
  2. Convert dexdump/libdex/hprof-conv to Android.bp

    danw committed Sep 9, 2017
    See build/soong/README.md for more information
    
    Test: mmma dalvik
    Change-Id: I2a7d26a38a4531195ce9deabfa345a9338fc574b
  3. Merge "Convert dx to Android.bp"

    colincross committed with Gerrit Code Review Sep 9, 2017
Commits on Sep 8, 2017
  1. Convert dx to Android.bp

    colincross committed Aug 11, 2017
    See build/soong/README.md for more information.
    
    Test: m -j checkbuild
    Change-Id: I5800e34bca257386c09b1a651dcc6a44c5368877
Commits on Sep 7, 2017
  1. Merge "dx: Deprecate SsaBasicBlock.isReachable()"

    ohodson committed with Gerrit Code Review Sep 7, 2017
  2. dx: Deprecate SsaBasicBlock.isReachable()

    ohodson committed Sep 7, 2017
    Changes SsaMethod.computeReachability() to return the reachability
    bitmap is calculates and remove unnecessary isReachable field from
    SsaBasicBlock.
    
    Bug: 65231722
    Test: dalvik/dx/tests/run-all-tests
    Change-Id: Ife3073b00243b0a7ae3d43845d2241f610520023
Commits on Sep 4, 2017
  1. Merge "dx: Remove a couple of hotspots"

    Treehugger Robot committed with Gerrit Code Review Sep 4, 2017
  2. dx: Remove a couple of hotspots

    ohodson committed Sep 4, 2017
    - Use concurrent hash map rather than hash map for interned
      RegisterSpec instances.
    - Use bitmaps in SsaMethod.computeReachability()
    
    Also use default concurrency level in concurrent collections.
    
    Bug: 65231722
    Test: dx/tests/run-all-tests
    Change-Id: If117eef77215c07d7c7e033795adef7a44ce8805
Commits on Aug 31, 2017
  1. Merge "dx: Minor code clean-up"

    Treehugger Robot committed with Gerrit Code Review Aug 31, 2017
  2. dx: Minor code clean-up

    ohodson committed Aug 31, 2017
    A few automated code clean-ups:
    - Insert missing @Override annotations.
    - Make fields final where possible.
    - Use StringBuilder rather StringBuffer for local use.
    - Clean-up imports.
    
    Bug: 65231722
    Test: dx/tests/run-all-tests
    Change-Id: I49810f1d43cb53ad32636a66eda2fadc538ba249
Commits on Aug 30, 2017
  1. Merge "dx: Add additional phi overlaps to liveness analysis"

    Treehugger Robot committed with Gerrit Code Review Aug 30, 2017
  2. dx: Add additional phi overlaps to liveness analysis

    ohodson committed Aug 30, 2017
    For pairs of phi functions within a basic block, mark the source and
    result registers as interferring.
    
    Bug: 63722269
    Bug: 34992456
    Bug: 64098454
    Test: dx/tests/run-all-tests
    Change-Id: Idb7a488b98bb4ca80aecc892c69d7dc31b8c5681
Commits on Aug 16, 2017
  1. Merge "dx: update run-test script and expectations"

    15characterlimi committed with android-build-merger Aug 16, 2017
    am: 5a49faf
    
    Change-Id: Iae6db92d22b8736bdda0d80c04af4d16f95ac942
  2. Merge "dx: update run-test script and expectations"

    15characterlimi committed with Gerrit Code Review Aug 16, 2017
  3. Merge "dx: Support v53 class files built from language level 8 sources."

    15characterlimi committed with android-build-merger Aug 16, 2017
    am: ba2b8e2
    
    Change-Id: I238124e912f03f556d61689d2b1092ed1b3d1178
Commits on Aug 15, 2017
  1. dx: Support v53 class files built from language level 8 sources.

    15characterlimi committed Aug 11, 2017
    This reapplies the changes to files under src/ from (reverted)
    commit ea1fbbc. In addition,
    this CL updates the affected test which had been forgotten in
    the previous CL.
    
    Test expectations were updated via:
    
      make jasmin dx-tests core-libart-hostdex && \
      dalvik/dx/tests/run-test --update 003-magic-version-access
    
    This CL removes the initial blockers for processing version 53
    class files with dx:
    
    1. Increase the maximum version that DirectClassFile.isGoodVersion()
       (CLASS_FILE_MAX_MAJOR_VERSION) will accept to 53.
       Also updated the documentation for CLASS_FILE_MIN_MAJOR_VERSION
       from the latest version of the referenced table on Wikipedia.
    
    2. Skip/do not process module-info.class files (module descriptors).
       Android / the dex file format doesn't currently support modules,
       and dx can't currently parse them.
    
    Test: dx doesn't crash when run on a modular jar representing core-all
          and built with OpenJDK 9 javac -target 1.9 -source 1.9
          (as well as additional unexported/draft local changes).
    
    Test: Treehugger
    Test: art/tools/buildbot-build.sh --host && dalvik/dx/tests/run-all-tests
    Bug: 64447140
    Bug: 38177569
    
    Change-Id: Id23b2a113b123b866ebf8461d54bd5607380707e
  2. dx: update run-test script and expectations

    15characterlimi committed with ohodson Aug 11, 2017
    Update the run-test script to use the javac from prebuilts.
    
    Update expectations for tests that were failing locally and not on the
    buildbots. It looks like these failures stem from different javac
    versions.
    
    Fix array bounds error in 127-merge-stress.
    
    Bug: 64707326
    Test: art/tools/buildbot-build.sh --host && dalvik/dx/tests/run-all-tests
    
    Change-Id: Ibc4b9216db9fed42aee8f239775ee4cb94536b74
Commits on Aug 11, 2017
  1. Merge "Revert "dx: Support v53 class files built from language level …

    15characterlimi committed with android-build-merger Aug 11, 2017
    …8 sources.""
    
    am: 091bbc6
    
    Change-Id: I95596ecd639d892a6fe98cda62afba614e25be36
  2. Merge "Revert "dx: Support v53 class files built from language level …

    15characterlimi committed with Gerrit Code Review Aug 11, 2017
    …8 sources.""
  3. Revert "dx: Support v53 class files built from language level 8 sourc…

    15characterlimi committed Aug 11, 2017
    …es."
    
    Reason for revert: Broke dx tests that asserted that v53 class files cannot be parsed. Will resubmit the original CL once I've updated the tests.
    
    This reverts commit ea1fbbc.
    
    Change-Id: I705bfbcf19fefbdb7e00b3b8baa86e29aee2222f
  4. Merge "dx: Support v53 class files built from language level 8 sources."

    15characterlimi committed with android-build-merger Aug 11, 2017
    am: b0786a9
    
    Change-Id: Ifce0ce14950c8cbf4658ea3f9551139390a5ce23
  5. dx: Support v53 class files built from language level 8 sources.

    15characterlimi committed Aug 10, 2017
    This CL removes the initial blockers for processing version 53
    class files with dx:
    
    1. Increase the maximum version that DirectClassFile.isGoodVersion()
       (CLASS_FILE_MAX_MAJOR_VERSION) will accept to 53.
       Also updated the documentation for CLASS_FILE_MIN_MAJOR_VERSION
       from the latest version of the referenced table on Wikipedia.
    
    2. Skip/do not process module-info.class files (module descriptors).
       Android / the dex file format doesn't currently support modules,
       and dx can't currently parse them.
    
    Test: dx doesn't crash when run on a modular jar representing core-all
          and built with OpenJDK 9 javac -target 1.9 -source 1.9
          (as well as additional unexported/draft local changes).
    
    Test: Treehugger
    Bug: 64447140
    Bug: 38177569
    
    Change-Id: I2f848e33d16c9189568cb22b41adc770a7946988
Commits on Aug 2, 2017
  1. Merge "dexdump: fix a static analyzer complaint"

    George Burgess IV committed with android-build-merger Aug 2, 2017
    am: 85c3817
    
    Change-Id: Ie9394078f9ce478d28b8e36670a0ec97b821718f
  2. Merge "dexdump: fix a static analyzer complaint"

    Treehugger Robot committed with Gerrit Code Review Aug 2, 2017
Commits on Jul 26, 2017
  1. dexdump: fix a static analyzer complaint

    George Burgess IV committed Jul 25, 2017
    Clang's static analyzer was complaining that the size in
    strncat(buf + bufUsed - 1, param, bufSize - (bufUsed - 1));
    was greater than the number of bytes available in the buffer. I don't
    see why it thinks that.
    
    If we refactor the code slightly, this warning goes away.
    
    Bug: 27101951
    Test: mma. Warning is gone.
    Change-Id: Id1619ec6d80e20f0c157dbb43d72ac861b8f8064