1. 03 Feb, 2017 1 commit
  2. 02 Feb, 2017 27 commits
  3. 01 Feb, 2017 12 commits
    • David Sehr's avatar
      Separate art::Exec from utils · 97c381e3
      David Sehr authored
      The rest of utils.cc does not depend on art::Runtime. This separates
      the part dependent on that class, so that including utils.cc in the
      build does not require the entire Runtime. Another preparatory cleanup
      to getting tools to build on Windows.
      
      Bug: 22322814
      Test: test-art
      Change-Id: I194ff363fc2ab87e5311ecea6973a2d0fad2621d
      97c381e3
    • Alex Light's avatar
      Fix creating self-recursive obsolete methods. · 1ebe4fe1
      Alex Light authored
      We were using recursive loading of the current art method which was
      making us miss obsolete methods in some cases.
      
      We could also end up checking the wrong method when walking the stack.
      
      We also add tests for recursive obsolete methods in general.
      
      Bug: 34815470
      
      Test: mma -j40 test-art-host
      Test: ART_TEST_JIT=true mma -j40 test-art-host
      Change-Id: I522fd4cac4e3f9d35d03b128bad6d6971cfe6c4a
      1ebe4fe1
    • Mathieu Chartier's avatar
      Merge "Deduplicate register masks" · 3cb871ab
      Mathieu Chartier authored
      3cb871ab
    • Aart Bik's avatar
    • Stephen Hines's avatar
    • Mathieu Chartier's avatar
      Deduplicate register masks · 1a20b680
      Mathieu Chartier authored
      Data is commonly shared between different stack maps. The register
      masks are stored after the stack masks.
      
      Oat size for a large app:
      96722288 -> 94485872 (-2.31%)
      
      Average oat size reduction according to golem -3.193%.
      
      Bug: 34621054
      
      Test: test-art-host
      
      Change-Id: I5eacf668992e866d11ddba0c01675038a16cdfb4
      1a20b680
    • Treehugger Robot's avatar
      e230187b
    • Alex Light's avatar
      Fix flaky jit-gcstress tests 93{4,5,8}. · e41cad6f
      Alex Light authored
      We were letting the jit and the main thread race on class definition.
      If the 'leader' changes then we would end up with the test class
      having an unexpected definition, causing the test to fail. We fixed
      this by making sure all threads get the same definition regardless of
      speed.
      
      Bug: 34799243
      Test: mma -j40 test-art-host
      Test: stress --cpu 60 &; \
            while ./test/run-test --host --jit --gcstress --64 934 ; do ; done
      Test: stress --cpu 60 &; \
            while ./test/run-test --host --jit --gcstress --64 935 ; do ; done
      Test: stress --cpu 60 &; \
            while ./test/run-test --host --jit --gcstress --64 938 ; do ; done
      
      Change-Id: I0d6785b4c3c41db1d655cf1ff22be60809923a7a
      e41cad6f
    • buzbee's avatar
      ART: Reduce overhead of mterp OSR checking · 42a09cb0
      buzbee authored
      Once mterp's branch profiling identifies a method hot enough
      to try on-stack replacement, a request is made to the JIT to compile
      the method for OSR.  Mterp then enters a mode in which it checks
      for completion of the compilation in order to initiate the OSR.
      Currently, this completion check happens on every branch. In
      situations in which the JIT is backlogged and it takes awhile for the
      compilation to complete, the overhead of doing these checks is noticable.
      
      This change moves from a "check on every branch" model to a "check
      on every Nth branch" model.  We start with N=100, which should still
      yield responsive OSR but dramatically reduce the checking overhead.
      
      Bug: 32090348
      Test: m test-art-host
      Test: m test-art-target (Nexus 5x)
      Change-Id: I97442723397bb242163dc18bd4444977bcd469fa
      42a09cb0
    • Vladimir Marko's avatar
      357dcb73
    • Vladimir Marko's avatar
      Revert "Hash-based dex cache type array." · d16363a9
      Vladimir Marko authored
      Reverting to work around some programs crashing with
          Check failed: handle_scope_iface.Get() != nullptr.
      though the reason for the failure not yet understood.
      
      Test: m test-art-host
      Bug: 34839984
      Bug: 30627598
      Bug: 34659969
      Bug: 30419309
      
      This reverts commit ec786228.
      
      Change-Id: Ifded663633082f1e59e5b6ff2e026dc559bd6b82
      d16363a9
    • Nicolas Geoffray's avatar