History log of /art/dalvikvm/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
906c27d7cb57c11c48d370b1cd6b534c362e2f53 30-Jun-2014 Brian Carlstrom <bdc@google.com> Make ART_HOST_EXECUTABLES and ART_TARGET_SUPPORTED_ARCH include dalvikvm32 and dalvikvm64 as needed

Change-Id: Ica949eb73c081f10d28cc2fcfeb8e968eb1d52bb
ndroid.mk
a929ded5e715620726f962910ce515280bea4ee1 26-Jun-2014 Ian Rogers <irogers@google.com> Create a dalvik symlink on the host.

Change-Id: I6cf331141a118d7248fd4eff68cce302dcd7bcca
ndroid.mk
afd9acc30bdd11cdd12d8209eb994cb371c65e33 17-Jun-2014 Ian Rogers <irogers@google.com> Multilib ART host.

Build ART for the host as a multilib project with dalvikvm32 and dalvikvm64
running as 32 or 64-bit repsectfully. Note, currently multilib host builds
are not the default, you make the so by setting BUILD_HOST_64bit=1.
Extend tests to execute in both 32 and 64-bit modes. By default both 32 and
64-bit tests are run, add 32 or 64 to the end of a test name to run it in
purely that flavor.
Given the extra spam, modify oat tests to only generate console output when
the test fails.
Change the test harness so that common commands are run when a test should be
skipped, when it passes or when it fails. Use these commands to generate a
summary of passing, skipped and failing tests. Tests will be skipped if they
are known to be broken or if a test has already failed. Setting the variable
TEST_ART_KEEP_GOING=true will force working tests not to be skipped.
In this change all tests running on the optimizing compiler are marked broken
due to breakages running them in a multilib environment.
Break apart Android.common.mk into its constituent parts, along with other
pieces of reorganization.

Stylistic nit, we refer to make rule targets as targets thereby overloading
the term target. While consistent with make's terminology, its confusing with
the Android notion of target. I've switched to just calling targets rules to
avoid confusion in host tests.

Change-Id: I5190fc3de46800a949fbb06b3f4c258ca89ccde9
ndroid.mk
c5f17732d8144491c642776b6b48c85dfadf4b52 06-Jun-2014 Ian Rogers <irogers@google.com> Remove deprecated WITH_HOST_DALVIK.

Bug: 13751317
Fix the Mac build:
- disable x86 selector removal that causes OS/X 10.9 kernel panics,
- madvise don't need does zero memory on the Mac, factor into MemMap
routine,
- switch to the elf.h in elfutils to avoid Linux kernel dependencies,
- we can't rely on exclusive_owner_ being available from other pthread
libraries so maintain our own when futexes aren't available (we
can't rely on the OS/X 10.8 hack any more),
- fix symbol naming in assembly code,
- work around C library differences,
- disable backtrace in DumpNativeStack to avoid a broken libbacktrace
dependency,
- disable main thread signal handling logic,
- align the stack in stub_test,
- use $(HOST_SHLIB_SUFFIX) rather than .so in host make file variables.

Not all host tests are passing on the Mac with this change. dex2oat
works as does running HelloWorld.
Change-Id: I5a232aedfb2028524d49daa6397a8e60f3ee40d3
ndroid.mk
2a0e954ecf7c60e6ec62d64b9382cc4ee447e224 21-May-2014 Dan Albert <danalbert@google.com> Move art host to libc++

Change-Id: Ia51a4fdfdbae7377130a43c401c2d8d241671d1e
ndroid.mk
700a402244a1a423da4f3ba8032459f4b65fa18f 20-May-2014 Ian Rogers <irogers@google.com> Now we have a proper C++ library, use std::unique_ptr.

Also remove the Android.libcxx.mk and other bits of stlport compatibility
mechanics.

Change-Id: Icdf7188ba3c79cdf5617672c1cfd0a68ae596a61
ndroid.mk
alvikvm.cc
866ac80d18c37a3854a8c857cb084614fba01110 16-May-2014 Ian Rogers <irogers@google.com> Add missing header necessary for libc++.

Change-Id: I0fe951f681415cf40b3e3f606feffd5bd6bd14c8
alvikvm.cc
701318227c322f78a7cb466961b9a058e91a7eb9 16-May-2014 Narayan Kamath <narayan@google.com> Merge "dalvikvm: create the dalvikvm symlink to the primary version"
507dfdd147c97bfbadebfd63584d094b6a4e7b47 16-May-2014 Ian Rogers <irogers@google.com> Compatibility layer to transition from UniquePtr to std::unique_ptr.

Use ART_WITH_STLPORT (enabled for the target) to cause the use of UniquePtr,
for the host switch to std::unique_ptr. For now the type remains called
UniquePtr.
Make dalvik compile with clang on the host, move its build to C++11.

Change-Id: I5ba8d2757904bc089ed62047ea03de3c0853fb12
ndroid.mk
alvikvm.cc
2bb44365e732c935f2de3ed574f2abc3ae27cdeb 13-May-2014 Yongqin Liu <yongqin.liu@linaro.org> dalvikvm: create the dalvikvm symlink to the primary version

use executable_prefer_symlink.mk to create the dalvikvm symlink
to the primary version of dalvikvm command.
So that the modules call dalvikvm command don't need to change again.

Change-Id: Ie5cefc26dc90fb56c35b6b9e4537eda126f61ea1
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
ndroid.mk
bd5ea6a2f7c61c4cd7b66fead1bedd96e938369d 17-Apr-2014 Ian Rogers <irogers@google.com> Preparation for transition to libc++.

