OSDN Git Service

android-x86/art.git
9 years agoMerge "More stack map dumping."
Nicolas Geoffray [Wed, 17 Jun 2015 09:19:09 +0000 (09:19 +0000)]
Merge "More stack map dumping."

9 years agoMore stack map dumping.
Nicolas Geoffray [Wed, 17 Jun 2015 08:44:43 +0000 (09:44 +0100)]
More stack map dumping.

Change-Id: I1f734c0c9eabda1cc6adaf32579e4c3be4a45c9a

9 years agoMerge "Fix lint error."
Narayan Kamath [Wed, 17 Jun 2015 08:57:36 +0000 (08:57 +0000)]
Merge "Fix lint error."

9 years agoMerge "Exercise sun.misc.Unsafe.getObject."
Roland Levillain [Wed, 17 Jun 2015 08:56:12 +0000 (08:56 +0000)]
Merge "Exercise sun.misc.Unsafe.getObject."

9 years agoFix lint error.
Narayan Kamath [Wed, 17 Jun 2015 08:49:40 +0000 (09:49 +0100)]
Fix lint error.

Blank line at the start of a code block.

Change-Id: Ifc0d78acc8b2eecbdc1a340009757f9218ce2c5c

9 years agoMerge "Revert "Revert "ART: Implement literal pool for arm, fix branch fixup."""
Vladimir Marko [Wed, 17 Jun 2015 08:45:51 +0000 (08:45 +0000)]
Merge "Revert "Revert "ART: Implement literal pool for arm, fix branch fixup."""

9 years agoRevert "Revert "ART: Implement literal pool for arm, fix branch fixup.""
Vladimir Marko [Tue, 16 Jun 2015 11:33:24 +0000 (11:33 +0000)]
Revert "Revert "ART: Implement literal pool for arm, fix branch fixup.""

This reverts commit fbeb4aede0ddc5b1e6a5a3a40cc6266fe8518c98.

Adjust block label positions. Bad catch block labels were the
reason for the revert.

Change-Id: Ia6950d639d46b9da6b07f3ade63ab46d03d63310

9 years agoMerge "Set default visibility on art_sigsegv_fault."
Narayan Kamath [Wed, 17 Jun 2015 08:34:57 +0000 (08:34 +0000)]
Merge "Set default visibility on art_sigsegv_fault."

9 years agoSet default visibility on art_sigsegv_fault.
Oleksiy Vyalov [Sun, 14 Jun 2015 22:17:26 +0000 (15:17 -0700)]
Set default visibility on art_sigsegv_fault.

libart.so is built with flag -fvisibility=protected
which complicates setting breakpoints on art_sigsegv_fault.
According to the GCC manual "Protected visibility indicates
that the symbol will be placed in the dynamic symbol table,
but that references within the defining module will bind
to the local symbol.". This implies that a breakpoint on
a protected symbol will not be hit.

Without this change gdbclient with ART debugging enabled
doesn't break at art_sigsegv_fault as expected.

Change-Id: Ib73344e710966eddf55a6facb29558504a511f00

9 years agoMerge "CFI test: kill the other process in native code."
Nicolas Geoffray [Wed, 17 Jun 2015 08:08:48 +0000 (08:08 +0000)]
Merge "CFI test: kill the other process in native code."

9 years agoCFI test: kill the other process in native code.
David Srbecky [Wed, 17 Jun 2015 02:52:54 +0000 (03:52 +0100)]
CFI test: kill the other process in native code.

Killing it from Java does not seem reliable and the CFI
test tends to leave alive processes on the system.
This might be particularly troubling on the build bot.

Change-Id: I888b61037ab77fb4ff929762ea40af53f7a6ed6e

9 years agoMerge "Find the dlopened file using address rather than file path."
David Srbecky [Wed, 17 Jun 2015 01:56:52 +0000 (01:56 +0000)]
Merge "Find the dlopened file using address rather than file path."

9 years agoFind the dlopened file using address rather than file path.
David Srbecky [Wed, 17 Jun 2015 01:11:07 +0000 (02:11 +0100)]
Find the dlopened file using address rather than file path.

