History log of /dalvik/tests/etc/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5dedc95f562c09c29657ddf340af499af7c65abd 03-May-2013 Elliott Hughes <enh@google.com> Fix dalvik tests post-conscrypt.

Change-Id: I36b942916330a3d6a06fad93dd9aa0533b47ff85
ost-run-test-jar
eb1703442f3fc0577b3395b7eb4d55300b4125db 29-Jan-2013 Nick Kralevich <nnk@google.com> dvz: remove dead code.

dvz is never used. Delete it.

Change-Id: If2b5ccbf6668a1044a0d57e09ce6d0c0923c6c76
ush-and-run-test-jar
0c2dc522d0e120f346cf0a40c8cf0c93346131c2 03-Jul-2012 Dong-Yuan Chen <dong-yuan.chen@intel.com> [X86] X86 trace JIT compiler support

This patch provides a fully functional x86 trace JIT compiler for Dalvik
VM. It is built on top of the existing x86 fast interpreter
with bug fixes and needed extension to support trace JIT interface. The
x86 trace JIT code generator was developed independent of the existing
template-based code generator and thus does not share exactly the same
infrastructure. Included in this patch are:

* Deprecated and removed the x86-atom fast interpreter that is no
longer functional since ICS.
* Augmented x86 fast interpreter to provide interfaces for x86 trace JIT
compiler.
* Added x86 trace JIT code generator with full JDWP debugging support.
* Method JIT and self-verification mode are not supported.

The x86 code generator uses the x86 instruction encoder/decoder library
from the Apache Harmony project. Additional wrapper extension and bug
fixes were added to support the x86 trace JIT code generator. The x86
instruction encoder/decoder is embedded inside the x86 code generator
under the libenc subdirectory.

Change-Id: I241113681963a16c13a3562390813cbaaa6eedf0
Signed-off-by: Dong-Yuan Chen <dong-yuan.chen@intel.com>
Signed-off-by: Yixin Shou <yixin.shou@intel.com>
Signed-off-by: Johnnie Birch <johnnie.l.birch.jr@intel.com>
Signed-off-by: Udayan <udayan.banerji@intel.com>
Signed-off-by: Sushma Kyasaralli Thimmappa <sushma.kyasaralli.thimmappa@intel.com>
Signed-off-by: Bijoy Jose <bijoy.a.jose@intel.com>
Signed-off-by: Razvan A Lupusoru <razvan.a.lupusoru@intel.com>
Signed-off-by: Tim Hartley <timothy.d.hartley@intel.com>
ost-run-test-jar
ac3da004fe02e855e2444ce76abf13f12e2e0050 07-Jun-2012 Mattias Petersson <mattias.petersson@sonymobile.com> Missing zero-checks in JIT compiler

Zero-checks were not generated by the JIT compiler for
some instructions. This caused crashes instead of
the expected ArithmeticException.

Change-Id: Ic8041741a7cccc1bd6b8c3c0723ba55a55af856b
ost-run-test-jar
ush-and-run-test-jar
719e14a06a328597b773fe347ca4ffb962716da5 11-Feb-2011 Carl Shapiro <cshapiro@google.com> Ensure a dalvik-cache directory exists before running dalvik.

The dalvik tests require a dalvik-cache directory otherwise dalvikvm
will fail with an unhelpful error message. On the device it is safe
to assume a dalvik-cache directory exists but this is not a safe
assumption on the host. With this change the script tries to create a
dalvik-cache directory on the host if it does not exist.

Change-Id: Ie0c69ff8dcd68b6b04a763f06861edd308406f69
ost-run-test-jar
85fb8ea16262c7c2cc1348fa0e86d92fadf3fef9 27-Jan-2011 Ben Cheng <bccheng@android.com> Expand the "--dev" mode to cover VM development.

When specified, print the VM invocation command line too.
Also made minor cleanup on the class path to simply the invocation command.

Change-Id: I7af0a2c1df15c0e435d2e5c0b2aa0713455db0de
ush-and-run-test-jar
58aeafb0964ac080f7be43c9bb5ba35909d28cf7 03-Dec-2010 buzbee <buzbee@google.com> Replace dalvik test local mode with new host mode

