| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
Goes with bug 2838629.
Change-Id: I754af767bf8173a674d84428a3ce11cd337b19ae
|
| |
|
|
|
|
|
| |
Explain that "kill -10" is being removed as a heap-dump mechanism, and
describe the new "am dumpheap" command.
Change-Id: I83ac6cb5a7624d006001cc5404689bfe88b44fdd
|
| |
|
|
| |
Change-Id: I1e3d103a7b932ef21acedb6438c0f26b315df28f
|
| |
|
|
| |
Change-Id: I95534bb2b88eaf48f2329282041118cd034c812b
|
| |
|
|
| |
Change-Id: I89277db5a2278a9e4d584ffb4b24d5cd77f71a3c
|
| |
|
|
| |
Change-Id: I4ad03a41718d3c30ce4117114f71b07a3d023dde
|
| |
|
|
| |
Change-Id: Icce3770dd318ec8853d5120c13a85656ed1171ea
|
| |\
| |
| |
| |
| |
| |
| | |
Merge commit '14af5a09123df1aa766fb1ab286601fc592e4770' into dalvik-dev
* commit '14af5a09123df1aa766fb1ab286601fc592e4770':
Added a note about android:vmSafeMode.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
In particular, do a bit of "may" vs. "must" maintenance, and be specific
about references as arguments to filled-new-array.
Change-Id: Iae4cb734e05cd29230e2c9a343108bbfb3c20193
|
| | |
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
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).
|
| |/
|
|
|
| |
This refers to Froyo as "2.x", because nobody seems to know what the
actual numbering will be.
|
| |
|
|
|
| |
Calling NewStringUTF with non-UTF data is a common mistake. This adds
a note to the JNI Tips document.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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 notes re: breakpoint implementation (changed Oct 28, 96516932).
|
| |
|
|
| |
The DDMS "get hprof dump" button doesn't show up until 2.0.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |\
| |
| |
| |
| |
| |
| | |
Merge commit '5c6fee520e29bcd589b5ab310194ca9773332eba'
* commit '5c6fee520e29bcd589b5ab310194ca9773332eba':
More doc changes.
|
| | |
| |
| |
| |
| | |
Some content changes inspired by external developer feedback, plus some
corrections of long-standing typos.
|
| |\|
| |
| |
| |
| |
| |
| | |
Merge commit '8db3bd6ec5e242d05488c2c175c90d6b5d535a43'
* commit '8db3bd6ec5e242d05488c2c175c90d6b5d535a43':
Another doc update.
|
| | |
| |
| |
| |
| | |
Emphasized the need for global ref with FindClass. Stated that JNI_OnLoad
is optional. Added note about FindClass and class loaders.
|
| |\|
| |
| |
| |
| |
| |
| | |
Merge commit '0f117a580d22e6f68a6fb821e6cbc8c67389e8de'
* commit '0f117a580d22e6f68a6fb821e6cbc8c67389e8de':
Various minor changes to Dalvik documentation.
|
| | |
| |
| |
| | |
Some updates for Eclair, some minor fixes.
|
| |/
|
|
|
|
| |
Tested on sapphire-eng.
Bug: 1639287
|
| |
|
|
|
| |
Rewrote last section to describe deferred verification error reporting.
Added note about structured locking checks.
|
| |
|
|
|
| |
Library behavior may not be what Java spec requires. Added sample code
and pointer to dalvik test.
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
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
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
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.
|
| |\ \
| | |
| | |
| | |
| | | |
* changes:
Update notes on JDWP debugger support.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |/ /
| |
| |
| |
| |
| | |
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.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
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.
|
| | | |
|
| |/
|
|
|
|
|
|
| |
Enables -Xcheckdexsum argument, which causes the VM to test checksums
when loading optimized DEX files.
BUG=1749836
Automated import of CL 144469
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|