Move the dependency on libc++ to its own makefile so that we can switch in a
single place between libc++ and stlport.

Change-Id: Ie61e7d054dcd049e36d5e7298c27d8a4abe6edf7
ndroid.mk
alvikvm.cc
afbaa1aab02cfe519d00336870b1bcd24b61378d 26-Mar-2014 Andreas Gampe <agampe@google.com> Build changes to build multilib tests

Test files will be emitted into directories for both first and second
target architectures. Going with the naming scheme for binaries,
single-architecture and 32b cases have the standard name, and
64b goes into a directory with "64" suffix.

In multi-architecture setups, the default concrete test targets are
extended with a "32" and "64" suffix, e.g., test-art-target-oat-JniTest64.
The suffix-less form is linked to the primary architecture target (usually 64).
That means running combined targets, e.g., test-art-target-oat, will only
test the primary architecture right now.

Fixed target run tests calling the right dalvikvm. Fixed library search
path for tests derived from CommonRuntimeTest.

Missing in this work-in-progress is correct handling of dex2oat for the
secondary architecture. To make it work on 64b, comment out line 101
in build/Android.executable.mk

Change-Id: I3d260994e6efe8b73b56c71994053cc9392943a9
ndroid.mk
686107ea2f123edf8fbba2df5081a5f0b6de4d13 26-Feb-2014 Brian Carlstrom <bdc@google.com> Fix dalvikvm -help

Bug: https://code.google.com/p/android/issues/detail?id=62149
Change-Id: I8ab11cc7c171dc4b7eee1d33aa1624aae832a393
alvikvm.cc
d9c4fc94fa618617f94e1de9af5f034549100753 02-Oct-2013 Ian Rogers <irogers@google.com> Inflate contended lock word by suspending owner.

Bug 6961405.
Don't inflate monitors for Notify and NotifyAll.
Tidy lock word, handle recursive lock case alongside unlocked case and move
assembly out of line (except for ARM quick). Also handle null in out-of-line
assembly as the test is quick and the enter/exit code is already a safepoint.
To gain ownership of a monitor on behalf of another thread, monitor contenders
must not hold the monitor_lock_, so they wait on a condition variable.
Reduce size of per mutex contention log.
Be consistent in calling thin lock thread ids just thread ids.
Fix potential thread death races caused by the use of FindThreadByThreadId,
make it invariant that returned threads are either self or suspended now.

Code size reduction on ARM boot.oat 0.2%.
Old nexus 7 speedup 0.25%, new nexus 7 speedup 1.4%, nexus 10 speedup 2.24%,
nexus 4 speedup 2.09% on DeltaBlue.

Change-Id: Id52558b914f160d9c8578fdd7fc8199a9598576a
ndroid.mk
f409f8134fa7222bc56f50a96cd541bb76ce75e9 12-Sep-2013 Kenny Root <kroot@google.com> Add explicit dependency on algorithm

Change-Id: I3edb34b3c3a1e89a195db18ad8e6a71bc7b4a570
alvikvm.cc
fa50baa45bf7c82e489bd66bbba70544f7981997 02-Aug-2013 Brian Carlstrom <bdc@google.com> Restore build-art minimal build

Change-Id: I0f4f2e8c6d2505a339cb9a1175d30ed9b229c45d
ndroid.mk
025218c7e4330a4942b14f9a8f1f68bd3390261c 31-Jul-2013 Elliott Hughes <enh@google.com> Clean up stlport usage.

Change-Id: I133cd88f1da37f6f801a9e07a78ae23b671cf4f1
ndroid.mk
7934ac288acfb2552bb0b06ec1f61e5820d924a4 26-Jul-2013 Brian Carlstrom <bdc@google.com> Fix cpplint whitespace/comments issues

Change-Id: Iae286862c85fb8fd8901eae1204cd6d271d69496
alvikvm.cc
934313b5b14474fee3b84bbda0f0d3fe4805c63f 11-Jul-2013 Brian Carlstrom <bdc@google.com> Let dalvikvm default based on persist.sys.dalvik.vm.lib

Change-Id: I0e2aa9b1227d9665c37366d6d7bdca2b6c009271
alvikvm.cc
0eba633357c6c01b298434c7fd8a5705b5b2e18f 20-Jun-2013 Brian Carlstrom <bdc@google.com> Use libnativehelper to find JNI_CreateJavaVM

Change-Id: If5da43aee75a3ac5337a90b25264ac30129e3933
alvikvm.cc
ad27f28fa7516b169ee9947ca24a04fd5600f2e6 19-Jun-2013 Brian Carlstrom <bdc@google.com> Add missing dlclose

Change-Id: I02c893fc59f0d3bea8a24c4c0fc39e2f34592a34
alvikvm.cc
35bd61a3e107b3bd30550d268dd708b0381af04a 18-Jun-2013 Brian Carlstrom <bdc@google.com> Fix Mac build by making dalvikvm definition visible

Change-Id: Ic8ef59f7bf9a88785b1c5e7fcc11a0942ef096a0
ndroid.mk
fa42b4410d49134a8e63dc2196be4013d286f2d6 17-Jun-2013 Brian Carlstrom <bdc@google.com> Move to new art dalvikvm

Change-Id: Ib04bc9853b7084965fa0c9899c3e5f5ac42d4ce7
ndroid.mk
alvikvm.cc