This should fix the build bot.  It was failing because the
path which we pass to dlopen is not the path that gets mmaped.

Bug: 21854739
Change-Id: I0c28c74b62743f74f9ff3ae89e6f1beb0c1113ae

9 years agoMerge "Add more logging output for dlopen."
David Srbecky [Tue, 16 Jun 2015 23:20:40 +0000 (23:20 +0000)]
Merge "Add more logging output for dlopen."

9 years agoMerge "Revert "Revert "Use dlopen to load oat files."""
David Srbecky [Tue, 16 Jun 2015 23:20:08 +0000 (23:20 +0000)]
Merge "Revert "Revert "Use dlopen to load oat files."""

9 years agoAdd more logging output for dlopen.
David Srbecky [Tue, 16 Jun 2015 23:08:02 +0000 (00:08 +0100)]
Add more logging output for dlopen.

Investigation of build bot failure which I can not reproduce locally.

Bug: 21854739
Change-Id: I4584bb10ad44e4bcf8232c060e40b36ff924ffa2

9 years agoMerge "Print more diagnosis info on to-space invariant violation."
Hiroshi Yamauchi [Tue, 16 Jun 2015 19:25:00 +0000 (19:25 +0000)]
Merge "Print more diagnosis info on to-space invariant violation."

9 years agoRevert "Revert "Use dlopen to load oat files.""
David Srbecky [Tue, 16 Jun 2015 17:12:34 +0000 (17:12 +0000)]
Revert "Revert "Use dlopen to load oat files.""

This reverts commit 7a46b7e235a7c35191cd9ddbab6ca4db0e535da5.

Change-Id: I33439d0e3d7a7e63591a8c7b356e716dcb62bca1

9 years agoExercise sun.misc.Unsafe.getObject.
Roland Levillain [Tue, 16 Jun 2015 17:09:26 +0000 (18:09 +0100)]
Exercise sun.misc.Unsafe.getObject.

Change-Id: I6b3c090e1db7302d6f5b81ab91d5a1dc218fae93

9 years agoMerge "Disable -Wframe-larger-than when building SANITIZE_TARGET."
Evgenii Stepanov [Tue, 16 Jun 2015 16:34:26 +0000 (16:34 +0000)]
Merge "Disable -Wframe-larger-than when building SANITIZE_TARGET."

9 years agoMerge "Update jdwp and libcore scripts for running with libartd."
Nicolas Geoffray [Tue, 16 Jun 2015 14:33:00 +0000 (14:33 +0000)]
Merge "Update jdwp and libcore scripts for running with libartd."

9 years agoMerge "Revert "ART: Implement literal pool for arm, fix branch fixup.""
Vladimir Marko [Tue, 16 Jun 2015 11:32:24 +0000 (11:32 +0000)]
Merge "Revert "ART: Implement literal pool for arm, fix branch fixup.""

9 years agoRevert "ART: Implement literal pool for arm, fix branch fixup."
Vladimir Marko [Tue, 16 Jun 2015 11:32:01 +0000 (11:32 +0000)]
Revert "ART: Implement literal pool for arm, fix branch fixup."

This reverts commit f38caa68cce551fb153dff37d01db518e58ed00f.

Change-Id: Id88b82cc949d288cfcdb3c401b96f884b777fc40
Reason: broke the tests.

9 years agoMerge "ART: Implement literal pool for arm, fix branch fixup."
Vladimir Marko [Tue, 16 Jun 2015 09:06:59 +0000 (09:06 +0000)]
Merge "ART: Implement literal pool for arm, fix branch fixup."

9 years agoPrint more diagnosis info on to-space invariant violation.
Hiroshi Yamauchi [Sat, 13 Jun 2015 01:35:06 +0000 (18:35 -0700)]
Print more diagnosis info on to-space invariant violation.

Pass the method/field (in GcRootSource) to the read barrier to print
more info when a to-space invariant violation is detected on a
method/field GC root access.

Refactor ConcurrentCopying::AssertToSpaceInvariant().

Bug: 12687968
Bug: 21564728

Change-Id: I3a5fde1f41969349b0fee6cd9217b948d5241a7c

