1. 13 Nov, 2009 5 commits
  2. 12 Nov, 2009 7 commits
  3. 10 Nov, 2009 3 commits
    • Bill Buzbee's avatar
      Jit stress mode: translate everything we can and self verify. · 6beb30e8
      Bill Buzbee authored
      This represents a general clean-up of some existing command-line
      options: -Xjitthreshold:num and -Xjitblocking.  The jit threshold
      controls how quickly we treat a Dalvik address as a potential trace
      head.  Normally this is set around 200 (and the range is 0..255, where
      0 is in effect 256 and 1 means begin trace selection on first visit).
      
      -Xjitblocking forces the system to pause execution whenever a translation
      request is made and resume when that translation is complete.  Normally
      the system make a request but continues execution (to avoid jitter).
      
      Additionally, if WITH_SELF_VERIFICATION is defined, we force blocking
      to be true, and set the threshold to 1.  And finally, we treat
      threshold==1 as a special case and disable the 2nd-level trace-building
      filter - which causes the system to immediately start trace selection.
      6beb30e8
    • Elliott Hughes's avatar
      Fix DOM parsing of character references/entities. · af74d493
      Elliott Hughes authored
      Our DOM parser didn't support { or š character references,
      and didn't merge adjacent text nodes into one (so "a&b" would be
      three text nodes rather than one; SAX allows the former, but DOM
      guarantees the latter).
      
      This patch fixes both bugs, and adds tests.
      
      Bug: 2607 (and duplicates)
      af74d493
    • Elliott Hughes's avatar
      Bring our kxml2 up to date with upstream. · b211e13c
      Elliott Hughes authored
      Much of this is spurious whitespace changes, but there's some increased
      "relaxation". I deliberately lost the Android-specific change that was
      avoiding Runtime, since we do now have Runtime. I've added an Android-specific
      change to comment out some System.out logging that's been added upstream.
      
      I'd tell you the upstream revision number, but they're still using CVS, so
      there isn't one.
      b211e13c
  4. 09 Nov, 2009 6 commits
    • Brett Chabot's avatar
      am 216438fc: (-s ours) am 83859891: am 3dc6a811: (-s ours) DO NOT MERGE. CTS... · b5ac2cfa
      Brett Chabot authored
      am 216438fc: (-s ours) am 83859891: am 3dc6a811: (-s ours) DO NOT MERGE. CTS test cleanup. Mark tests as KnownFailures and BrokenTests.
      
      Merge commit '216438fc405d78069b1042cc21fc43dc85f860a9'
      
      * commit '216438fc405d78069b1042cc21fc43dc85f860a9':
        DO NOT MERGE. CTS test cleanup. Mark tests as KnownFailures and BrokenTests.
      b5ac2cfa
    • Android (Google) Code Review's avatar
      Merge change Ie65d9758 · 19417537
      Android (Google) Code Review authored
      * changes:
        Introduce "just interpret" chainable pseudo-translation.
      19417537
    • Bill Buzbee's avatar
      Introduce "just interpret" chainable pseudo-translation. · 18af0d9b
      Bill Buzbee authored
      This is the first step towards enabling translation & self-cosim stress modes.
      When trace selection begins, the trace head address is pinned and
      remains in a limbo state until the translation is complete.  Previously,
      if the trace selected aborted for any reason, the trace head would remain
      forever in limbo.  This was not a correctness problem, but caused some
      small performance anomolies and made life more difficult for self-cosimulation
      mode.
      
      This CL introduces a pseudo-translation that simply routes control to
      the interpreter.  When we detect that a trace selection attempt has
      failed, the trace head is associated with this fully-chainable
      pseudo-translation.  This also has the benefit for self-cosimulation that
      we are guaranteed forward progress.
      18af0d9b
    • Brett Chabot's avatar
      am 83859891: am 3dc6a811: (-s ours) DO NOT MERGE. CTS test cleanup. Mark tests... · 17e338e7
      Brett Chabot authored
      am 83859891: am 3dc6a811: (-s ours) DO NOT MERGE. CTS test cleanup. Mark tests as KnownFailures and BrokenTests.
      
      Merge commit '838598912874c49de45aba3baac644d177920115' into eclair-mr2-plus-aosp
      
      * commit '838598912874c49de45aba3baac644d177920115':
        DO NOT MERGE. CTS test cleanup. Mark tests as KnownFailures and BrokenTests.
      17e338e7
    • Brett Chabot's avatar
      am 3dc6a811: (-s ours) DO NOT MERGE. CTS test cleanup. Mark tests as KnownFailures and BrokenTests. · 1763d42c
      Brett Chabot authored
      Merge commit '3dc6a81182178a8ac9570a7679cf24b6a2665a0b' into eclair-mr2
      
      * commit '3dc6a81182178a8ac9570a7679cf24b6a2665a0b':
        DO NOT MERGE. CTS test cleanup. Mark tests as KnownFailures and BrokenTests.
      1763d42c
    • Dan Bornstein's avatar
      List -lcrypto when building for host darwin-x86, as that's part of · 55079230
      Dan Bornstein authored
      OpenSSL (in addition to -lssl, which was already listed).
      
      Change-Id: Iddc53ee474dae030755395266a35f472f9b568b5
      55079230
  5. 07 Nov, 2009 1 commit
  6. 06 Nov, 2009 8 commits
  7. 05 Nov, 2009 8 commits
    • Elliott Hughes's avatar
      More OSNetworkSystem cleanup. · ba563a45
      Elliott Hughes authored
      Handle select(2) errors by throwing exceptions from native code (which is
      simpler and provides more useful detail messages).
      
      Factor out exception throwing commonality. This is probably ready for JNIHelp.h
      now.
      
      Remove sockSelect. Simplify selectWait by observing that it's only ever called
      with a "read" fdset.
      
      Remove a little more SOCKERR_* cruft.
      
      Remove a few unused #defines.
      ba563a45
    • Android (Google) Code Review's avatar
      Merge change I5cae54d2 · 384dfdde
      Android (Google) Code Review authored
      * changes:
        More OSNetworkSystem cleanup.
      384dfdde
    • Android (Google) Code Review's avatar
      Merge change Iefbd3c5e · 169eaa09
      Android (Google) Code Review authored
      * changes:
        Fix DEADLOCK_DETECTION mode for the Jit.
      169eaa09
    • Android (Google) Code Review's avatar
      Merge change I7b302183 · 86a3bfcf
      Android (Google) Code Review authored
      * changes:
        Remove cruft in the default libdvm.so and add 3 more special targets.
      86a3bfcf
    • Elliott Hughes's avatar
      More OSNetworkSystem cleanup. · f5eafc5c
      Elliott Hughes authored
      Fix danfuzz's BSD woes by removing uses of non-standard s6_addr32,
      replace isMappedAddress with IN6_IS_ADDR_V4MAPPED, and change
      convertMappedToIpv4 to reduce duplication in its callers.
      
      Remove the TODO suggesting we consider inet_ntop instead of
      getnameinfo; Ulrich Drepper says there's never any reason to
      do that: http://people.redhat.com/drepper/userapi-ipv6.html
      
      Remove our last use of sockaddr_in in favor of sockaddr_storage,
      so we never have to wonder "is that big enough?" again.
      
      Explain why we convert IPv4-mapped addresses to IPv4 addresses
      when there's no obvious reason to do so.
      
      Fix another user of the SOCKERR_* cruft.
      
      Address the FD_ISSET and what-exception-to-throw-on-BSD comments
      from danfuzz's last patch.
      f5eafc5c
    • Bill Buzbee's avatar
      Fix DEADLOCK_DETECTION mode for the Jit. · e4b64994
      Bill Buzbee authored
      e4b64994
    • Android (Google) Code Review's avatar
      Merge change Ic5176ecb · 4e5a12e4
      Android (Google) Code Review authored
      * changes:
        Remove deadlock-prone thread pool.
      4e5a12e4
    • Elliott Hughes's avatar
      Remove deadlock-prone thread pool. · a152bc98
      Elliott Hughes authored
      This is only test code, so let's not make it any more complicated than it
      needs to be.
      
      (The code sometimes locked the Vector before the individual Worker, and
      sometimes the other way round.)
      a152bc98
  8. 04 Nov, 2009 2 commits
    • Dan Bornstein's avatar
      Only compile in multicast support on Linux, for the time being. · fef88751
      Dan Bornstein authored
      The calls and structs provided by the underlying platform for
      multicast aren't yet exactly well-established POSIX standards, and the
      current Linux code is still not considered to be super-robust, and as
      such it isn't a good idea to try to duplicate its functionality for
      other platforms. We will revisit the issue once the Linux side has
      matured a bit.
      
      Change-Id: I630086e22f6980726fd4523cb60dfc8c9fb9b011
      fef88751
    • Android (Google) Code Review's avatar
      Merge change Id9fcfa6d · fba5e71c
      Android (Google) Code Review authored
      * changes:
        Fix for inline string indexof; added regression tests
      fba5e71c