| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
Merge commit '3d5d87364d062734753bfd26336e96a7e8d03360' into dalvik-dev
* commit '3d5d87364d062734753bfd26336e96a7e8d03360':
Fix for the JIT blocking mode plus some code cleanup.
|
| |\ \ |
|
| | |/
| | |
| | |
| | |
| | | |
Bug: 2517606
Change-Id: I2b5aa92ceaf23d484329330ae20de5966704280b
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
Merge commit 'c66affa440de113df861928c528fcbbead2ead45' into dalvik-dev
* commit 'c66affa440de113df861928c528fcbbead2ead45':
Switch to VMWAIT while outputting trace data.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
One of the traces from a monkey run suggests we stalled out during the
open/write/close part of writing the trace data. To reduce the chances
of spin-on-suspending here we now switch to VMWAIT during the I/O.
For bug 2541030.
Change-Id: Ice832988213741976917fdd36afa12a694a42e81
|
|\ \
| | |
| | |
| | | |
DecimalFormatSymbols." into dalvik-dev
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
DecimalFormatSymbols.
This patch also improves the documentation of all getAvailableLocales methods
to clarify exactly what "available" means. Note that at the moment, many of
our implementations just return Locale.getAvailableLocales. It turns out that
ICU does the same in most cases, but I'll come back in a separate patch and
add code so we just pass these down to ICU, and wash our hands of the matter.
I've rewritten DateFormatSymbols.equals, which was very wrong. The time zone
names comparison had an invalid optimization, and its slow-path loop was wrong
too: it only ever tested values against themselves, which isn't likely to have
been the author's intention.
I've added toString overrides to DateFormatSymbols and DecimalFormatSymbols,
because I need them every time I work on these classes.
I've made the constants in DecimalFormatSymbols static final, and given them
idiomatic names. (I still think we might benefit from breaking these into
separate fields, as in the serialized form, but that's a separate issue.)
Finally, and unrelatedly, I've added a comment to BreakIteratorProvider that
I missed in my last change to that file.
Change-Id: I5d6cb30f9afdb502d38353d8a624dc2f0fef41ac
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Experimental feature; may or may not be useful. Dump the current value
of half a dozen VM mutexes. This will tell us if they're unlocked,
locked, or contended-for at the point somebody does a thread dump. For
example, when the GC notices the HeapWorker watchdog has expired:
I/dalvikvm( 2828): DALVIK THREADS:
I/dalvikvm( 2828): (mutexes: tll=0 tsl=0 tscl=0 ghl=1 hwl=1 hwll=0)
In this case, gcHeapLock and heapWorkerLock are held, the rest are not.
If this turns out to be useful we can put more effort into the output
format. The pthread lib doesn't insert the thread ID unless you're
using recursive or errorcheck mutexes, which (for performance reasons)
we try not to use.
Change-Id: I272534d8c9db6340cfc23bfdddb47beefc2efbfb
|
|/ /
| |
| |
| |
| |
| |
| | |
(Because I was asked a question about ThreadGroup today, and the answer is
always "don't use ThreadGroup"...)
Change-Id: Ibaa2f1830e1fe435c9712f3b08506639b9521b9e
|
|\ \
| | |
| | |
| | | |
dalvik-dev
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These were clearly added just to shut up our own warning, and are now
unnecessary and misleading to future maintainers.
There's one barely-related change: InputStreamReader and OutputStreamWriter
are very similar, and this patch makes them more similar, and adds a few
missing modifiers from their fields.
Change-Id: I959011f914ff215e92bbfa41c1bac66465803685
|
|\ \ \
| |/ /
|/| /
| |/
| |
| |
| | |
Merge commit 'b7b9be1343b59b429b6de9b28ffffbbbde8478c2' into dalvik-dev
* commit 'b7b9be1343b59b429b6de9b28ffffbbbde8478c2':
Improve java.net.InetAddress.getLocalHost documentation.
|
| |\ |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 1518707
Change-Id: I741a7a28325320949e84e997e6a49d3356c9a308
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I012100578caa4f5768b7926b4fbe489c80f8d32b
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Everyone seems to agree these have outlived their usefulness.
Change-Id: Ia2a53ffa1f9498333b4b2d51d5c1db488b89abaf
|
|\ \ \ \ \
| |/ / / /
|/| | / /
| | |/ /
| |/| |
| | | |
| | | | |
Merge commit '02388cf18a87ba0243cddc6ccf3eaf8668118723' into dalvik-dev
* commit '02388cf18a87ba0243cddc6ccf3eaf8668118723':
Jit: disable for Sapphire.
|
| | |/
| |/|
| | |
| | | |
Change-Id: I3c48f239ef9a83fac1ef05d18ea1b00ab27879ff
|
|\ \ \
| |/ /
| | /
| |/
|/|
| |
| | |
Merge commit 'd4e0952b73f9054adcc927a1c12699ba63f1672a' into dalvik-dev
* commit 'd4e0952b73f9054adcc927a1c12699ba63f1672a':
Further refinements to "kill other thread".
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Switched from SIGSEGV to SIGSTKFLT. Otherwise it looks like we're
seg-faulting in code that was actually executing just fine.
Ignore SIGSEGV before returning. This avoids creating a second dump
when dvmAbort() is called. (If the caller's stack trace were at all
interesting, we wouldn't be here, and we can do without the log spam.)
Added some more details to the logging.
For bug 2517042.
Change-Id: Ifff7fd75d6dbf7e3663152787f8921dda215fe40
|
|\ \
| | |
| | |
| | | |
uses." into dalvik-dev
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This was removed in https://android-git.corp.google.com/g/45796, but turns
out to be used. I think we can do better in the long term, but right now
this just removes some of the duplication from the original, and adds
comments explaining where it's used.
Bug: 2535509
Change-Id: Ie8e717537b8b8c70c8689f2dbb2c3a38501ecc57
|
|\ \ \
| | | |
| | | |
| | | | |
dalvik-dev
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We don't currently use these, and don't necessarily plan to. Full support
would have a run-time cost, and it's not obvious that it would be particularly
useful.
Code search can't actually find any users of this stuff in the wild outside
of the various VM implementations and their test suites.
Bug: 2497395
Change-Id: Ie25aef73ece6d1fd169fdcb7b2f847761d77914d
|
|\ \ \
| |/ /
|/| /
| |/
| |
| |
| | |
Merge commit '64ee717be7cf4aad64371e73cfd180aa4d85dd07' into dalvik-dev
* commit '64ee717be7cf4aad64371e73cfd180aa4d85dd07':
Jit: Re-enable for Sapphire
|
| |
| |
| |
| | |
Change-Id: Icbfd8781756c2c7cde88140ed40766e29448b1ff
|
| |
| |
| |
| |
| |
| |
| | |
I've fixed a few typos, and removed a few of the more egregiously nonsensical
or incorrect comments that were nearby.
Change-Id: I35851baebd532f949cc269f4738a26eeb9b6e697
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
I've kept our binary search implementation and just generalized the
interface.
I've gone out of my way to preserve exception priority. I know we don't
agree that it's necessary, but it is important if we want to be able to
run other people's tests. If someone wants to write a new high-quality
test suite (which would be a great thing to have), we should remove the
hacks. (I've commented them.) Otherwise, I've gone out of my way to keep
the near-duplicates forced on us by Java's primitive type system as
identical as possible.
This passes all harmony and jtreg tests.
Change-Id: I91fbf707dac76124c6dbe59b0b30b7ded9a69529
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We no longer need the duplicated lower-quality documentation on
each subclass, and the NIOAccess class turns out to be unused.
Bug: 2497395
Change-Id: Ib7ce8f51aac2b78bf56fff4526af1c2c8818e277
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
Merge commit 'e9f1038c3e71dba123532c62741257867d68e08b' into dalvik-dev
* commit 'e9f1038c3e71dba123532c62741257867d68e08b':
Use pthread_kill(3) instead of kill(2).
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Another swing at useful native traces. pthread_kill(3) uses tkill(2)
instead of kill(2), so we may have a better chance of the signal landing
on the right thread.
For bug 2517042.
Change-Id: I62871c1e21b11442ea52c861397674f1644f4da9
|
|\ \ \ \
| |_|_|/
|/| | |
| | | | |
was duplicated from PathClassLoader)." into dalvik-dev
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
duplicated from PathClassLoader).
Change-Id: Iaf3e8a5b23df1a8bbf670bf6d6045fffef6c8fcb
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 2497395
Change-Id: Iaef75bbd946bebe6201b5f52564bcaf8a4d0e56e
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
My original intention was just to add the missing "final" on a few classes,
but our BreakIterator implementation struck me as excessively bloated and
confusing.
Change-Id: I2d2dccafe8ec91124f3c83909c9ec647cc2d51e2
|
|\ \ \ \
| |/ / /
|/| / /
| |/ /
| | |
| | |
| | |
| | |
| | | |
optional fields from callbacks."
Merge commit '7713b900d12c7a46334db46b33fbe848167189dd' into dalvik-dev
* commit '7713b900d12c7a46334db46b33fbe848167189dd':
Fixing namespace+prefix mode in Expat and removing optional fields from callbacks.
|
| |\ \
| | | |
| | | |
| | | | |
from callbacks."
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
callbacks.
The first part is related to bug 6632:
http://code.google.com/p/android/issues/detail?id=6632
I added these optional fields back when I was originally updating
the XML parser for Froyo. I've decided to remove them to simplify
migrating between Android and the RI. It should also save some
object allocations.
Note that the RI v5 and the RI v6 behave differently for optional
values on attributes; this motivated me to add the otherwise
unfortunate assertOneOf() method to the testcase. (We behave more
like RI v6, which is to supply the values upon request)
Change-Id: Icfa5d29976a86bf194b3ed7c0d9e2275c3bff9dd
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
-Xgc:[no]preverify
-Xgc:[no]postverify
to run verify routines over the heap pre- and post-gc.
Changed the Verify.h interface. It now publishes an entry point for
verifying a HeapBitmap, rather than the HeapBitmap callback.
Added a dvmHeapSuspendAndVerify to Heap.h for verification outside of
the GC.
Added callbacks before and after GC, under the locks, under flag control.
Processing of properties to produce flags is in a different project,
frameworks/base
Change-Id: I3f3896583fe9e7239bbe2f374d7ed4c5dd5d3e82
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
included in ifieldRefCount. See Class.c precacheReferenceOffsets for this amusing bit of VM trivia." into dalvik-dev
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
included in ifieldRefCount.
See Class.c precacheReferenceOffsets for this amusing bit of VM trivia.
Added an explicit VERIFY_REFERENCE of the Reference.referent field for
subclasses of Reference.
Change-Id: Ibc8a059ffb353d60b681af1d3a5520c2443d3864
|
|\ \ \ \ \
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
Merge commit 'e073b0e86ea089a08685202f78fe446cd03b3d49' into dalvik-dev
* commit 'e073b0e86ea089a08685202f78fe446cd03b3d49':
Move String creation outside O(n^2) path in LogManager
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This more than halves the number of Strings and StringBuilders created
when constructing a GoogleHttpClient and executing a single
HTTP request.
Bug http://b/issue?id=2529141
Change-Id: Ia8268fd692b08cf82e4abbffe1459e461e9f7e68
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
dalvik-dev
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Format and NumberFormat's bogusly-public constructors became protected with
Java 6. DecimalFormat gained more control over rounding behavior. There's a
slight mismatch with our ICU4C-based implementation in that ICU4C doesn't
support RoundingMode.UNNECESSARY, so I've had to fake that (but I doubt it's
used much, if at all).
I've pulled out the obviously Android-specific tests from the harmony
DecimalFormatTest.java, but I've only brought back the rounding mode changes
from the current harmony code to avoid the new tests' dependencies. I've also
added one new test of my own, to check that setMaximumFractionDigits affects
rounding as it should (since the harmony tests don't test this, and it's
somewhat subtle).
Bug: 2497395
Change-Id: Ifafc8bb051e078ead988073281f5c33f0aeb130a
|
|\ \ \ \ \
| |/ / / /
|/| / / /
| |/ / /
| | | |
| | | |
| | | | |
Merge commit '94e57f7bb8e60210e379bfea29471db059a7edca' into dalvik-dev
* commit '94e57f7bb8e60210e379bfea29471db059a7edca':
Increase sleep delays on debug thread kill.
|