9 years agoMerge "Revert "Use dlopen to load oat files.""
David Srbecky [Mon, 15 Jun 2015 23:44:58 +0000 (23:44 +0000)]
Merge "Revert "Use dlopen to load oat files.""

9 years agoRevert "Use dlopen to load oat files."
David Srbecky [Mon, 15 Jun 2015 23:44:08 +0000 (23:44 +0000)]
Revert "Use dlopen to load oat files."

This reverts commit 49e1fabc85480f01077f3cc10e8ba6ada6e4befa.

Change-Id: If49e8b60c458a992519b7fdabe02e7d53830edab

9 years agoDisable -Wframe-larger-than when building SANITIZE_TARGET.
Evgenii Stepanov [Mon, 15 Jun 2015 22:55:22 +0000 (15:55 -0700)]
Disable -Wframe-larger-than when building SANITIZE_TARGET.

The same has been done for SANITIZE_HOST some time ago.
AddressSanitizer adds redzones around local variables, increasing
function frame size by 2x to 3x.

Bug: 21785137
Change-Id: If53456894a2e6e38318b681dbc69547b05b6f33c

9 years agoUpdate jdwp and libcore scripts for running with libartd.
Nicolas Geoffray [Mon, 15 Jun 2015 13:35:01 +0000 (14:35 +0100)]
Update jdwp and libcore scripts for running with libartd.

Also make run-libcore-tests.sh a bit smarter by knowing
some of the arguments it needs to pass to vogar.

bug:21746693

Change-Id: Ib92b5f96ba8f15ff1de5fb387e67b3d14ce233c9

9 years agoART: Implement literal pool for arm, fix branch fixup.
Vladimir Marko [Fri, 29 May 2015 14:50:18 +0000 (15:50 +0100)]
ART: Implement literal pool for arm, fix branch fixup.

Change-Id: Iecc91418bb4ee1c957f42fefb737d0ee2ba960e7

9 years agoMerge "Fix error message description in Checker"
David Brazdil [Mon, 15 Jun 2015 13:59:42 +0000 (13:59 +0000)]
Merge "Fix error message description in Checker"

9 years agoFix error message description in Checker
David Brazdil [Mon, 15 Jun 2015 13:57:29 +0000 (14:57 +0100)]
Fix error message description in Checker

Change-Id: Ieaecd430b096f91cc41af6354ee82176fe60a037

9 years agoMerge "Bring ReferenceTypePropagation to ArrayGet"
Calin Juravle [Mon, 15 Jun 2015 13:50:45 +0000 (13:50 +0000)]
Merge "Bring ReferenceTypePropagation to ArrayGet"

9 years agoMerge "Bring ReferenceTypePropagation to HInvoke return types"
Calin Juravle [Mon, 15 Jun 2015 13:50:31 +0000 (13:50 +0000)]
Merge "Bring ReferenceTypePropagation to HInvoke return types"

9 years agoMerge "Move Level1 to its own file."
Nicolas Geoffray [Mon, 15 Jun 2015 13:19:27 +0000 (13:19 +0000)]
Merge "Move Level1 to its own file."

9 years agoMove Level1 to its own file.
Nicolas Geoffray [Mon, 15 Jun 2015 12:58:00 +0000 (13:58 +0100)]
Move Level1 to its own file.

When we don't have oat files, we use runtime semantics
for checking access. At runtime, we're checking whether
the class loader is the same between two classes. This is
information we don't have when we run dex2oat at install time.

So movining Level1 to a public class fixes the access issue
when running the test with --no-prebuild --no-dex2oat.

Change-Id: Ied1f33a9e651f0045501c939eaf94b7b34ba1e66

9 years agoBring ReferenceTypePropagation to ArrayGet
Guillaume "Vermeille" Sanchez [Tue, 2 Jun 2015 16:39:45 +0000 (17:39 +0100)]
Bring ReferenceTypePropagation to ArrayGet

Change-Id: I602b494c4e18bd78313ce9711ff363c31570a57c