To run the dalvik tests with host mode:
1. build with WITH_HOST_DALVIK=true
2. run-all-tests --host, or run-test <num> --host

Change-Id: Ic20df0b0720571b5a4ae11b5a1f6ce760d921d4b
ocal-run-test-jar
7dc44a1c9a37d528f080eb51739da80696bb1f05 02-Dec-2010 buzbee <buzbee@google.com> x86-mterp bug fix; support host mode in tests

A recent x86 housecleaning change introduced a bug in OP_FILLED_ARRAY.
Fixed that, plus hacked up dalvik test scripts to support host
mode operation (with --host)

Change-Id: Iaf8b1ab753f93fa344e64f984a3c4696433ec9aa
ost-run-test-jar
7365493ad8d360c1dcf9cd8b6eee62747af01cae 09-Jun-2010 Carl Shapiro <cshapiro@google.com> Remove repeated newlines at the end of files.

Change-Id: I1e3d103a7b932ef21acedb6438c0f26b315df28f
efault-build
38329f5678fd7a4879528b02a0ab60322d38a897 07-Jul-2009 Ben Cheng <bccheng@android.com> Improved method invocation performance: 1.5x for virtual and 2.8x for interface.

- Implemented predicted chaining for invoke virtual and interface.
- Eliminated a little bit of fat for invoke native.
- Added 078-polymorphic-virtual for stress tests.
ocal-run-test-jar
ush-and-run-test-jar
b51ea11c70602918c42764bfafe92a997d3b1803 09-May-2009 Andy McFadden <fadden@android.com> Defer reporting of certain verifier failures.

The verifier currently reports all failures immediately. Certain failures,
such as the failure to resolve a method, or the determination that access
to a field is not allowed, are supposed to deferred until the first time
that executing code does something that could cause the resolution.

With this change, several kinds of verification failures are deferred.
This is done by making a writable copy of the bytecode and replacing the
failing instruction with an "always throw" opcode.

Gory details:
- Added throw-verification-error instruction. Implemented in "portable"
and ARM interpreters. x86 uses portable form through stub.
- Added a function that creates a copy of a DexCode area and makes the
bytecodes writable.
- Added code that replaces a single instruction with an "always throw".
- Replaced runtime check for abstract/interface in new-instance with a
check at verification time.
- Added a test to exercise the deferred error mechanism.
- Minor cleanups (replaced tab, bad valgrind command, ...).
ocal-run-test-jar
09e83b719ff743b715b971b8355715c4ea6838e4 02-Apr-2009 Andy McFadden <> AI 144240: Added a test for a bug reported externally (via android-platform).
Through separate compilation and inheritance, it's possible for a
class to have static and instance fields with the same name. This
test verifies that we throw an IncompatibleClassChangeError when this
occurs. (The test currently fails.)
Also: my change 126993-p9 made "--dev" visible to the "helper" scripts,
but only the "local" one accepts it. Fixed the other two to accept
and ignore it.
BUG=1752800

Automated import of CL 144240
ush-and-run-test-jar
eference-run-test-classes
49a71d1bc49146fb663e2d26fba56cb6cb6c8505 25-Mar-2009 Andy McFadden <> Automated import from //branches/master/...@141983,141983
ocal-run-test-jar
ush-and-run-test-jar
f6c387128427e121477c1b32ad35cdcaa5101ba3 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
efault-build
efault-run
ocal-run-test-jar
ush-and-run-test-jar
eference-run-test-classes
f72d5de56a522ac3be03873bdde26f23a5eeeb3c 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
efault-build
efault-run
ocal-run-test-jar
ush-and-run-test-jar
eference-run-test-classes
4c1a2915e40eceeb68dbc323d28b8bf8763af83b 20-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127101
ocal-run-test-jar
89c1feb0a69a7707b271086e749975b3f7acacf7 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
ocal-run-test-jar
2ad60cfc28e14ee8f0bb038720836a4696c478ad 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
efault-build
efault-run
ocal-run-test-jar
ush-and-run-test-jar
eference-run-test-classes