| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| | |
The visibility change isn't obviously useful, but it's a good excuse to clean
up some of our networking code a little.
Change-Id: I165b32b9c76a3707c512e07de07992f63673ab4f
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove unused dalvik.annotations related to tests
dalvik.annotation.HostController
dalvik.annotation.TestInfo
dalvik.annotation.TestStatus
dalvik.annotation.Timeout
dalvik.annotation.VirtualTestTarget
Deprecate two public dalvik.annotations related to tests. While they
appear in the api xml files, they aren't show in our javadoc.
dalvik.annotation.TestTarget
dalvik.annotation.TestTargetClass
Change-Id: I2f2aa41da0941718e4717d7ee8021606910f75f2
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
"This method ignores the return value of one of the variants of
java.io.InputStream.read() which can return multiple bytes. If the return
value is not checked, the caller will not be able to correctly handle the
case where fewer bytes were read than the caller requested. This is a
particularly insidious kind of bug, because in many programs, reads from input
streams usually do read the full amount of data requested, causing the
program to fail only sporadically."
Change-Id: I7d7c62836f2037f0cbb4bb0708bd4f034a22a2fc
|
|\ \
| |/
| |
| |
| |
| |
| | |
to be preserved across a profiler restart"
* commit '2f323ffc114d439cbeeb780845e5d1b2a88f85f9':
Move state from Sampler to SamplingProfiler that needs to be preserved across a profiler restart
|
| |
| |
| |
| |
| |
| | |
across a profiler restart
Change-Id: I39acb54cca5b98c7f147e2d9cc083c6ab4b17707
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Expose LOGE and friends for use from Java. This is handy because it lets me use
printf debugging even when I've broken String or CharsetEncoder or something
equally critical. It also lets us remove internal use of java.util.logging,
which is slow and ugly.
I've also changed Thread.suspend/resume/stop to actually throw
UnsupportedOperationException rather than just logging one and otherwise
doing nothing.
Bug: 3477960
Change-Id: I0c3f804b1a978bf9911cb4a9bfd90b2466f8798f
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Only the ChunkHandler and ZoneInfo ones were real bugs. The former is only
called with one input value that doesn't exercise the bug, and the latter
would cause us to think that a time zone that stopped using daylight time
before 1970 was still using daylight time (which would defeat various
optimizations, but should otherwise be harmless).
The other stuff is trivia not worth individual changes.
Change-Id: Ib0752560cd16edc6538d1fc2b234451a66d48171
|
| |
| |
| |
| | |
Change-Id: I9cb09b8b9b0b21c899b08a852cc6f277dbb67bcf
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This resulted in the creation of two new classes: DexPathList contains
most of the common functionality, namely managing the two path lists
(dex/resource files and native library directories) plus all the
salient initialization and lookup code. BaseDexClassLoader provides
the ClassLoader API, mostly by making calls to a contained DexPathList
instance. The two original classes just become trivial subclasses
which take different constructor args and make correspondingly
different super() calls in their respective constructors.
I took the opportunity to remove the ability for PathClassLoader to
take directories on the dex/resource list. This functionality hadn't
ever been used, at least not since well before 1.0.
Change-Id: I92ed300417431d0e0ac4c5ecf2f10d6a9b0691c7
|
| |
| |
| |
| |
| |
| |
| | |
Apparently, this is how we did the first-boot dexing before we had a
package manager.
Change-Id: I6fce0fb30ab9dc2e7ebb0c4177540e92677c92b9
|
| |
| |
| |
| |
| | |
Bug: 3413364
Change-Id: Ifc9b54255e11fd7df5517b88d8774dd747a7ec3d
|
|\ \
| |/
| |
| |
| | |
* commit '7190be77a29ad8f35b044ec591cb2b449f3ea8a1':
Restore the code for optimized file specification.
|
| |
| |
| |
| |
| |
| |
| | |
This bit got removed due to a copy-paste mishap.
Bug: 3439372
Change-Id: If4653ec77bdc9b629ed4f5ba953be3eef6315b97
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I5c4fe0bc9ed1dd4b4e1324e2c090815f97e4463f
|
|\ \ \
| |/ /
|/| /
| |/ |
Change-Id: Ic6f0172767d6feedb188d3a5e7488a67702ef8c4
|
| |
| |
| |
| | |
Change-Id: I2340a9dbad3561fa681a8ab47d4f406e72c913e3
|
|\ \
| |/
| |
| |
| |
| |
| | |
SamplingProfiler.writeHprofData
* commit '82c16e90fc5c1f81d6256ca05b45bc53e695316a':
Remove broken+deprecated SamplingProfiler.writeHprofData
|
| |
| |
| |
| |
| | |
Change-Id: I7af108e06a2708fe8d1d8ace4e02210b2cfd486b
http://b/3381260
|
|\ \
| |/
| |
| |
| |
| |
| | |
clearing a heap growth limit." into honeycomb
* commit 'b0886c849bcbf547b1983bfcb09b9ea4623c70c8':
Expose an interface for clearing a heap growth limit.
|
| |
| |
| |
| | |
Change-Id: I55a9b2415a28c9365af68a5a78b0208075dfd1cd
|
|\ \
| |/
| |
| |
| | |
* commit '0d46536ec1069aa2a7181deaf839cc1ba26d45d7':
Minor doc tweaks.
|
| |
| |
| |
| |
| |
| | |
Bug 3347172.
Change-Id: I9954e6ae929c6e8ef5223ada02012f3909e1204e
|
|\ \
| |/
| |
| |
| |
| |
| | |
PathClassLoader and DexClassLoader.
* commit '16ed9750d423f641e357d4cc8e410646f6ca32e1':
Synch up file opening code in PathClassLoader and DexClassLoader.
|
| |
| |
| |
| |
| |
| | |
The version in PathClassLoader was more correct.
Change-Id: I92a205403d33c13378c7f392b835669cb97f6ac4
|
|\ \
| |/
| |
| |
| | |
* commit '3c61f6c5fa99f7558f2b0386b0365b9430ed41fd':
Remove @cts comments from hidden classes.
|
| |
| |
| |
| | |
Change-Id: I948fc13d0fc236b07dad5864cab2e5c4eba2c06c
|
|\ \
| |/
| |
| |
| |
| |
| | |
interfaces." into honeycomb
* commit 'bc307281679f1b9b6d223fd962c37a8160510125':
Remove the allocation limits interfaces.
|
| |
| |
| |
| | |
Change-Id: I85c3b48cb11823cfccd1901cac685d0c457a74b3
|
|\ \
| |/
| |
| |
| |
| |
| | |
erroneous inflection of @return.
* commit '2d71deb0336bf57ba74df1afe223c85e50ed5575':
Fix a droid doc error caused by the erroneous inflection of @return.
|
| |
| |
| |
| | |
Change-Id: I61a3c8cc34d129a37c6556b9def5fa5fe0cafe46
|
|\ \
| |/
| |
| |
| |
| |
| | |
within hidden classes." into honeycomb
* commit '706ea0b90e80b9f77b178d13f3a5c6b1cf434a35':
Remove method level hiding within hidden classes.
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change also removes braces surrounding a properly placed @hide
annotation.
Change-Id: I8b7b32567068099f9081e7bcb2f30b80b71441f7
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
minimum size of the heap at runtime.
* commit '04874adf6cd82647a40fc0480e3cfe9809b46ff6':
Remove support for setting the minimum size of the heap at runtime.
|
| |/
| |
| |
| | |
Change-Id: I299fd6806350eb35c768d7370f11b689ab8232b8
|
|\ \
| |/
| |
| |
| |
| |
| | |
buffers from the Java heap rather than the native heap." into honeycomb
* commit '66d9e787af999d3c6b26cfd46e10e0750a5f3e6e':
Get memory for direct byte buffers from the Java heap rather than the native heap.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
heap.
Since the removal of tracked external allocations, there's been no accounting
of direct byte buffers. This fixes that, and moves us to a much simpler
situation where the GC is responsible for this memory too. It also means that
we don't need finalizers: now only memory-mapped blocks need finalizers (to call
munmap(3)).
Change-Id: I6b43f74074e496eeb2a36b620af19e4926ceb8cf
|
|/
|
|
| |
Change-Id: I0c5e29ac750b9605b1e8f823d6998d31a933b7a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SamplingProfiler refactored:
- HprofData is now a separate class, the common data structure
- SamplingProfiler uses HprofData as its runtime format
- AsciiHprofWriter refactored from profiler, takes an HprofData
- new BinaryHprofWriter to output HprofData in binary format
- new BinaryHprofReader can recreate HprofData from binary file
- new HprofBinaryToAscii command line tool to convert formats
dalvik/src/main/java/dalvik/system/SamplingProfiler.java
SamplingProfilerTest expanded to cover new HprofData class
directly. Includes testing of conversion from various hand constructed
HprofData to ascii and binary formats as well as from binary back to
HprofData with out loss of data.
dalvik/src/test/java/dalvik/system/SamplingProfilerTest.java
Change-Id: I6fe06f5dbdbf2f0bf2de228d9761f84d75290ba7
|
|
|
|
| |
Change-Id: I7ea69f84c008c5bdbdf8af6134fb81d80f0a958e
|
|
|
|
| |
Change-Id: Ia61172cd52de031290a811c3ec73edb929f40c10
|
|
|
|
| |
This reverts commit 272a383283a974a4c32a94469b8a8b021d93a480.
|
|
|
|
|
|
| |
See also change I5a252e31.
Change-Id: I3880a81f1f7e90247ce12860b5a2f597037123a7
|
|
|
|
| |
Change-Id: Ic21a01ff1f82f6b2d22d089711a2843b5a497eda
|
|
|
|
|
|
|
|
|
| |
So, there was no longer a need to check for it.
Cleaned up some comments and minor code convention violations while
I was in the territory.
Change-Id: I717fa74bad05cdbf02bd4f6d24108196579c451a
|
|
|
|
|
|
|
| |
This avoids a bit of work that would inevitably fail. I also updated
some comments to better reflect the status quo.
Change-Id: I7435ec0abd4d0a8173d61c1f4b894bfafbc6f609
|
|
|
|
|
|
|
| |
This is not yet complete. See related change I06af6df3 in the dalvik
project.
Change-Id: Iac4739c0e75bf95e1d5f019e946b8ddb256d3a26
|
|
|
|
| |
Change-Id: Ied7ca5e1a1d7dbcf44d5bcf6834c04076461d605
|
|
|
|
|
|
|
|
|
| |
I think "fallthrough" uncovered a couple of real bugs in the kxml code, but
other than that there's nothing very exciting here. This addresses all but
one of the non-xml warnings. I'm assuming that we'll move the xml cruft out
into external at some point (since we're deliberately not maintaining it).
Change-Id: Ice81253b019df7b19d6557e719663b7bdc11fb22
|