9 years agoBring ReferenceTypePropagation to HInvoke return types
Guillaume "Vermeille" Sanchez [Fri, 29 May 2015 09:52:55 +0000 (10:52 +0100)]
Bring ReferenceTypePropagation to HInvoke return types

Change-Id: Id0683f67e32874713a30c072c71dc537b1271926

9 years agoMerge "Fix reference comparison after redundant phi elimination."
Nicolas Geoffray [Mon, 15 Jun 2015 08:57:42 +0000 (08:57 +0000)]
Merge "Fix reference comparison after redundant phi elimination."

9 years agoFix reference comparison after redundant phi elimination.
Nicolas Geoffray [Mon, 15 Jun 2015 08:01:08 +0000 (09:01 +0100)]
Fix reference comparison after redundant phi elimination.

Otherwise, the graph could remain mistyped.

bug:21776173

Change-Id: I491f4b95e1763cbd1ade777da0a23bae319fed63

9 years agoMerge "Fix lint error."
Nicolas Geoffray [Mon, 15 Jun 2015 07:58:49 +0000 (07:58 +0000)]
Merge "Fix lint error."

9 years agoFix lint error.
Nicolas Geoffray [Mon, 15 Jun 2015 07:58:03 +0000 (08:58 +0100)]
Fix lint error.

Change-Id: I839d547bd3f7c814e2db2b9b40119fdd13469ee6

9 years agoMerge "Use the caller's class loader when walking inlined frames."
Nicolas Geoffray [Mon, 15 Jun 2015 07:46:41 +0000 (07:46 +0000)]
Merge "Use the caller's class loader when walking inlined frames."

9 years agoMerge "Revert "art/tools: add new tests in security packages to the build bot""
Nicolas Geoffray [Sat, 13 Jun 2015 13:29:28 +0000 (13:29 +0000)]
Merge "Revert "art/tools: add new tests in security packages to the build bot""

9 years agoRevert "art/tools: add new tests in security packages to the build bot"
Nicolas Geoffray [Sat, 13 Jun 2015 13:19:16 +0000 (13:19 +0000)]
Revert "art/tools: add new tests in security packages to the build bot"

Unfortunately still seeing failures due to localhost uses.

This reverts commit a04ece3175403413a213cd54900860857e780879.

Change-Id: I9572e53bc1ef405060359f0eeaa1f726299349b3

9 years agoMerge "ART: Fix CFI test wrt/ PIC"
Andreas Gampe [Sat, 13 Jun 2015 03:40:56 +0000 (03:40 +0000)]
Merge "ART: Fix CFI test wrt/ PIC"

9 years agoART: Fix CFI test wrt/ PIC
Andreas Gampe [Sat, 13 Jun 2015 03:38:49 +0000 (20:38 -0700)]
ART: Fix CFI test wrt/ PIC

PIC boot images can't be loaded with dlopen, as their base is zero,
but we have an expectant address. Turn off in-process unwinding
in 137-cfi by checking the boot image oat file type.

Keep a non-owned referenced to the oat file in image space to simplify
access.

Change-Id: Ia2b525f9b2ecbc80b433f09e04ebece4cb6f2d2b

9 years agoMerge "Pass reuse flag to MemMap constructor"
Mathieu Chartier [Sat, 13 Jun 2015 00:53:10 +0000 (00:53 +0000)]
Merge "Pass reuse flag to MemMap constructor"

9 years agoMerge "Let classloader provide correct LD_LIBRARY_PATH"
Dmitriy Ivanov [Sat, 13 Jun 2015 00:43:56 +0000 (00:43 +0000)]
Merge "Let classloader provide correct LD_LIBRARY_PATH"

9 years agoPass reuse flag to MemMap constructor
Mathieu Chartier [Sat, 13 Jun 2015 00:32:31 +0000 (17:32 -0700)]
Pass reuse flag to MemMap constructor

Bug: 21806978
Change-Id: Iec92220d8f42e1d702ee39b27a8de570ea1ab588

9 years agoMerge "Use dlopen to load oat files."
David Srbecky [Fri, 12 Jun 2015 23:04:49 +0000 (23:04 +0000)]
Merge "Use dlopen to load oat files."

