summaryrefslogtreecommitdiffstats
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
...
* Describe dalvik.vm.extra-opts.Andy McFadden2010-07-151-0/+17
| | | | | | Goes with bug 2838629. Change-Id: I754af767bf8173a674d84428a3ce11cd337b19ae
* Update heap profiling docs.Andy McFadden2010-07-141-1/+16
| | | | | | | Explain that "kill -10" is being removed as a heap-dump mechanism, and describe the new "am dumpheap" command. Change-Id: I83ac6cb5a7624d006001cc5404689bfe88b44fdd
* Remove repeated newlines at the end of files.Carl Shapiro2010-06-081-1/+0
| | | | Change-Id: I1e3d103a7b932ef21acedb6438c0f26b315df28f
* Remove trailing whitespace.Carl Shapiro2010-06-0846-526/+526
| | | | Change-Id: I95534bb2b88eaf48f2329282041118cd034c812b
* Trivial formatting fix.Andy McFadden2010-06-041-1/+1
| | | | Change-Id: I89277db5a2278a9e4d584ffb4b24d5cd77f71a3c
* Adapt to new location of libcoreJean-Baptiste Queru2010-04-301-1/+1
| | | | Change-Id: I4ad03a41718d3c30ce4117114f71b07a3d023dde
* Trivial doc change: froyo is 2.2.Andy McFadden2010-04-071-1/+1
| | | | Change-Id: Icce3770dd318ec8853d5120c13a85656ed1171ea
* am 14af5a09: am 54df4ecc: Added a note about android:vmSafeMode.Andy McFadden2010-04-051-0/+6
|\ | | | | | | | | | | | | Merge commit '14af5a09123df1aa766fb1ab286601fc592e4770' into dalvik-dev * commit '14af5a09123df1aa766fb1ab286601fc592e4770': Added a note about android:vmSafeMode.
| * Added a note about android:vmSafeMode.Andy McFadden2010-04-051-0/+6
| | | | | | | | | | | | | | | | | | Seems like a good thing to note here, along with the system properties that accomplish the same thing system-wide. (This is a minor documentation change only.) Change-Id: Ib9adbd612d662fd2da3a02f49e730040fba8a7f3
* | Make wide-volatile loads and stores atomic.Andy McFadden2010-03-151-0/+4
|/ | | | | | | | | | | | | | | | | | | | This implements the four wide-volatile instructions added in a previous change, and modifies the verifier to substitute the opcodes into the instruction stream when appropriate. For mterp, the ARM wide get/put instructions now have conditional code that replaces ldrd/strd with a call to the quasiatomic functions. The C version does essentially the same thing. ARMv4T lacks ldrd/stdrd, and uses separate implementations for the wide field accesses, so those were updated as well. x86 will just use stubs. The JIT should punt these to the interpreter. Change-Id: Ife88559ed1a698c3267d43c454896f6b12081c0f Also: - We don't seem to be using the negative widths in the instruction table. Not sure they're useful anymore. - Tabs -> spaces in x86-atom throw-verification-error impl.
* Clarify a few items in the dex spec.Dan Bornstein2010-02-241-8/+10
| | | | | | | In particular, do a bit of "may" vs. "must" maintenance, and be specific about references as arguments to filled-new-array. Change-Id: Iae4cb734e05cd29230e2c9a343108bbfb3c20193
* Flan -> FroyoAndy McFadden2010-02-161-2/+2
|
* Merge "Minor clarification."Andy McFadden2010-02-011-6/+7
|\
| * Minor clarification.Andy McFadden2010-02-011-6/+7
| | | | | | | | | | | | People seem tempted to skip past the introductory material and jump straight to the meaty bits, but the introduction tells you some important things (like how you need to stop/start the framework).
* | Update with froyo change.Andy McFadden2010-02-011-0/+12
|/ | | | | This refers to Froyo as "2.x", because nobody seems to know what the actual numbering will be.
* Added note about NewStringUTF.Andy McFadden2010-01-281-1/+10
| | | | | Calling NewStringUTF with non-UTF data is a common mistake. This adds a note to the JNI Tips document.
* Don't assume debugger wants all exceptions.Andy McFadden2009-12-111-6/+0
| | | | | | | | | | | | | The JDWP implementation in the VM keeps a list of the objects that the debugger knows about, and prevents the GC from collecting them (which isn't strictly necessary, but it's a whole lot easier than doing it right). Because of the way it's implemented, it actually ended up keeping track of all thrown exceptions, even if the debugger wasn't interested in hearing about them. With this change we now do a "late" registration of the exception object, preventing exception-happy code from filling memory when the debugger is attached.
* Update docs for debugger change.Andy McFadden2009-11-301-8/+7
| | | | Update notes re: breakpoint implementation (changed Oct 28, 96516932).
* Fix heap profiling doc.Andy McFadden2009-11-201-9/+12
| | | | The DDMS "get hprof dump" button doesn't show up until 2.0.
* Implement JNI "weak global" references.Andy McFadden2009-10-201-4/+5
| | | | | | | | | | | | The VM now supports the NewWeakGlobalRef and DeleteWeakGlobalRef calls, which create a kind of weak reference that's directly visible to native code. While the JNI spec says that these can be used directly, the only safe way to use them is to convert them to a strong local or global reference first, so this is enforced. The net result is very similar to manually creating a global reference to a WeakReference object and manipulating it with method calls from native code, but the JNI calls are faster and more convenient.
* am 5c6fee52: am 40f3271c: More doc changes.Andy McFadden2009-09-231-24/+30
|\ | | | | | | | | | | | | Merge commit '5c6fee520e29bcd589b5ab310194ca9773332eba' * commit '5c6fee520e29bcd589b5ab310194ca9773332eba': More doc changes.
| * More doc changes.Andy McFadden2009-09-221-24/+30
| | | | | | | | | | Some content changes inspired by external developer feedback, plus some corrections of long-standing typos.
* | am 8db3bd6e: am 9ae00645: Merge change 26280 into eclairAndy McFadden2009-09-231-4/+16
|\| | | | | | | | | | | | | Merge commit '8db3bd6ec5e242d05488c2c175c90d6b5d535a43' * commit '8db3bd6ec5e242d05488c2c175c90d6b5d535a43': Another doc update.
| * Another doc update.Andy McFadden2009-09-211-4/+16
| | | | | | | | | | Emphasized the need for global ref with FindClass. Stated that JNI_OnLoad is optional. Added note about FindClass and class loaders.
* | am 0f117a58: am c7659ec1: Various minor changes to Dalvik documentation.Andy McFadden2009-09-186-14/+99
|\| | | | | | | | | | | | | Merge commit '0f117a580d22e6f68a6fb821e6cbc8c67389e8de' * commit '0f117a580d22e6f68a6fb821e6cbc8c67389e8de': Various minor changes to Dalvik documentation.
| * Various minor changes to Dalvik documentation.Andy McFadden2009-09-186-14/+99
| | | | | | | | Some updates for Eclair, some minor fixes.
* | Fix unnecessary GetPrimitiveArrayCritical users.Elliott Hughes2009-09-091-1/+1
|/ | | | | | Tested on sapphire-eng. Bug: 1639287
* Update bytecode verifier info.Andy McFadden2009-07-291-31/+47
| | | | | Rewrote last section to describe deferred verification error reporting. Added note about structured locking checks.
* Add note about -to-long conversions.Andy McFadden2009-07-131-2/+38
| | | | | Library behavior may not be what Java spec requires. Added sample code and pointer to dalvik test.
* Merge commit 'c1b54205471ea7824c87e53e0d9e6d4c30518007' into merge_korg_masterJean-Baptiste Queru2009-07-061-2/+2
|\
| * Fix field names for annotation_directory_item in documentation (dex-format.html)Ben Gruver2009-06-031-2/+2
| | | | | | | | | | | | The names of the annotated_methods_off and annotated_parameters_off fields aren't consistent with their purpose. _size is consistent with how "count of" type fields are named elsewhere in the file
| * Wrote Dalvik "porting guide".Andy McFadden2009-05-141-0/+353
| |
| * Added two new Dalvik documents.Andy McFadden2009-04-302-0/+333
| | | | | | | | | | | | One explains the use of hprof, the other shows how to use the VM from the command line. These are partially based on some of my responses to questions on external mailing lists.
* | Merge change 6268Android (Google) Code Review2009-07-061-6/+11
|\ \ | | | | | | | | | | | | * changes: Update notes on JDWP debugger support.
| * | Update notes on JDWP debugger support.Andy McFadden2009-07-061-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | In particular: - The app framework uses ro.debuggable, not ro.secure, to decide whether or not debuggers are globally allowed. - If you have a debugger attached, Thread objects may not be collected.
* | | Add mterp stub collection to aid porting.Andy McFadden2009-07-062-1/+213
|/ / | | | | | | | | | | For some of the more complex Dalvik operations it can be handy to see what gcc outputs in similar circumstances. This adds a file filled with "trivial" operations to the Dalvik porting documentation.
* | Added a note in response to external feedback.Andy McFadden2009-05-131-0/+6
| |
* | Wrote Dalvik "porting guide".Andy McFadden2009-05-121-0/+347
| |
* | Say a few words about the virtues of IsSameObject.Andy McFadden2009-05-061-3/+10
| |
* | Drop a copyright notice in at the end.Andy McFadden2009-04-302-0/+6
| |
* | Added two new Dalvik documents.Andy McFadden2009-04-272-0/+327
| | | | | | | | | | | | One explains the use of hprof, the other shows how to use the VM from the command line. These are partially based on some of my responses to questions on external mailing lists.
* | Updated the "weird stuff you might see" section.Andy McFadden2009-04-241-0/+34
| |
* | AI 144469: Added test for dalvik.vm.check-dex-sum property.Andy McFadden2009-04-031-0/+30
|/ | | | | | | | Enables -Xcheckdexsum argument, which causes the VM to test checksums when loading optimized DEX files. BUG=1749836 Automated import of CL 144469
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0368-0/+16388
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0367-16177/+0
|
* auto import from //depot/cupcake/@132589The Android Open Source Project2009-03-034-218/+7
|
* auto import from //depot/cupcake/@137055The Android Open Source Project2009-03-025-13/+225
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-103-21/+94
|
* auto import from //branches/cupcake/...@127101The Android Open Source Project2009-01-201-0/+6
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-1758-56/+8404
|