OSDN Git Service
Chris Larsen [Thu, 10 Mar 2016 17:25:19 +0000 (17:25 +0000)]
Merge "MIPS32: java.lang.Thread, and java.lang.String intrinsics:"
am:
0555c78e50
* commit '
0555c78e5015ea4f9b1c064a5c77eb693f2edbe1':
MIPS32: java.lang.Thread, and java.lang.String intrinsics:
Roland Levillain [Thu, 10 Mar 2016 17:09:37 +0000 (17:09 +0000)]
Merge "MIPS32: java.lang.Thread, and java.lang.String intrinsics:"
Nicolas Geoffray [Thu, 10 Mar 2016 16:56:41 +0000 (16:56 +0000)]
Tweak JIT hotness threshold.
am:
d0562a324d
* commit '
d0562a324d9eb56f69b967f1c4da03019026ff33':
Tweak JIT hotness threshold.
Nicolas Geoffray [Tue, 8 Mar 2016 16:50:21 +0000 (16:50 +0000)]
Tweak JIT hotness threshold.
bug:
23128949
bug:
27398183
Change-Id: Iffde6ba064e54546827cb8fc2a670baedf2e2409
(cherry picked from commit
83f080ac824d0964941c3fbaa957cac874f827b0)
Roland Levillain [Thu, 10 Mar 2016 15:37:48 +0000 (15:37 +0000)]
Merge "Disable some image_test cases with concurrent collector."
am:
59c16a9163
* commit '
59c16a91633cb2268f9a7c052f6a761d711d0184':
Disable some image_test cases with concurrent collector.
Nicolas Geoffray [Thu, 10 Mar 2016 15:31:10 +0000 (15:31 +0000)]
Merge "Tweak JIT hotness threshold."
am:
06bc0f3c07
* commit '
06bc0f3c075b7d38bee0fc74ae15fdd9cefe90ba':
Tweak JIT hotness threshold.
Roland Levillain [Thu, 10 Mar 2016 15:28:34 +0000 (15:28 +0000)]
Merge "Disable some image_test cases with concurrent collector."
Nicolas Geoffray [Thu, 10 Mar 2016 15:25:02 +0000 (15:25 +0000)]
Merge "Tweak JIT hotness threshold."
Roland Levillain [Thu, 10 Mar 2016 15:16:31 +0000 (15:16 +0000)]
Disable some image_test cases with concurrent collector.
The following image_test cases sometimes fail on ART Builbot's
x86 concurrent collector configuration:
- ImageTest.WriteReadUncompressed
- ImageTest.WriteReadLZ4
- ImageTest.WriteReadLZ4HC
Disable them to make the build turn green again, while we
investigate the failures.
Bug:
27578460
Change-Id: I46126e4690e6300e3bfa771c1b6a560272ecb1da
Nicolas Geoffray [Tue, 8 Mar 2016 16:50:21 +0000 (16:50 +0000)]
Tweak JIT hotness threshold.
bug:
23128949
bug:
27398183
Change-Id: Iffde6ba064e54546827cb8fc2a670baedf2e2409
Goran Jakovljevic [Thu, 10 Mar 2016 14:29:22 +0000 (14:29 +0000)]
Merge "MIPS32: Fix test 082-inline-execute"
am:
9e86c579ea
* commit '
9e86c579ea45a209c8fe1cbfbc354e9065990b45':
MIPS32: Fix test 082-inline-execute
Roland Levillain [Thu, 10 Mar 2016 14:29:22 +0000 (14:29 +0000)]
Merge "Fix and enable java.lang.StringFactory intrinsics."
am:
cc7b14da8d
* commit '
cc7b14da8da5fee74e0577edb72c6eee8cabd466':
Fix and enable java.lang.StringFactory intrinsics.
Nicolas Geoffray [Thu, 10 Mar 2016 14:23:35 +0000 (14:23 +0000)]
Merge "MIPS32: Fix test 082-inline-execute"
Roland Levillain [Thu, 10 Mar 2016 14:21:40 +0000 (14:21 +0000)]
Merge "Fix and enable java.lang.StringFactory intrinsics."
Goran Jakovljevic [Tue, 8 Mar 2016 14:26:51 +0000 (15:26 +0100)]
MIPS32: Fix test 082-inline-execute
This is fixing the test when run with --debuggable flag.
Change-Id: Ifd11c28a77f1c6f6fe5951c5c27309187b29d3ee
Nicolas Geoffray [Thu, 10 Mar 2016 10:53:41 +0000 (10:53 +0000)]
Merge "Clear inline caches at each full GC."
am:
e87fe952e9
* commit '
e87fe952e94ae97ebdf84e342d91eeb8b9aef06b':
Clear inline caches at each full GC.
Nicolas Geoffray [Thu, 10 Mar 2016 10:47:57 +0000 (10:47 +0000)]
Merge "Clear inline caches at each full GC."
Andreas Gampe [Thu, 10 Mar 2016 01:56:30 +0000 (01:56 +0000)]
Merge "ART: Fix assumption in class profile collection"
am:
93e46b2a14
* commit '
93e46b2a14050d8f65088ccb44d6fab6c1c46b2c':
ART: Fix assumption in class profile collection
Andreas Gampe [Thu, 10 Mar 2016 01:44:24 +0000 (01:44 +0000)]
Merge "ART: Fix assumption in class profile collection"
Mathieu Chartier [Thu, 10 Mar 2016 00:59:28 +0000 (00:59 +0000)]
Merge "Use PwriteFully and write image header last"
am:
68952cff97
* commit '
68952cff9744b702f2fc67181c50ea76561c58e9':
Use PwriteFully and write image header last
Mathieu Chartier [Thu, 10 Mar 2016 00:51:40 +0000 (00:51 +0000)]
Merge "Use PwriteFully and write image header last"
Mathieu Chartier [Thu, 10 Mar 2016 00:44:49 +0000 (00:44 +0000)]
Merge "Use per character suffix for multi image"
am:
39731ac67b
* commit '
39731ac67b591d84711a34f671a48229933cddc7':
Use per character suffix for multi image
Andreas Gampe [Thu, 10 Mar 2016 00:35:30 +0000 (00:35 +0000)]
Merge "ART: Fix assumption in class profile collection" into nyc-dev
am:
b833ea2d5c
* commit '
b833ea2d5cb2724080e89a6abe7ef57f6f21a6ab':
ART: Fix assumption in class profile collection
Mathieu Chartier [Wed, 9 Mar 2016 19:14:50 +0000 (11:14 -0800)]
Use PwriteFully and write image header last
Prevent corrupted images if dex2oat gets killed or if the image
writer is interrupted during writing.
Bug:
22858531
Bug:
27561308
(cherry picked from commit
dba5a70977da0a28cec2bfc8261d52a177738477)
Change-Id: If4f2c43bcc3cf918b5d2780f1709225b5a4ce116
Mathieu Chartier [Thu, 10 Mar 2016 00:34:23 +0000 (00:34 +0000)]
Merge "Use per character suffix for multi image"
Andreas Gampe [Wed, 9 Mar 2016 23:52:21 +0000 (15:52 -0800)]
ART: Fix assumption in class profile collection
The dex cache may contain erroneous classes. Filter, instead of
DCHECK.
Bug:
27500691
(cherry picked from commit
4309f6129795ade42591b872e44a33cec95f4e79)
Change-Id: Ic99bca3a7e54a5e7893c801ec5ac92cbf690cd67
Andreas Gampe [Thu, 10 Mar 2016 00:18:11 +0000 (00:18 +0000)]
Merge "ART: Fix assumption in class profile collection" into nyc-dev
Mathieu Chartier [Thu, 10 Mar 2016 00:17:56 +0000 (00:17 +0000)]
Use PwriteFully and write image header last
am:
dba5a70977
* commit '
dba5a70977da0a28cec2bfc8261d52a177738477':
Use PwriteFully and write image header last
Mathieu Chartier [Wed, 9 Mar 2016 19:14:50 +0000 (11:14 -0800)]
Use PwriteFully and write image header last
Prevent corrupted images if dex2oat gets killed or if the image
writer is interrupted during writing.
Bug:
22858531
Bug:
27561308
Change-Id: Ia882d23d672f93c90733fc59a1f6508b0985a011
Andreas Gampe [Wed, 9 Mar 2016 23:52:21 +0000 (15:52 -0800)]
ART: Fix assumption in class profile collection
The dex cache may contain erroneous classes. Filter, instead of
DCHECK.
Bug:
27500691
Change-Id: Ic99bca3a7e54a5e7893c801ec5ac92cbf690cd67
Mathieu Chartier [Wed, 9 Mar 2016 19:11:40 +0000 (19:11 +0000)]
Use per character suffix for multi image
am:
05752398db
* commit '
05752398db7f25d7892b62cb39615eee468f1db8':
Use per character suffix for multi image
Mathieu Chartier [Wed, 9 Mar 2016 00:50:20 +0000 (16:50 -0800)]
Use per character suffix for multi image
E.g. if you pull the oat files from the device, you get oat files
with the following names:
system@framework@boot.art
But the name stored in the image header is:
boot.art
So we need to append system@framework@ as a file name prefix to each
image file to get the actual one.
Required for adding oatdump support for app images.
Bug:
22858531
Bug:
27408512
(cherry picked from commit
05752398db7f25d7892b62cb39615eee468f1db8)
Change-Id: Ia6fb34b137c5e285818d39c3b9794cd4ce6c3219
Andreas Gampe [Wed, 9 Mar 2016 17:36:23 +0000 (17:36 +0000)]
Merge "ART: Enable native stack dumping on timeout"
am:
2048b01dfe
* commit '
2048b01dfec8877d672a4da41a158f68b12b5337':
ART: Enable native stack dumping on timeout
Andreas Gampe [Wed, 9 Mar 2016 17:36:23 +0000 (17:36 +0000)]
Merge "ART: Use optimizing compiler in image_test"
am:
fa2cda44cb
* commit '
fa2cda44cb53f01a2bbfd410724a4bc314a236d1':
ART: Use optimizing compiler in image_test
Andreas Gampe [Wed, 9 Mar 2016 17:30:50 +0000 (17:30 +0000)]
Merge "ART: Enable native stack dumping on timeout"
Andreas Gampe [Wed, 9 Mar 2016 17:30:18 +0000 (17:30 +0000)]
Merge "ART: Use optimizing compiler in image_test"
Nicolas Geoffray [Mon, 7 Mar 2016 14:29:04 +0000 (14:29 +0000)]
Clear inline caches at each full GC.
This fixes occasional failures of 141-class-unload.
Also fix a bug where clearing inline caches also cleared the dex
pc associated with it.
bug:
26846185
bug:
23128949
Change-Id: I77bf1dee229d7764c3cc21440829c7fba7b37001
Aart Bik [Wed, 9 Mar 2016 17:24:37 +0000 (17:24 +0000)]
Merge "Implement the 1.8 unsafe memory fences directly in HIR."
am:
ab5b8941f0
* commit '
ab5b8941f095b1a4e8b1387b6f723d6ae550dbe6':
Implement the 1.8 unsafe memory fences directly in HIR.
Andreas Gampe [Fri, 19 Feb 2016 00:53:41 +0000 (16:53 -0800)]
ART: Use optimizing compiler in image_test
Expose some compiler options so we can run the image test with
the optimizing compiler without running into a stack overflow.
Also allow a variable amount of threads in CreateCompilerDriver.
Use 16 as a middle ground on the host to speed up the otherwise
now slowed-down test.
Bug:
27240085
Bug:
27552475
Change-Id: I8db5055d32ae722c8f430903244faa9166cc4886
Aart Bik [Wed, 9 Mar 2016 17:13:34 +0000 (17:13 +0000)]
Merge "Implement the 1.8 unsafe memory fences directly in HIR."
Andreas Gampe [Wed, 9 Mar 2016 16:30:58 +0000 (16:30 +0000)]
Merge "ART: Fix missing include"
am:
ef0119a0f3
* commit '
ef0119a0f329906ba1e8cbd8e53ce5a759fd4f99':
ART: Fix missing include
Vladimir Marko [Wed, 9 Mar 2016 16:27:00 +0000 (16:27 +0000)]
Merge "ART: Write bit fields together in ComputeSpecialAccessorInfo()."
am:
19749b5fd0
* commit '
19749b5fd0e217d23af4c3e996348e2a8ff406bc':
ART: Write bit fields together in ComputeSpecialAccessorInfo().
Andreas Gampe [Wed, 9 Mar 2016 16:23:41 +0000 (16:23 +0000)]
Merge "ART: Fix missing include"
Vladimir Marko [Wed, 9 Mar 2016 16:16:49 +0000 (16:16 +0000)]
Merge "ART: Write bit fields together in ComputeSpecialAccessorInfo()."
Roland Levillain [Wed, 9 Mar 2016 16:14:00 +0000 (16:14 +0000)]
Fix and enable java.lang.StringFactory intrinsics.
The following intrinsics were not considered by the
intrinsics recognizer:
- StringNewStringFromBytes
- StringNewStringFromChars
- StringNewStringFromString
This CL enables them and add tests for them.
This CL also:
- Fixes the locations of the ARM64 & MIPS64
StringNewStringFromString intrinsics.
- Fixes the definitions of the FOUR_ARG_DOWNCALL macros on
ARM and x86, which are used to implement the
art_quick_alloc_string_from_bytes* runtime entry points.
- Fixes PC info (stack maps) recording in the
StringNewStringFromBytes, StringNewStringFromChars and
StringNewStringFromString ARM, ARM64 & MIPS64 intrinsics.
Bug:
27425743
Change-Id: I38c00d3f0b2e6b64f7d3fe9146743493bef9e45c
Nicolas Geoffray [Wed, 9 Mar 2016 15:57:39 +0000 (15:57 +0000)]
Merge "Stop oat loading spam on host."
am:
702ace09bf
* commit '
702ace09bf0fc869740482efe7c3e0db7a81894f':
Stop oat loading spam on host.
Nicolas Geoffray [Wed, 9 Mar 2016 15:46:58 +0000 (15:46 +0000)]
Merge "Stop oat loading spam on host."
Nicolas Geoffray [Wed, 9 Mar 2016 15:36:23 +0000 (15:36 +0000)]
Stop oat loading spam on host.
Change-Id: I336669f49bfbfc76bb5e9d3b4f1738709e070b27
David Srbecky [Wed, 9 Mar 2016 15:12:02 +0000 (15:12 +0000)]
Merge "Mark DWARF lines in non-debuggable methods as "not a statement"."
am:
b24457bace
* commit '
b24457bace8941392a4aeef5a7995bfd80daa235':
Mark DWARF lines in non-debuggable methods as "not a statement".
David Srbecky [Wed, 9 Mar 2016 15:05:50 +0000 (15:05 +0000)]
Merge "Mark DWARF lines in non-debuggable methods as "not a statement"."
Vladimir Marko [Wed, 9 Mar 2016 13:45:39 +0000 (13:45 +0000)]
ART: Write bit fields together in ComputeSpecialAccessorInfo().
Avoid function calls between storing individual bit fields
to allow the compiler (gcc/clang) to merge those writes
together. Valgrind then marks the memory as "defined" while
individual bit field writes would leave it "undefined" and
later trigger the valgrind error:
Conditional jump or move depends on uninitialised value(s)
on DCHECK()s using the bit fields.
Bug:
27552451
Change-Id: If6de5cbe231f99da0f974a0fc9a36c14e3dc071e
Calin Juravle [Wed, 9 Mar 2016 12:03:09 +0000 (12:03 +0000)]
Merge "Handle unexpected cases in profile saver"
am:
5bdcdca7e4
* commit '
5bdcdca7e4b3acc1ed8a7112a93c3f2da490b606':
Handle unexpected cases in profile saver
Update GetDexOptNeeded to handle different levels of compilation
Record foreign dex files loaded by the app in the profile
Calin Juravle [Wed, 9 Mar 2016 11:57:54 +0000 (11:57 +0000)]
Merge "Handle unexpected cases in profile saver"
Calin Juravle [Wed, 9 Mar 2016 11:57:36 +0000 (11:57 +0000)]
Merge "Update GetDexOptNeeded to handle different levels of compilation"
Calin Juravle [Wed, 9 Mar 2016 11:57:23 +0000 (11:57 +0000)]
Merge "Record foreign dex files loaded by the app in the profile"
Roland Levillain [Wed, 9 Mar 2016 11:31:24 +0000 (11:31 +0000)]
Merge "Ignore 145-alloc-tracking-stress failures with JIT and CC."
am:
a9778b24bf
* commit '
a9778b24bfb8007f20caff7a082e8b4531a14dae':
Ignore 145-alloc-tracking-stress failures with JIT and CC.
Roland Levillain [Wed, 9 Mar 2016 11:24:33 +0000 (11:24 +0000)]
Merge "Ignore 145-alloc-tracking-stress failures with JIT and CC."
Roland Levillain [Wed, 9 Mar 2016 11:18:02 +0000 (11:18 +0000)]
Ignore 145-alloc-tracking-stress failures with JIT and CC.
This run-test fails also with JIT compiling on the
concurrent collector configuration; disable it for now.
Bug:
27467554
Change-Id: I551008ff5b70c83706287039092f5c9e26584227
Andreas Gampe [Wed, 9 Mar 2016 04:29:49 +0000 (20:29 -0800)]
ART: Enable native stack dumping on timeout
To better investigate timeout in tests, allow dumping of native
stacks.
Bug:
27508829
Change-Id: Icf5420cde386cd80a1f45400c86545c89b1e2cc2
Mathieu Chartier [Wed, 9 Mar 2016 00:50:20 +0000 (16:50 -0800)]
Use per character suffix for multi image
E.g. if you pull the oat files from the device, you get oat files
with the following names:
system@framework@boot.art
But the name stored in the image header is:
boot.art
So we need to append system@framework@ as a file name prefix to each
image file to get the actual one.
Required for adding oatdump support for app images.
Bug:
22858531
Bug:
27408512
Change-Id: I93dd3f16652400f232e6175670fcd572395879e0
Hiroshi Yamauchi [Wed, 9 Mar 2016 00:06:51 +0000 (00:06 +0000)]
Merge "Fix valgrind errors with MemMap::Sync()."
am:
c71cc35661
* commit '
c71cc356618b96a215614bc9a89f9429a792efba':
Fix valgrind errors with MemMap::Sync().
Andreas Gampe [Wed, 9 Mar 2016 00:00:41 +0000 (16:00 -0800)]
ART: Fix missing include
The SwitchTable needs a function from an inl file.
Change-Id: I624d71e0c0efc0c87150d7ef3be71e0b4506c75a
Hiroshi Yamauchi [Tue, 8 Mar 2016 23:59:49 +0000 (23:59 +0000)]
Merge "Fix valgrind errors with MemMap::Sync()."
Hiroshi Yamauchi [Tue, 8 Mar 2016 23:17:21 +0000 (15:17 -0800)]
Fix valgrind errors with MemMap::Sync().
This fixes valgrind-test-art-host-gtest-oat_test and one error in
valgrind-test-art-host-gtest-image_test32.
Valgrind doesn't like it if an address range that contains noaccess or
uninitialized memory is passed to msync(). Temporarily lift the noaccess
protection of the lower-end redzone because msync accepts a page-aligned
base address only and exclude the higher-end noaccess redzone from the
range.
Bug:
27552451
Bug:
27384445
Change-Id: I8ccbd04c62eb30f6c6d5c732f1eb254fa09a417a
Mathieu Chartier [Tue, 8 Mar 2016 22:11:41 +0000 (22:11 +0000)]
Delete alloc tracking map outside of critical section
am:
35fd969d66
* commit '
35fd969d663f8f89ecdbdb14e52e4f03e37d3f86':
Delete alloc tracking map outside of critical section
Mathieu Chartier [Tue, 8 Mar 2016 22:11:30 +0000 (22:11 +0000)]
Fix allocation tracking race
am:
68d4c069f2
* commit '
68d4c069f2920897cad2870a2257ed7af3c1db96':
Fix allocation tracking race
Mathieu Chartier [Wed, 2 Mar 2016 20:52:37 +0000 (12:52 -0800)]
Delete alloc tracking map outside of critical section
There can be lock order violations otherwise due to runtime shutdown
lock that may get acquired in the condition variable destructor.
Bug:
27506909
(cherry picked from commit
0b8b4a609120b90081d898dbf3c26f68fe80de96)
Change-Id: I6972c450db8856e30c13e27aea94b01943618f64
Mathieu Chartier [Tue, 23 Feb 2016 18:37:32 +0000 (10:37 -0800)]
Fix allocation tracking race
Need to instrument the stubs before calling
Heap::SetAlloctrackingEnabled or else we can get this DCHECK failing
DCHECK(!IsAllocTrackingEnabled())
Bug:
27506909
(cherry picked from commit
16e51beb9a771ffe7be833173e3dd5f2dac63892)
Change-Id: I45d6f716ed55371d41e7b7673209166401dbc62e
Aart Bik [Tue, 8 Mar 2016 20:42:25 +0000 (12:42 -0800)]
Implement the 1.8 unsafe memory fences directly in HIR.
Rationale:
More efficient since it exposes full semantics to
all operations on the graph and allows for proper
code generation for all architectures.
bug=
26264765
Change-Id: Ic435886cf0645927a101a8502f0623fa573989ff
Chris Larsen [Wed, 20 Jan 2016 00:45:35 +0000 (16:45 -0800)]
MIPS32: java.lang.Thread, and java.lang.String intrinsics:
- Thread java.lang.Thread.currentThread()
- int java.lang.String.compareTo(String anotherString)
- int java.lang.String.indexOf(int ch)
- int java.lang.String.indexOf(int ch, int fromIndex)
- java.lang.StringFactory.newStringFromBytes(byte[] data,
int high,
int offset,
int byteCount)
- java.lang.StringFactory.newStringFromChars(int offset,
int charCount,
char[] data)
- java.lang.StringFactory.newStringFromString(String toCopy)
Change-Id: I96a06ff81e1e3bf18d45760282356854efaf4945
Andreas Gampe [Tue, 8 Mar 2016 18:27:59 +0000 (18:27 +0000)]
Merge "ART: Use the right ElfBuilder for oatdump symbolizer" am:
2f6ad55a3b
am:
6e1564cfdf
* commit '
6e1564cfdf4f6b332ee6d156de6ff9712655fff6':
ART: Use the right ElfBuilder for oatdump symbolizer
Andreas Gampe [Tue, 8 Mar 2016 18:26:02 +0000 (18:26 +0000)]
Merge "ART: Use the right ElfBuilder for oatdump symbolizer"
am:
2f6ad55a3b
* commit '
2f6ad55a3bfa16867146233e1eb8b822b1daab4b':
ART: Use the right ElfBuilder for oatdump symbolizer
David Srbecky [Tue, 8 Mar 2016 18:15:20 +0000 (18:15 +0000)]
Merge "ART: Use the right ElfBuilder for oatdump symbolizer"
Calin Juravle [Tue, 8 Mar 2016 12:52:52 +0000 (12:52 +0000)]
Handle unexpected cases in profile saver
There are some unexpected cases that should not occur in a normal run.
Log warnings but avoid crashing if:
- dex location is empty
- we cannot figure the real paths of the locations.
Bug:
27532729
(cherry picked from commit
1fae45f7d777e3971b916dda531c8648304866c8)
Change-Id: I9e8f4fc2da49f47dab113795ac264c6db9b691de
Calin Juravle [Thu, 18 Feb 2016 18:47:37 +0000 (18:47 +0000)]
Update GetDexOptNeeded to handle different levels of compilation
extract-only or profile-guide oat files are considered up to date from
runtime perspective as they don't necessary need (re)compilation or
relocation. However, it is useful to return a more refined code to the
caller so that they can decide whether or not that's good enough.
For example, the package manager might decide to still compile a
previous extract-only and during profile guide compilation we should
always recompile even if we have an oat file.
Note that dex files compiled via ClassLoaders will still be fully
compiled.
This change introduces:
- a new key in the oat header kCompilationType to capture what type of
compilation has been made. Note tha the key might be missing. The
distinction is needed in order to avoid recompilation of a previous
fully compiled file during profile guide compilation analysis.
- a new argument to GetDexOptNeeded which tells the runtime to cast its
opinion whether or not the oat file is up to date relative to the
desired target type of compilation.
Bug:
27189430
(cherry picked from commit
d91b8a2464b99625efe03caf7d30c8372bc378ed)
Change-Id: I6ce450350f388451f7bab7d285c1846d539a4b13
David Srbecky [Mon, 7 Mar 2016 16:13:58 +0000 (16:13 +0000)]
Mark DWARF lines in non-debuggable methods as "not a statement".
This is a hint to the debugger that breakpoints and stepping
might not function as intended (since we have limited information).
Change-Id: I23c4a816182cc7548fcd69fbd00112225e7b1710
Andreas Gampe [Tue, 8 Mar 2016 00:31:34 +0000 (16:31 -0800)]
ART: Use the right ElfBuilder for oatdump symbolizer
We should not unconditionally output 32-bit ELF files.
Bug:
27293423
Change-Id: Ibbb74a7807b24c46cb23d7b5867936569424e8fe
David Srbecky [Tue, 8 Mar 2016 15:03:44 +0000 (15:03 +0000)]
Merge "Propagate InstructionSetFeatures to ElfBuilder." am:
ce51701b06
am:
817808ea9d
* commit '
817808ea9d06b979c95f37a17bca607d0b42f320':
Propagate InstructionSetFeatures to ElfBuilder.
David Srbecky [Tue, 8 Mar 2016 15:01:47 +0000 (15:01 +0000)]
Merge "Propagate InstructionSetFeatures to ElfBuilder."
am:
ce51701b06
* commit '
ce51701b0621754a81125df3ed62e07c0497cafd':
Propagate InstructionSetFeatures to ElfBuilder.
Sebastien Hertz [Tue, 8 Mar 2016 15:00:23 +0000 (15:00 +0000)]
Merge "Support multidex run-test with Jack" into nyc-dev
am:
c721f65d8d
* commit '
c721f65d8df3a6021c4e248feba56fa36f7f640f':
Support multidex run-test with Jack
Sebastien Hertz [Tue, 8 Mar 2016 15:00:08 +0000 (15:00 +0000)]
Merge "More run-test with Jack" into nyc-dev
am:
13db05c735 -s ours
* commit '
13db05c7356d5697a4f39e9edaacd0bd570871a6':
More run-test with Jack
David Srbecky [Tue, 8 Mar 2016 14:58:40 +0000 (14:58 +0000)]
Merge "Propagate InstructionSetFeatures to ElfBuilder."
Sebastien Hertz [Tue, 8 Mar 2016 14:03:31 +0000 (14:03 +0000)]
Merge "Support multidex run-test with Jack" into nyc-dev
Sebastien Hertz [Tue, 8 Mar 2016 14:03:08 +0000 (14:03 +0000)]
Merge "More run-test with Jack" into nyc-dev
Narayan Kamath [Tue, 8 Mar 2016 13:56:11 +0000 (13:56 +0000)]
Merge "Revert "Suppress ArrayDequeTest#testForEachRemaining temporarily."" am:
60a765f678
am:
70f2fcaaff
* commit '
70f2fcaaff5b5fa40e40e850be0682978b42808d':
Revert "Suppress ArrayDequeTest#testForEachRemaining temporarily."
Narayan Kamath [Tue, 8 Mar 2016 13:54:15 +0000 (13:54 +0000)]
Merge "Revert "Suppress ArrayDequeTest#testForEachRemaining temporarily.""
am:
60a765f678
* commit '
60a765f6781a59d782ebcf99691aa614b6e610d3':
Revert "Suppress ArrayDequeTest#testForEachRemaining temporarily."
Narayan Kamath [Tue, 8 Mar 2016 13:50:37 +0000 (13:50 +0000)]
Merge "Revert "Suppress ArrayDequeTest#testForEachRemaining temporarily.""
Narayan Kamath [Mon, 7 Mar 2016 10:57:34 +0000 (10:57 +0000)]
Revert "Suppress ArrayDequeTest#testForEachRemaining temporarily."
This reverts commit
98c38e34357a73c46ad7a735dd23da0ba29a2963.
Fixed by commit
3de87b847fa94cce9beaf5b225404c1bc7ec475f.
Change-Id: If38f1e67dd8504055236bb8a9703d8c2eb61d16c
David Srbecky [Tue, 8 Mar 2016 13:21:22 +0000 (13:21 +0000)]
Propagate InstructionSetFeatures to ElfBuilder.
This is subset of CL171665 and it separates it into two.
It will be needed to generate .MIPS.abiflags ELF section.
Change-Id: I5557e7cb98d0fa1dc57c85cf6161e119c6d50a1a
Calin Juravle [Tue, 8 Mar 2016 13:38:25 +0000 (13:38 +0000)]
Merge "Handle unexpected cases in profile saver" into nyc-dev
am:
26851843f3
* commit '
26851843f38e3d5c1e418fdfdc785a2bae3f3486':
Handle unexpected cases in profile saver
Calin Juravle [Tue, 8 Mar 2016 13:32:08 +0000 (13:32 +0000)]
Merge "Handle unexpected cases in profile saver" into nyc-dev
Calin Juravle [Tue, 8 Mar 2016 12:52:52 +0000 (12:52 +0000)]
Handle unexpected cases in profile saver
There are some unexpected cases that should not occur in a normal run.
Log warnings but avoid crashing if:
- dex location is empty
- we cannot figure the real paths of the locations.
Bug:
27532729
Change-Id: I2c9ee8d616378d1d6f771b071f61321a2916ce27
Roland Levillain [Tue, 8 Mar 2016 11:48:46 +0000 (11:48 +0000)]
Merge "Re-enable test that was causing TimeoutExceptions on ARM64." am:
dddb767f59
am:
a06c72e2d8
* commit '
a06c72e2d80195f35ddf2f83d975dd20112ceab4':
Re-enable test that was causing TimeoutExceptions on ARM64.
Roland Levillain [Tue, 8 Mar 2016 11:46:47 +0000 (11:46 +0000)]
Merge "Re-enable test that was causing TimeoutExceptions on ARM64."
am:
dddb767f59
* commit '
dddb767f59bd67bb9c3d4c38916f64a71f060e40':
Re-enable test that was causing TimeoutExceptions on ARM64.
Roland Levillain [Tue, 8 Mar 2016 11:42:24 +0000 (11:42 +0000)]
Merge "Re-enable test that was causing TimeoutExceptions on ARM64."
Roland Levillain [Tue, 8 Mar 2016 11:22:02 +0000 (11:22 +0000)]
Re-enable test that was causing TimeoutExceptions on ARM64.
The libcore test libcore.java.lang.OldSystemTest#test_gc has
been failing with a java.util.concurrent.TimeoutException on
ART Builbot's ARM64 concurrent collector configuration. No
longer ignore this failure to see whether recent changes
(namely https://android-review.googlesource.com/#/c/204125)
fixed the issue.
Bug:
26155567
Change-Id: I5cd3c3956cfd510bab1cb9d3b9479560f9703e6d
Sebastien Hertz [Thu, 3 Mar 2016 17:08:17 +0000 (18:08 +0100)]
Support multidex run-test with Jack
Updates default-build script to compile multidex run-tests with
Jack. Such test needs a 'multidex.jpp' file specifying how to
partition classes in the output dex files (mainly how to stick some
classes in the classes.dex file and others in a classes2.dex file).
Bug:
19467889
(cherry picked from commit
4856ca7f652b889c176a2af747d5cc4b334fc1c6)
Change-Id: I056d49d50f62f9fadbc6749fb4b185d5bb3dea12
Sebastien Hertz [Mon, 29 Feb 2016 15:54:16 +0000 (16:54 +0100)]
More run-test with Jack
Updates the following tests
* 004-ReferenceMap: updates expectations
* 004-StackWalk: updates expectations
* 089-many-methods: updates expectations
* 138-duplicate-classes-check2: add Jack support
* 454-get-vreg: updates expectations
Bug:
19467889
(cherry picked from commit
c94ff128d770f5126d7685972b95a789c0b55cb0)
Change-Id: Ie9927201e45046d4b89a4b028d0844bf25831d0b
Mathieu Chartier [Tue, 8 Mar 2016 07:41:24 +0000 (07:41 +0000)]
Merge "Fix lock order violation" am:
943a70f416
am:
c94119227a -s ours
* commit '
c94119227a955c9db9582cdd1d5efab0e05a0b90':
Fix lock order violation
Hiroshi Yamauchi [Tue, 8 Mar 2016 04:19:13 +0000 (04:19 +0000)]
Merge "Try to reenable some libcore tests with CC." am:
4015a34900
am:
c1c4f73141
* commit '
c1c4f7314119043e796881599865f63f6363216c':
Try to reenable some libcore tests with CC.