9 years agoUse dlopen to load oat files.
David Srbecky [Thu, 11 Jun 2015 16:38:44 +0000 (17:38 +0100)]
Use dlopen to load oat files.

This is required to support in-process unwinding in libunwind.
libunwind obtains the list of loaded libraries from the linker,
therefore we need to use dlopen, otherwise it will not find them.

Change-Id: I5fd89cce6b909385cb89b8a48c0d817677acf299

9 years agoMerge "JDWP: update handling of 8-bit and 16-bit fields"
Sebastien Hertz [Fri, 12 Jun 2015 17:38:21 +0000 (17:38 +0000)]
Merge "JDWP: update handling of 8-bit and 16-bit fields"

9 years agoJDWP: update handling of 8-bit and 16-bit fields
Sebastien Hertz [Thu, 11 Jun 2015 16:42:58 +0000 (18:42 +0200)]
JDWP: update handling of 8-bit and 16-bit fields

We must use special getter/setter for types smaller than int:
boolean, byte, char and short. However, JDWP still requires to treat:
- int and float as 32-bit values
- long and double as 64-bit values

Bug: 21746739
Change-Id: I8d0ce46246084c9e16f287da28d8969d36b83b99

9 years agoMerge "Revert "Revert "Revert "Bring ReferenceTypePropagation to HInvoke return types""""
Calin Juravle [Fri, 12 Jun 2015 15:40:57 +0000 (15:40 +0000)]
Merge "Revert "Revert "Revert "Bring ReferenceTypePropagation to HInvoke return types""""

9 years agoRevert "Revert "Revert "Bring ReferenceTypePropagation to HInvoke return types"""
Calin Juravle [Fri, 12 Jun 2015 15:40:42 +0000 (15:40 +0000)]
Revert "Revert "Revert "Bring ReferenceTypePropagation to HInvoke return types"""

This reverts commit a981f9d5cac9a479d3b5d16508d71cfe17d95117.

Change-Id: I69faf16d5ef0ecc234fb52e071b682e728a8bf97

9 years agoMerge "Revert "Revert "Revert "Fix a checker test""""
Calin Juravle [Fri, 12 Jun 2015 15:40:13 +0000 (15:40 +0000)]
Merge "Revert "Revert "Revert "Fix a checker test""""

9 years agoRevert "Revert "Revert "Fix a checker test"""
Calin Juravle [Fri, 12 Jun 2015 15:39:26 +0000 (15:39 +0000)]
Revert "Revert "Revert "Fix a checker test"""

This reverts commit b9610e795b8df7b3ba8c6b2c38d6589c2a0e5321.

Change-Id: Id4550d578913a7eac02480b635b3c0a44dea2b4c

9 years agoMerge "Revert "Revert "Fix a checker test"""
Calin Juravle [Fri, 12 Jun 2015 15:26:57 +0000 (15:26 +0000)]
Merge "Revert "Revert "Fix a checker test"""

9 years agoRevert "Revert "Fix a checker test""
Calin Juravle [Fri, 12 Jun 2015 15:26:45 +0000 (15:26 +0000)]
Revert "Revert "Fix a checker test""

This reverts commit e27dd0ef36f225e9d52daa454b8030f3d485b982.

Change-Id: I7779ec9273cd9873828f31706ddaee3bc707be24

9 years agoMerge "Revert "Revert "Bring ReferenceTypePropagation to HInvoke return types"""
Calin Juravle [Fri, 12 Jun 2015 15:26:32 +0000 (15:26 +0000)]
Merge "Revert "Revert "Bring ReferenceTypePropagation to HInvoke return types"""

9 years agoRevert "Revert "Bring ReferenceTypePropagation to HInvoke return types""
Calin Juravle [Fri, 12 Jun 2015 15:26:21 +0000 (15:26 +0000)]
Revert "Revert "Bring ReferenceTypePropagation to HInvoke return types""

This reverts commit 958857d0f9686770a3b1117166d5fa700b39704a.

Change-Id: I196ff2a4453489f0105efc54eee73a2a9321ac4e

