- 12 Nov, 2009 4 commits
-
-
Android (Google) Code Review authored
* changes: Fix a buffer overrun in OSNetworkSystem.
-
Elliott Hughes authored
Given an IPv6 address in a non-standard (Java-specific) form, we used to overrun an on-stack buffer that was assuming the standard (shorter) form. Make the buffer large enough for both forms, and reject anything that's still too large. Found by Inet6AddressTest.
-
Android (Google) Code Review authored
* changes: Jit stress mode: translate everything we can and self verify.
-
Elliott Hughes authored
-
- 10 Nov, 2009 3 commits
-
-
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.
-
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)
-
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.
-
- 09 Nov, 2009 6 commits
-
-
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.
-
Android (Google) Code Review authored
* changes: Introduce "just interpret" chainable pseudo-translation.
-
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.
-
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.
-
Brett Chabot authored
Merge commit '3dc6a81182178a8ac9570a7679cf24b6a2665a0b' into eclair-mr2 * commit '3dc6a81182178a8ac9570a7679cf24b6a2665a0b': DO NOT MERGE. CTS test cleanup. Mark tests as KnownFailures and BrokenTests.
-
Dan Bornstein authored
OpenSSL (in addition to -lssl, which was already listed). Change-Id: Iddc53ee474dae030755395266a35f472f9b568b5
-
- 07 Nov, 2009 1 commit
-
-
Brett Chabot authored
-
- 06 Nov, 2009 8 commits
-
-
Android (Google) Code Review authored
* changes: Our XML serializer permits \0, resulting in malformed documents.
-
Android (Google) Code Review authored
* changes: Sanitize text before emitting to XML.
-
Jesse Wilson authored
This is the absolute least amount of sanitization that will work. I'll consider adding more as necessary; currently I'm not too interested in spending the time to make this perfect.
-
Jesse Wilson authored
This failing test demonstrates the problem. It also adds AllTests plumbing for this test and some missing ones.
-
Android (Google) Code Review authored
* changes: Clean up sieb.[ch], including changing a reference to <malloc.h> to instead be the more standard <stdlib.h>.
-
Android (Google) Code Review authored
* changes: Remove 'GTE CyberTrust Root', which expired on 2/23/06.
-
Nagendra Modadugu authored
-
Dan Bornstein authored
be the more standard <stdlib.h>. I have no idea what "sieb" means (stands for?), and it looks like these files may want to be placed in the nearest recycling receptacle, but I'm not ready to go there today. Change-Id: I2d4116b742e61018fdbea127070154545ff82dbd
-
- 05 Nov, 2009 8 commits
-
-
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.
-
Android (Google) Code Review authored
* changes: More OSNetworkSystem cleanup.
-
Android (Google) Code Review authored
* changes: Fix DEADLOCK_DETECTION mode for the Jit.
-
Android (Google) Code Review authored
* changes: Remove cruft in the default libdvm.so and add 3 more special targets.
-
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.
-
Bill Buzbee authored
-
Android (Google) Code Review authored
* changes: Remove deadlock-prone thread pool.
-
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.)
-
- 04 Nov, 2009 10 commits
-
-
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
-
Android (Google) Code Review authored
* changes: Fix for inline string indexof; added regression tests
-
Bill Buzbee authored
-
Ben Cheng authored
The idea is similar to having libc.so as the default/optimal build and libc_debug.so at a handy place. libdvm.so : default build to be installed with JIT on and assertion off. libdvm_interp.so: JIT statically compiled out and assertion off. libdvm_assert.so: assert/JIT-tuning enabled. libdvm_sv.so : assert/JIT-self-verification enabled. Compile time of "mmm dalvik" from clean build with -j1: real 2m36.144s user 2m23.029s sys 0m12.253s Compile time of "mmm dalvik" from touching Interp.c with -j1: real 0m8.493s user 0m7.416s sys 0m1.280s Code size: 638152 Nov 3 16:17 libdvm.so 785604 Nov 3 16:17 libdvm_assert.so 556888 Nov 3 16:17 libdvm_interp.so 793804 Nov 3 16:17 libdvm_sv.so
-
Android (Google) Code Review authored
* changes: Emitting JUnit+Ant style XML from the jtreg test runner.
-
Android (Google) Code Review authored
* changes: Another couple of tweaks to deal with the ragged end of standardization.
-
Android (Google) Code Review authored
* changes: Remove duplication in OpenSSLSocket/OpenSSLServerSocket.
-
Dan Bornstein authored
Change-Id: I6b080ffcc1832a902e21f5137f42e4d860c407f0
-
Jesse Wilson authored
This change adds some unfortunate code duplication between the jtreg runner and the CoreTestSuite runner. I'd like to eventually loop back and create a unified test runner for either type of test.
-
Android (Google) Code Review authored
* changes: CharsetDecoderICU/CharsetEncoderICU should take arrayOffset into account.
-