History log of /dalvik/vm/native/dalvik_system_VMRuntime.cpp
Revision Date Author Comments
ed94ff793680873d2c942641ccda9ea81c95b5ad 13-Oct-2012 Elliott Hughes <enh@google.com> Revert "Don't enforce access checks for overloading for targetSdkVersion < 17."

This reverts commit 0fe885202fc2d1e7f3d34c99ae3487a9a6387be1

May be causing http://b/7343420, though I can't reproduce that crash.

Change-Id: Ia3d2a1507602d07699d1f9914e734cc813f97518
0fe885202fc2d1e7f3d34c99ae3487a9a6387be1 12-Oct-2012 Elliott Hughes <enh@google.com> Don't enforce access checks for overloading for targetSdkVersion < 17.

Still warn, and enforce the missing check for targetSdkVersion >= 17.

Bug: 7301030
Change-Id: I8189fcbf222f331b1f80a156b01082d61f1f9362
4308417beec548c2b2c06ecec4f7f4a965b09fb2 04-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/156801

Bug: 5449033
Change-Id: Ic558031c75b3702d90eb78bd730501ae5d3c077b
ea333384b92db9c400be1b4c8cb6992d9ba5f14d 11-Jul-2011 Elliott Hughes <enh@google.com> Add JNI app bug workarounds.

Specifically, this hands out direct pointers for all local references,
and lets you use a JNIEnv* on the wrong thread. This is off by default,
but enabled for apps that don't have ICS as their targetSdkVersion.

Bug: 4772166
Change-Id: I20c403a8e63481a35d579d2bd3b121c80ec08f89
191a799160fe811d8558724bb86cfe543b7efc2f 08-Jul-2011 Elliott Hughes <enh@google.com> Allow an app's targetSdkVersion to be set by the zygote.

Bug: 4772166
Change-Id: I7dbfdc2f2856efe608f0474d83326e6f0ba17658
a8b4a0eec5e3ab181b3d26223c84c556bead06c8 24-Jun-2011 Elliott Hughes <enh@google.com> Throw NullPointerExceptions with detail messages.

Bug: 4905110
Change-Id: Iebcc45049c1ea14ceef6d44a19dd8cb618392101
e58a9b5d443cd3fcc22abc887cf0739a4b6bc145 21-Jun-2011 Jesse Wilson <jessewilson@google.com> Add isDebuggerActive API for the finalizer watchdog.

Change-Id: Ib0afcd15327c0a3dd8c565036a8f010e318adc9e
http://b/4144865
689cc333b7be28b8b312f91999a31a2b0bd60c62 08-Jun-2011 Elliott Hughes <enh@google.com> Fix regular exit.

Change-Id: I653658f3b6e533a235f1108d0b625b9bdff7630c
0fbb7030fff58e25718291811394487d95d95a3e 07-Jun-2011 Elliott Hughes <enh@google.com> Use std::string rather than malloc/free for saneDirName.

Also use std::vector instead of the cutils/array cruft.

Change-Id: I273147335cafbac5d336955f53b0b29d015f0589
52e2626eb3bf620c53459a90d912733de2ce0369 28-Apr-2011 Carl Shapiro <cshapiro@google.com> Add a non-moving option to dvmMalloc and make use of it.

At present, class objects, non-moving arrays, and interned strings have
location dependencies in native code. Allocating non-moving is a no-op
for the present heap, but this option will have an effect after the
copying collector is integrated.

Change-Id: I674f83a086ac65db303baab0599831f80f52a4a5
c233f165a425ce44c7e5e75b14bc4fc018288345 20-Apr-2011 Carl Shapiro <cshapiro@google.com> Revert "am 024b7b9d: am a0739ea3: am af242824: Revert "Fix a type error in the allocation of non-moving arrays." per Ryan\'s request"

This reverts commit d336a946ee81fd26cffcca63bccc18a4a7536303, reversing
changes made to f4b9e2752312c0c513f6ec416e900e5392e9a96c.

Change-Id: I72a877f57b64618345bebfbe22e57bbe334c7726
2ba33db462c43d054aac98293104cb4adb8dd562 19-Apr-2011 Carl Shapiro <cshapiro@google.com> Fix a type error in the allocation of non-moving arrays.

Originally, non-moving arrays were allocated with dvmAllocObjectArray.
However, dvmAllocObjectArray does not respect the width of the user
supplied element class and substitutes a hard coded value of 4 bytes.
This change replaces dvmAllocObjectArray with dvmAllocArrayByClass.
dvmAllocArrayByClass consults the element class for its width when
computing the storage size for the array being allocated.

Bug: 4309030

Change-Id: I4f3802b38261f5ad7052d577049732f59a667ea6
89383030aca8f77aeab73540404ba332ce5ac035 15-Apr-2011 Elliott Hughes <enh@google.com> More JNI implementation cleanup.

Change-Id: I5218c42df18eb5b8647fce073abd8434b40adb80
db0c9549818d9f6e508d26e45ff9d886802aa1da 13-Apr-2011 Carl Shapiro <cshapiro@google.com> Convert the internal and in-line natives to C++.

Change-Id: I2ece682bc3b4d3b55ab27c60fd84a0b3243d7ca6