9 years agoUse the caller's class loader when walking inlined frames.
Nicolas Geoffray [Fri, 12 Jun 2015 13:52:33 +0000 (14:52 +0100)]
Use the caller's class loader when walking inlined frames.

We should not use the outer most class loader. JLS specification
is to use the caller's class loader.

Change-Id: I736f36c9b6a44fab213ad0c01cf1efc975b9b3a6

9 years agoMerge "tools/buildbot-build.sh: Remove javalibcoretest from common targets"
Sergio Giro [Fri, 12 Jun 2015 14:30:08 +0000 (14:30 +0000)]
Merge "tools/buildbot-build.sh: Remove javalibcoretest from common targets"

9 years agotools/buildbot-build.sh: Remove javalibcoretest from common targets
Sergio Giro [Fri, 12 Jun 2015 14:16:26 +0000 (15:16 +0100)]
tools/buildbot-build.sh: Remove javalibcoretest from common targets

It's built in the make command

Change-Id: I702d54c38dd4492e19688d3949c1e610865d9260

9 years agoMerge "art/tools: add new tests in security packages to the build bot"
Sergio Giro [Fri, 12 Jun 2015 14:11:51 +0000 (14:11 +0000)]
Merge "art/tools: add new tests in security packages to the build bot"

9 years agoart/tools: add new tests in security packages to the build bot
Sergio Giro [Fri, 12 Jun 2015 11:35:51 +0000 (12:35 +0100)]
art/tools: add new tests in security packages to the build bot

Otherwise, it's difficult to know when they start to fail

Test packages added:
com.android.org.conscrypt
libcore.java.security
libcore.javax.net

Bug: 21722374
Change-Id: Ifc641d06a9a0e6ba23fbcb11f49025b8213351fe

9 years agoMerge "Optimizing: Move optimization objects to Arena."
Vladimir Marko [Fri, 12 Jun 2015 14:02:47 +0000 (14:02 +0000)]
Merge "Optimizing: Move optimization objects to Arena."

9 years agoOptimizing: Move optimization objects to Arena.
Vladimir Marko [Fri, 12 Jun 2015 13:30:53 +0000 (14:30 +0100)]
Optimizing: Move optimization objects to Arena.

This should reduce the stack size needed by the
OptimizingCompiler::CompileOptimized() which was very
close to our limits for clang builds, causing repeated
build breakages on otherwise healthy changes:
    art/compiler/optimizing/optimizing_compiler.cc:395:37:
    error: stack frame size of 1760 bytes in function
    'art::OptimizingCompiler::CompileOptimized'
    [-Werror,-Wframe-larger-than=]

Change-Id: I2f4ab0235f4eac61823a4a320bb4fe78942a23c2

9 years agoMerge "Fix a typo in the directory name."
Nicolas Geoffray [Fri, 12 Jun 2015 13:40:12 +0000 (13:40 +0000)]
Merge "Fix a typo in the directory name."

9 years agoFix a typo in the directory name.
Nicolas Geoffray [Fri, 12 Jun 2015 13:39:17 +0000 (14:39 +0100)]
Fix a typo in the directory name.

Change-Id: Ie059e61142f9b5c9c6b86550995db14d5706fc9a

9 years agoMerge "Preserve class loading semantics in optimizing."
Nicolas Geoffray [Fri, 12 Jun 2015 12:15:30 +0000 (12:15 +0000)]
Merge "Preserve class loading semantics in optimizing."

9 years agoMerge "Revert "Bring ReferenceTypePropagation to HInvoke return types""
Calin Juravle [Fri, 12 Jun 2015 12:14:12 +0000 (12:14 +0000)]
Merge "Revert "Bring ReferenceTypePropagation to HInvoke return types""

9 years agoRevert "Bring ReferenceTypePropagation to HInvoke return types"
Calin Juravle [Fri, 12 Jun 2015 12:13:43 +0000 (12:13 +0000)]
Revert "Bring ReferenceTypePropagation to HInvoke return types"

We exceed stack frame size with Clang in art::OptimizingCompiler::CompileOptimized

This reverts commit ddedddcedaae78fc6aa29940fdb1fbe40bb05774.

Change-Id: I6f992dda228acb9cae2087d1e6c78f2afdf30050

