summaryrefslogtreecommitdiffstats
path: root/dalvik/src
Commit message (Collapse)AuthorAgeFilesLines
* am 2ff7a674: am 979baaea: Deprecate many of the accidentally-published APIs ↵Jesse Wilson2009-09-289-22/+33
|\ | | | | | | | | | | | | | | | | in dalvik.system. Merge commit '2ff7a6741726c7f43a3cea6d30bf7c387f913e78' * commit '2ff7a6741726c7f43a3cea6d30bf7c387f913e78': Deprecate many of the accidentally-published APIs in dalvik.system.
| * Deprecate many of the accidentally-published APIs in dalvik.system.Jesse Wilson2009-09-259-22/+33
| | | | | | | | | | | | | | | | | | | | | | See bug 2021674 for discussion. I searched Google Code Search to sample which of these APIs are being used. None of these APIs were used by applications, so I'm quite confident that removing them will not break applications or upset developers. These APIs were neither formerly documented, nor intended for use by application developers. I am deprecating them now to discourage their use going forward. We should remove them in a future release.
* | resolved conflicts for merge of 3eae287e to masterBob Lee2009-09-161-5/+28
|\ \ | |/
| * Addressed reviewer comments.Bob Lee2009-09-111-5/+28
| |
* | Comment out debugging output.Elliott Hughes2009-09-111-1/+1
|/ | | | | The other two copies of this code have this line commented out, and I assume it's only active here by accident.
* Modified Thread.c to allow sampling profiler thread in zygote. Added a ↵Bob Lee2009-09-061-52/+146
| | | | | | | | | | function that queries the native thread status. Modified the profiler to sample every thread at a fixed interval instead of adjusting the delay based on the number of threads. This will make it easier to compare results across apps. Added ability to shut down the profiler thread. Added code to track whether the method was a leaf or a caller.
* A sampling profiler for Dalvik.Bob Lee2009-08-061-0/+229
|
* Added VMDebug.crash() (hidden).Andy McFadden2009-07-311-2/+9
| | | | | | This call prints the stack trace for the current thread, and then crashes the VM so you can see the native stack trace too. Useful for figuring out "how did I get here?" situations.
* Fixing Executors to use raw types, which is what RI v5 does.Jesse Wilson2009-07-291-0/+1
| | | | Also fixing VMStack to hide the new API method.
* Update concurrent module to Harmony r798021.Jesse Wilson2009-07-281-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 56bcdc2a3b881883409267c3bd16294d80716859 Merge: 903691a f429dca Author: Jesse Wilson <jessewilson@google.com> Date: Mon Jul 27 17:33:19 2009 -0700 Merge branch 'concurrent_798021' into concurrent_dalvik Conflicts: libcore/concurrent/.classpath libcore/concurrent/build.xml libcore/concurrent/make/run-test.xml libcore/concurrent/src/main/java/java/util/concurrent/ArrayBlockingQueue.java libcore/concurrent/src/main/java/java/util/concurrent/BlockingQueue.java libcore/concurrent/src/main/java/java/util/concurrent/ConcurrentHashMap.java libcore/concurrent/src/main/java/java/util/concurrent/ConcurrentLinkedQueue.java libcore/concurrent/src/main/java/java/util/concurrent/ConcurrentMap.java libcore/concurrent/src/main/java/java/util/concurrent/CopyOnWriteArrayList.java libcore/concurrent/src/main/java/java/util/concurrent/CopyOnWriteArraySet.java libcore/concurrent/src/main/java/java/util/concurrent/DelayQueue.java libcore/concurrent/src/main/java/java/util/concurrent/LinkedBlockingQueue.java libcore/concurrent/src/main/java/java/util/concurrent/PriorityBlockingQueue.java libcore/concurrent/src/main/java/java/util/concurrent/ScheduledThreadPoolExecutor.java libcore/concurrent/src/main/java/java/util/concurrent/Semaphore.java libcore/concurrent/src/main/java/java/util/concurrent/SynchronousQueue.java libcore/concurrent/src/main/java/java/util/concurrent/ThreadPoolExecutor.java libcore/concurrent/src/main/java/java/util/concurrent/TimeUnit.java libcore/concurrent/src/main/java/java/util/concurrent/atomic/AtomicBoolean.java libcore/concurrent/src/main/java/java/util/concurrent/atomic/AtomicInteger.java libcore/concurrent/src/main/java/java/util/concurrent/atomic/AtomicIntegerArray.java libcore/concurrent/src/main/java/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java libcore/concurrent/src/main/java/java/util/concurrent/atomic/AtomicLong.java libcore/concurrent/src/main/java/java/util/concurrent/atomic/AtomicLongArray.java libcore/concurrent/src/main/java/java/util/concurrent/atomic/AtomicLongFieldUpdater.java libcore/concurrent/src/main/java/java/util/concurrent/atomic/AtomicReference.java libcore/concurrent/src/main/java/java/util/concurrent/atomic/AtomicReferenceArray.java libcore/concurrent/src/main/java/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java libcore/concurrent/src/main/java/java/util/concurrent/atomic/package.html libcore/concurrent/src/main/java/java/util/concurrent/locks/AbstractQueuedSynchronizer.java libcore/concurrent/src/main/java/java/util/concurrent/locks/LockSupport.java libcore/concurrent/src/main/java/java/util/concurrent/locks/ReentrantReadWriteLock.java libcore/concurrent/src/main/java/java/util/concurrent/locks/package.html libcore/concurrent/src/main/java/java/util/concurrent/package.html libcore/concurrent/src/test/java/tests/api/java/util/concurrent/AtomicLongFieldUpdaterTest.java libcore/concurrent/src/test/java/tests/api/java/util/concurrent/AtomicReferenceFieldUpdaterTest.java libcore/concurrent/src/test/java/tests/api/java/util/concurrent/AtomicReferenceTest.java libcore/concurrent/src/test/java/tests/api/java/util/concurrent/ConcurrentHashMapTest.java libcore/concurrent/src/test/java/tests/api/java/util/concurrent/DelayQueueTest.java libcore/concurrent/src/test/java/tests/api/java/util/concurrent/ExecutorsTest.java libcore/concurrent/src/test/java/tests/api/java/util/concurrent/JSR166TestCase.java libcore/concurrent/src/test/java/tests/api/java/util/concurrent/LinkedBlockingQueueTest.java libcore/concurrent/src/test/java/tests/api/java/util/concurrent/LockSupportTest.java libcore/concurrent/src/test/java/tests/api/java/util/concurrent/ReentrantLockTest.java libcore/concurrent/src/test/java/tests/api/java/util/concurrent/ReentrantReadWriteLockTest.java commit 903691ae71cff640d5487a3d34a20e8767dbfb66 Author: Jesse Wilson <jessewilson@google.com> Date: Mon Jul 27 16:09:58 2009 -0700 Dalvik Concurrent commit f429dca21c408ee62e688f60d5e110718374e944 Author: Jesse Wilson <jessewilson@google.com> Date: Mon Jul 27 16:08:25 2009 -0700 Concurrent 798021 commit b2c76fdd1056113000140bc4af57300c87469d2d Author: Jesse Wilson <jessewilson@google.com> Date: Mon Jul 27 16:03:45 2009 -0700 Concurrent 527399
* Minor class loading optimization.Andy McFadden2009-07-102-15/+31
| | | | | | | | | | | | | | | | | In internal bug 1836311, the String.replace() in PathLoader.findClass was identifed by traceview as 6.6% of startup time for an app. This adds a (hidden) alternative that takes a "binary name" like the functions in ClassLoader, and we do the slash-to-dot conversion inside the VM as we convert it to a descriptor. (This is really how it should have been done in the first place, but now it's part of the visible API and engraved in stone.) The original function now does a slash-to-dot conversion and calls the new one. (We may want to un-hide the method for the benefit of people writing custom class loaders. If so, we can do that in a separate API-update commit.)
* am 0f0ae023: Add FileDescriptor variation of startMethodTracing().Dianne Hackborn2009-06-241-1/+16
|\ | | | | | | | | | | | | Merge commit '0f0ae023a3a53f7c9e254283b50a0099781acb79' * commit '0f0ae023a3a53f7c9e254283b50a0099781acb79': Add FileDescriptor variation of startMethodTracing().
| * Add FileDescriptor variation of startMethodTracing().Dianne Hackborn2009-06-241-1/+16
| | | | | | | | | | | | This is for bug #1829561 ("am profile" with bad filename kills process), which will allow the am command to take care of opening the file and handing the resulting fd over to the process to be profiled.
* | am 4e3cc66: am 4645b7c: AI 147732: fix broken linksScott Main2009-04-291-1/+1
|\ \ | |/ | | | | | | | | | | Merge commit '4e3cc66298b8e6d97670d3ed0b4170fb161d36f3' * commit '4e3cc66298b8e6d97670d3ed0b4170fb161d36f3': AI 147732: fix broken links
| * am 4645b7c: AI 147732: fix broken linksScott Main2009-04-281-1/+1
| |\ | | | | | | | | | | | | | | | | | | Merge commit '4645b7c3a461769281a0b2b846a26c79e806aaa0' into donut * commit '4645b7c3a461769281a0b2b846a26c79e806aaa0': AI 147732: fix broken links
| | * AI 147732: fix broken linksScott Main2009-04-241-1/+1
| | | | | | | | | | | | | | | | | | BUG=1810005 Automated import of CL 147732
* | | am 28352aa: am 7cc0301: AI 147723: This should have been deleted a whileJorg Pleumann2009-04-291-17/+0
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '28352aafc2dba4e0f2c507649706389e1bea327e' * commit '28352aafc2dba4e0f2c507649706389e1bea327e': AI 147723: This should have been deleted a while ago, since
| * | am 7cc0301: AI 147723: This should have been deleted a while ago, sinceJorg Pleumann2009-04-281-17/+0
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit '7cc03015bd1bcc14fcc5a0d4ad8b235b24992de2' into donut * commit '7cc03015bd1bcc14fcc5a0d4ad8b235b24992de2': AI 147723: This should have been deleted a while ago, since
| | * AI 147723: This should have been deleted a while ago, sinceJorg Pleumann2009-04-241-17/+0
| | | | | | | | | | | | | | | | | | | | | it's a dupe class. BUG=1285921 Automated import of CL 147723
| | * AI 144229: Modifying build of core-tests.jar version forJorg Pleumann2009-04-028-366/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the RI so that the required test annotation classes are copied over from core.jar. Means we don't have to maintain duplicate versions of these classes (and there will be less verifier complaints), so these are going away in the process. BUG=1285921 Automated import of CL 144229
| | * AI 143464: Proposal for a TestTimeout annotation that the CTSJorg Pleumann2009-03-301-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | host (or an different test harness) should take into account. BUG=1537738 Automated import of CL 143464
| | * AI 143460: Adding new annotation for tests that expose or suffer fromJorg Pleumann2009-03-302-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | side effecs. The test harness can isolate these in their own process. Unfortunately we need to add the class twice. Maybe we can find a better solution for this at a later point. BUG=1285921 Automated import of CL 143460
| * | AI 144230: am: CL 144229 Modifying build of core-tests.jar version forJorg Pleumann2009-04-028-366/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the RI so that the required test annotation classes are copied over from core.jar. Means we don't have to maintain duplicate versions of these classes (and there will be less verifier complaints), so these are going away in the process. Original author: jorgp Merged from: //branches/cupcake/... Automated import of CL 144230
| * | AI 143649: am: CL 143464 Proposal for a TestTimeout annotation that the CTSJorg Pleumann2009-03-311-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | host (or an different test harness) should take into account. Original author: jorgp Merged from: //branches/cupcake/... Automated import of CL 143649
| * | AI 143646: am: CL 143460 Adding new annotation for tests that expose or ↵Jorg Pleumann2009-03-312-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | suffer from side effecs. The test harness can isolate these in their own process. Unfortunately we need to add the class twice. Maybe we can find a better solution for this at a later point. Original author: jorgp Merged from: //branches/cupcake/... Automated import of CL 143646
| * | Automated import from //branches/donutburger/...@140700,140700Andy McFadden2009-03-241-0/+6
| |/
* | AI 144931: Added a (hidden) way to "pre-cache" register maps.Andy McFadden2009-04-081-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The 50 methods that appeared on the GC stacks of the most applications require 13KB of native heap for their uncompressed register maps, and the full set took 5ms to uncompress. Pre-computation doesn't represent a significant improvement in space or time, at the cost of a big pile of strings in ZygoteInit. I'm leaving the method in ZygoteInit, but it's not called, and the static final String[] of method descriptors is empty. We may want to revisit this later. BUG=1729570 Automated import of CL 144931
* | AI 144390: am: CL 144230 am: CL 144229 Modifying build of core-tests.jar ↵Jorg Pleumann2009-04-028-366/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | version for the RI so that the required test annotation classes are copied over from core.jar. Means we don't have to maintain duplicate versions of these classes (and there will be less verifier complaints), so these are going away in the process. Original author: jorgp Merged from: //branches/cupcake/... Original author: android-build Automated import of CL 144390
* | AI 143680: am: CL 143649 am: CL 143464 Proposal for a TestTimeout annotation ↵Jorg Pleumann2009-03-311-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | that the CTS host (or an different test harness) should take into account. Original author: jorgp Merged from: //branches/cupcake/... Original author: android-build Merged from: //branches/donutburger/... Automated import of CL 143680
* | AI 143679: am: CL 143646 am: CL 143460 Adding new annotation for tests that ↵Jorg Pleumann2009-03-312-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | expose or suffer from side effecs. The test harness can isolate these in their own process. Unfortunately we need to add the class twice. Maybe we can find a better solution for this at a later point. Original author: jorgp Merged from: //branches/cupcake/... Original author: android-build Merged from: //branches/donutburger/... Automated import of CL 143679
* | auto import //branches/master/...@140412The Android Open Source Project2009-03-182-2/+8
|/
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0355-0/+4999
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0355-4999/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-104-5/+27
|
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-098-0/+343
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-1727-164/+1362
|
* Initial ContributionThe Android Open Source Project2008-10-2134-0/+3436