9 years agoMerge "Revert "Fix a checker test""
Calin Juravle [Fri, 12 Jun 2015 12:13:22 +0000 (12:13 +0000)]
Merge "Revert "Fix a checker test""

9 years agoRevert "Fix a checker test"
Calin Juravle [Fri, 12 Jun 2015 12:13:10 +0000 (12:13 +0000)]
Revert "Fix a checker test"

We exceed stack frame size with Clang in art::OptimizingCompiler::CompileOptimized

This reverts commit 240d84d5b8fbfedef5fee45b490042b9c66bd6f6.

Change-Id: I6a5717682cbc5e6345399da8c1503fd736764ac7

9 years agoMerge "Explicitly give the path of the library to build."
Nicolas Geoffray [Fri, 12 Jun 2015 11:43:05 +0000 (11:43 +0000)]
Merge "Explicitly give the path of the library to build."

9 years agoExplicitly give the path of the library to build.
Nicolas Geoffray [Fri, 12 Jun 2015 11:41:42 +0000 (12:41 +0100)]
Explicitly give the path of the library to build.

Otherwise the build system would not build the 32bit version
for ART 32 bit.

Change-Id: Ie2b48bb94d4fc9ce1a9590c1e8bacd382db16d8c

9 years agoMerge "Optimizing: Remove PcInfo, use the StackMapStream instead."
Vladimir Marko [Fri, 12 Jun 2015 11:06:05 +0000 (11:06 +0000)]
Merge "Optimizing: Remove PcInfo, use the StackMapStream instead."

9 years agoMerge "JDWP: asynchronous invoke command handling"
Sebastien Hertz [Fri, 12 Jun 2015 10:40:56 +0000 (10:40 +0000)]
Merge "JDWP: asynchronous invoke command handling"

9 years agoMerge "Fix a checker test"
Calin Juravle [Fri, 12 Jun 2015 09:59:14 +0000 (09:59 +0000)]
Merge "Fix a checker test"

9 years agoFix a checker test
Calin Juravle [Fri, 12 Jun 2015 09:57:04 +0000 (10:57 +0100)]
Fix a checker test

Change-Id: I47a24352922ab32d4a07d6d32b5126d03c8f497f

9 years agoPreserve class loading semantics in optimizing.
Nicolas Geoffray [Fri, 12 Jun 2015 08:35:05 +0000 (09:35 +0100)]
Preserve class loading semantics in optimizing.

We were being too agressive in removing HLoadClass instructions.
A HInvokeStaticOrDirect can only remove it if it's directly before it.

bug: 21711097
Change-Id: Id63502d90e11da60eccfb46daca62e0d5d022119

9 years agoMerge "Bring ReferenceTypePropagation to HInvoke return types"
Calin Juravle [Fri, 12 Jun 2015 09:38:51 +0000 (09:38 +0000)]
Merge "Bring ReferenceTypePropagation to HInvoke return types"

9 years agoOptimizing: Remove PcInfo, use the StackMapStream instead.
Vladimir Marko [Fri, 12 Jun 2015 09:06:32 +0000 (10:06 +0100)]
Optimizing: Remove PcInfo, use the StackMapStream instead.

Change-Id: I474f3a89f6c7ee5c7accd21791b1c1e311104158

9 years agoMerge "Add libjavacoretests.so to the things to build."
Nicolas Geoffray [Fri, 12 Jun 2015 09:24:30 +0000 (09:24 +0000)]
Merge "Add libjavacoretests.so to the things to build."

9 years agoAdd libjavacoretests.so to the things to build.
Nicolas Geoffray [Fri, 12 Jun 2015 09:23:30 +0000 (10:23 +0100)]
Add libjavacoretests.so to the things to build.

Needed for runing dalvik.system tests.

Change-Id: I6bd08b436bd560bff946586802028ab386bc6ec8

9 years agoMerge "Add dalvik.system to run-libcore-tests.sh"
Nicolas Geoffray [Fri, 12 Jun 2015 07:55:49 +0000 (07:55 +0000)]
Merge "Add dalvik.system to run-libcore-tests.sh"

9 years agoMerge "Don't run 098-ddmc, it's flaky."
Nicolas Geoffray [Fri, 12 Jun 2015 07:46:30 +0000 (07:46 +0000)]
Merge "Don't run 098-ddmc, it's flaky."

9 years agoDon't run 098-ddmc, it's flaky.
Nicolas Geoffray [Fri, 12 Jun 2015 07:38:20 +0000 (08:38 +0100)]
Don't run 098-ddmc, it's flaky.

Change-Id: I3fa559f84b2c3a1ce9b07b8d3a27723dc84b3a3e

9 years agoAdd dalvik.system to run-libcore-tests.sh
Brian Carlstrom [Thu, 11 Jun 2015 14:33:51 +0000 (07:33 -0700)]
Add dalvik.system to run-libcore-tests.sh

Change-Id: I64c5dfb7fbb0c337befb57e2d7bebc14b022cf85

9 years agoMerge "Skip 098-ddmc for GC stress test"
Mathieu Chartier [Fri, 12 Jun 2015 00:59:40 +0000 (00:59 +0000)]
Merge "Skip 098-ddmc for GC stress test"

9 years agoSkip 098-ddmc for GC stress test
Man Cao [Thu, 11 Jun 2015 22:55:43 +0000 (15:55 -0700)]
Skip 098-ddmc for GC stress test

And add comment about the temporary fix in 098-ddmc because of behavior
change for DDMS's getRecentAllocations().

Also fixed a buggy typo in Android.run-test.mk.

Bug: 20037135
Change-Id: Ia57e03f458d8570690616d2cc49f2ead42a96cb0

9 years agoMerge "Fix compaction bug in Class_getDeclaredMethodsUnchecked"
Mathieu Chartier [Fri, 12 Jun 2015 00:16:23 +0000 (00:16 +0000)]
Merge "Fix compaction bug in Class_getDeclaredMethodsUnchecked"

9 years agoFix compaction bug in Class_getDeclaredMethodsUnchecked
Mathieu Chartier [Thu, 11 Jun 2015 23:21:42 +0000 (16:21 -0700)]
Fix compaction bug in Class_getDeclaredMethodsUnchecked

Added handle to fix the bug.

(cherry picked from commit b89a8c66e360575d2dc1ec1229235735c56968ff)

Bug: 21638351
Change-Id: I1c3abea33aa825d3a28c1fc5cb415508686ad93e

9 years agoMerge "Move image intern table into image"
Mathieu Chartier [Thu, 11 Jun 2015 22:20:08 +0000 (22:20 +0000)]
Merge "Move image intern table into image"

9 years agoMove image intern table into image
Mathieu Chartier [Wed, 10 Jun 2015 00:50:29 +0000 (17:50 -0700)]
Move image intern table into image

Previously we recreated this intern table during runtime startup.
This added 50-100ms of boot time.

Fixed bug where we didn't copy over hashcodes into the image.

Deleted some stale code.

(cherry picked from commit fac3a390a247fe33d4873773d742aad4cc100118)

Bug: 20727525
Bug: 19569780
Change-Id: I08959e9aa2a73cedb52f393033e2ffea3a26e76b

9 years agoMerge "Reset GC performance stats at zygote fork."
Hiroshi Yamauchi [Thu, 11 Jun 2015 21:46:50 +0000 (21:46 +0000)]
Merge "Reset GC performance stats at zygote fork."

9 years agoReset GC performance stats at zygote fork.
Hiroshi Yamauchi [Thu, 11 Jun 2015 00:20:54 +0000 (17:20 -0700)]
Reset GC performance stats at zygote fork.

So GCs before a zygote fork won't be attributed to an app.

(cherry pick commit  Ib37bc587e0f039ef8faeabe63dec19de49501863)

Bug: 21491908
Change-Id: Ib37bc587e0f039ef8faeabe63dec19de49501863

9 years agoMerge "Add hprof accounting for Class IMT, VTable"
Mathieu Chartier [Thu, 11 Jun 2015 20:23:23 +0000 (20:23 +0000)]
Merge "Add hprof accounting for Class IMT, VTable"