OSDN Git Service
Richard Uhler [Wed, 14 Jan 2015 16:00:55 +0000 (16:00 +0000)]
Merge "Use unique_ptr to track ownership of dex files."
Nicolas Geoffray [Wed, 14 Jan 2015 14:49:38 +0000 (14:49 +0000)]
Merge "Remove constant moves after emitting them in parallel resolver."
Nicolas Geoffray [Wed, 14 Jan 2015 10:45:05 +0000 (10:45 +0000)]
Remove constant moves after emitting them in parallel resolver.
This fixes the case where a constant move requires a scratch
register. Note that there is no backend that needs this for now,
but X86 might with the move to hard float.
Change-Id: I37f6b8961b48f2cf6fbc0cd281e70d58466d018e
Vladimir Marko [Wed, 14 Jan 2015 10:56:30 +0000 (10:56 +0000)]
Merge "Fix wide volatile IGET/IPUT on ARM without atomic ldrd/strd."
Nicolas Geoffray [Wed, 14 Jan 2015 10:31:28 +0000 (10:31 +0000)]
Merge "Implement ParallelMoveResolver::Swap for doubles on arm."
Nicolas Geoffray [Tue, 13 Jan 2015 18:04:41 +0000 (18:04 +0000)]
Implement ParallelMoveResolver::Swap for doubles on arm.
Currently reserve a global register DTMP for these operations.
Change-Id: Ie88b4696af51834492fd062082335bc2e1137be2
Vladimir Marko [Tue, 13 Jan 2015 17:34:28 +0000 (17:34 +0000)]
Fix wide volatile IGET/IPUT on ARM without atomic ldrd/strd.
If ldrd/strd isn't atomic, IPUT_WIDE uses ldrexd+strexd and
we need to record the safepoint for the ldrexd rather than
strexd. IGET_WIDE was simply missing the memory barrier.
Bug:
18993519
Change-Id: I4e9270b994f413c1a047c1c4bb9cce5f29e42cb4
Nicolas Geoffray [Wed, 14 Jan 2015 09:41:29 +0000 (09:41 +0000)]
Merge "Remove whitespace."
Nicolas Geoffray [Wed, 14 Jan 2015 09:40:32 +0000 (09:40 +0000)]
Remove whitespace.
Change-Id: I82f51cff87765a3aeeb861d2ae64978f2e762c73
Nicolas Geoffray [Wed, 14 Jan 2015 09:27:13 +0000 (09:27 +0000)]
Merge "Skip r1 on arm if first parameter is a long."
Sebastien Hertz [Wed, 14 Jan 2015 08:37:47 +0000 (08:37 +0000)]
Merge "JDWP: fix deadlock with GC"
Sebastien Hertz [Wed, 14 Jan 2015 08:37:37 +0000 (08:37 +0000)]
Merge "Fix bootclasspath string initialization"
Andreas Gampe [Wed, 14 Jan 2015 06:17:41 +0000 (06:17 +0000)]
Merge "ART: Fix mips typo"
Andreas Gampe [Wed, 14 Jan 2015 06:16:40 +0000 (22:16 -0800)]
ART: Fix mips typo
Use the supplied memcmp16 assembly implementation.
Change-Id: I5a7d0b4d8c39cfbbc99720e151fd99d79cdbe0c4
Andreas Gampe [Wed, 14 Jan 2015 06:07:54 +0000 (06:07 +0000)]
Merge "ART: Only give Clang warning when Clang is active"
Andreas Gampe [Wed, 14 Jan 2015 05:47:25 +0000 (05:47 +0000)]
Merge "ART: Introduce Mips32 R6"
Andreas Gampe [Wed, 14 Jan 2015 00:41:53 +0000 (16:41 -0800)]
ART: Introduce Mips32 R6
Add an instruction-set feature for Mips R6. Currently restricted
to the interpreter.
Change-Id: Ic6d888e135bc87340229a0543dd94d0c1e863edd
Andreas Gampe [Wed, 14 Jan 2015 02:12:36 +0000 (18:12 -0800)]
ART: Only give Clang warning when Clang is active
Do not pollute output with Clang warning if we were supposed to
compile with Clang.
Change-Id: I1ee764dcfe0581e09a350cb01fdf0ba06dd18b56
Andreas Gampe [Wed, 14 Jan 2015 01:39:53 +0000 (01:39 +0000)]
Merge "ART: Hprof cleanup"
Richard Uhler [Tue, 23 Dec 2014 17:48:51 +0000 (09:48 -0800)]
Use unique_ptr to track ownership of dex files.
Bug:
18809837
Change-Id: Ie571eae8fc19ee9207390cff5c7e2a38071b126a
Andreas Gampe [Wed, 14 Jan 2015 00:26:20 +0000 (00:26 +0000)]
Merge "ART: Use jalr instead of jr for Mips"
Sebastien Hertz [Tue, 13 Jan 2015 21:48:34 +0000 (22:48 +0100)]
JDWP: fix deadlock with GC
This CL fixes a deadlock where JDWP thread and running GC thread are
waiting for each other. Here is the sequence of the deadlock:
1. GC thread disables access to weak global references, then releases
mutator lock.
2. JDWP thread takes mutator lock exclusively after suspending all
threads.
3. GC thread waits for shared mutator lock which is held by JDWP
thread.
4. JDWP thread clears weak global references but need to wait for GC
thread to re-enable access to them.
To avoid that situation, we ensure the JDWP thread does not attempt
to delete weak global references while holding the mutator
exclusively so GC thread is not blocked.
Bug:
18995321
Change-Id: Ia7e82f463c27ffdcfd730c3117337a6a33d111e7
Sebastien Hertz [Tue, 13 Jan 2015 09:10:40 +0000 (10:10 +0100)]
Fix bootclasspath string initialization
When running the runtime with an image without explicitly specifying
the bootclasspath (with the -Xbootclasspath option), we construct it
from the location of DEX files loaded from the image.
This allows to fix the JDWP test ClassPathsTest#testClassPaths001 on
the host where the bootclasspath is not explicitly specified on the
command line.
Bug:
18812378
Change-Id: I726eafd8b9e59dc9513beeb7082cf086fe89c4b1
Andreas Gampe [Tue, 13 Jan 2015 19:32:32 +0000 (11:32 -0800)]
ART: Use jalr instead of jr for Mips
Use the jalr instruction instead of jr in stubs and compiled code.
Change-Id: Idacc5167a5bb0113dc2e7716e4767e5ed07b5e0b
Hiroshi Yamauchi [Tue, 13 Jan 2015 19:21:10 +0000 (19:21 +0000)]
Merge "Follow up on CL 122665."
Hiroshi Yamauchi [Mon, 12 Jan 2015 20:11:05 +0000 (12:11 -0800)]
Follow up on CL 122665.
We now do the two-step memory protection strategy (first protect the
from space with PROT_READ and later protect it with PROT_NONE) only if
the from space is a rosalloc space (excluding the more common bump
pointer space case). This strengthens the GC verification for the bump
pointer space case as we avoid the case where mutators run while the
from space is PROT_READ rather than PROT_NONE.
Add a command line flag to override the minimum interval for the
hspace compaction for OOM and set it to zero in the gcstress/gcverify
run-tests to run the hspace compaction more frequently in tests.
Fix some comments.
Bug:
18960494
Change-Id: I518b011e026f578e53c4ec269cfb82865b0fae68
Andreas Gampe [Tue, 13 Jan 2015 19:11:25 +0000 (19:11 +0000)]
Merge "Revert "ART: dex2oat flag for HGraphVisualizer dump file""
Andreas Gampe [Tue, 13 Jan 2015 19:11:14 +0000 (19:11 +0000)]
Revert "ART: dex2oat flag for HGraphVisualizer dump file"
Breaks compilation of tests.
This reverts commit
54953dfdcb3bb8896d8af2d20adef84fb740ce77.
Change-Id: I868b876c3130be61f1169c5fccdffc0368bee11e
David Brazdil [Tue, 13 Jan 2015 18:31:51 +0000 (18:31 +0000)]
Merge "ART: dex2oat flag for HGraphVisualizer dump file"
Nicolas Geoffray [Tue, 13 Jan 2015 11:42:13 +0000 (11:42 +0000)]
Skip r1 on arm if first parameter is a long.
Change-Id: I16d927ee0a0b55031ade4c92c0095fd74e18ed5b
David Brazdil [Tue, 13 Jan 2015 18:07:00 +0000 (18:07 +0000)]
ART: dex2oat flag for HGraphVisualizer dump file
This patch adds a new flag to dex2oat which allows to specify the
name of the file that HGraphVisualizer will store its output into.
Until now the graph was dumped to "art.cfg" in the current working
directory. To make Checker work with run-test, the output directory
needs to be customizable.
Change-Id: I395c518b987e594e89e5e80f202a96befa41ac20
Andreas Gampe [Sat, 10 Jan 2015 08:26:17 +0000 (00:26 -0800)]
ART: Hprof cleanup
Refactor things a bit to make it easier to stream.
Add a simple test that dumps the heap and runs hprov-conf on it.
Change-Id: I79a9ad37d4cf41fa8d63d039586aa80394d96005
Mathieu Chartier [Mon, 12 Jan 2015 22:26:25 +0000 (22:26 +0000)]
Merge "Fix error in JobjectComparator"
Mathieu Chartier [Mon, 12 Jan 2015 22:24:14 +0000 (14:24 -0800)]
Fix error in JobjectComparator
Was comparing class hash code vs object hash code.
Change-Id: I6427809876462100249809b6f9c5e996c0741cf1
Vladimir Marko [Mon, 12 Jan 2015 18:21:37 +0000 (18:21 +0000)]
Merge "Revert "ART: Implement hard float for X86""
Vladimir Marko [Mon, 12 Jan 2015 18:21:07 +0000 (18:21 +0000)]
Revert "ART: Implement hard float for X86"
This reverts commit
59b9cf7ec0ccc13df91be0bd5c723b8c52410739.
Change-Id: I08333b528032480def474286dc368d916a07e17f
Vladimir Marko [Mon, 12 Jan 2015 18:19:45 +0000 (18:19 +0000)]
Merge "ART: Implement hard float for X86"
Mark Mendell [Fri, 9 Jan 2015 19:44:36 +0000 (14:44 -0500)]
ART: Implement hard float for X86
Use XMM0-XMM3 as parameter registers for float/double on X86. X86_64
already uses XMM0-XMM7 for parameters.
Change the 'hidden' argument register from XMM0 to XMM7 to avoid a
conflict.
This change was requested to simplify the Optimizing compiler
implementation.
Change-Id: I89ba8ade99b9a8a5b1ad1ee5f5cbfd33d656bfaa
Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
Nicolas Geoffray [Mon, 12 Jan 2015 14:10:24 +0000 (14:10 +0000)]
Merge "Fix handling of long argument spanning register/memory."
Nicolas Geoffray [Thu, 8 Jan 2015 14:52:29 +0000 (14:52 +0000)]
Fix handling of long argument spanning register/memory.
Comment in arm_lir.h says:
* If a 64-bit argument would span the register/memory argument
* boundary, it will instead be fully passed in the frame.
This change implements such logic for all platforms. We still need
to pass the low part in register as well because I haven't ported
the jni compilers (x86 and mips) to it.
Once the jni compilers are updated, we can remove the register
assignment.
Note that this greatly simplifies optimizing's register allocator
by not having to understand a long spanning register and memory.
Change-Id: I59706ca5d47269fc46e5489ac99bd6576e87e7f3
Nicolas Geoffray [Mon, 12 Jan 2015 10:46:18 +0000 (10:46 +0000)]
Merge "Move code around in OptimizingCompiler::Compile to reduce stack space."
Nicolas Geoffray [Fri, 9 Jan 2015 14:53:50 +0000 (14:53 +0000)]
Move code around in OptimizingCompiler::Compile to reduce stack space.
Also fix an (intentional) memory leak, by allocating the CodeGenerator
on the heap instead of the arena: they construct an Assembler object
that requires destruction.
BUG:
18787334
Change-Id: I8cf0667cb70ce5b14d4ac334bd4487a562635f1b
Sebastien Hertz [Mon, 12 Jan 2015 08:14:54 +0000 (08:14 +0000)]
Merge "JDWP: allow VirtualMachine.Resume on partial suspension"
David Brazdil [Sat, 10 Jan 2015 02:42:33 +0000 (02:42 +0000)]
Merge "ART: Fixed subsequent CHECK-NOTs Checker bug"
Andreas Gampe [Sat, 10 Jan 2015 02:06:04 +0000 (02:06 +0000)]
Merge "ART: Increase dump checkpoint timeout on the host"
Hiroshi Yamauchi [Sat, 10 Jan 2015 01:58:16 +0000 (01:58 +0000)]
Merge "[WIP] Fix a rosalloc verification crash."
Andreas Gampe [Sat, 10 Jan 2015 01:54:51 +0000 (17:54 -0800)]
ART: Increase dump checkpoint timeout on the host
Increase the dump checkpoint timeout on the host, as addr2line is
used and may put more strain onto the system.
Bug:
18964791
Change-Id: I9c1e9c1289fddfce25854e4425194882628bcf21
Hiroshi Yamauchi [Sat, 10 Jan 2015 01:48:00 +0000 (17:48 -0800)]
[WIP] Fix a rosalloc verification crash.
Bug:
18960494
Change-Id: Ia7a11f06b3fc8207f6304ae881539251d6b1de24
Elliott Hughes [Fri, 9 Jan 2015 23:23:36 +0000 (23:23 +0000)]
Merge "Clean up some #ifdefs."
Elliott Hughes [Fri, 9 Jan 2015 23:16:16 +0000 (15:16 -0800)]
Clean up some #ifdefs.
Only the Mac doesn't have POSIX clocks. (And it still doesn't, a decade
later.)
glibc gained pthread_setname_np in 2.12.
Only the Mac doesn't have prctl.
Change-Id: I218e409f7e133736e15fb68e8a254cdc5799d667
Andreas Gampe [Fri, 9 Jan 2015 23:13:30 +0000 (23:13 +0000)]
Merge "ART: Fix prefix issues in Addr2line dump"
Andreas Gampe [Fri, 9 Jan 2015 23:05:46 +0000 (15:05 -0800)]
ART: Fix prefix issues in Addr2line dump
The code incorrectly wrote the prefix twice for overly long lines.
Bug:
18933933
Change-Id: I4bc7c2cde435bd966276ca2dae6a5d060aa2d0f3
Mathieu Chartier [Fri, 9 Jan 2015 23:05:08 +0000 (23:05 +0000)]
Merge "Change hprof to use streaming"
Mathieu Chartier [Fri, 9 Jan 2015 00:28:08 +0000 (16:28 -0800)]
Change hprof to use streaming
Previously, we compute the whole hprof dump in memory resulting in
> 50MB of memory usage for some apps (such as maps). This could
cause the app to get killed by the low memory killer.
The solution works by doing the dump in 2 passes.
The first pass calculates the size of the dump.
The second pass starts by sending the DDMS header with the correct
size, then does the rest of the hprof dump by streaming and sending
data one HprofRecord at a time.
Bug:
18921793
Change-Id: I7dd9f5cfe49799ba268095c994a8c2eb1fe493df
David Brazdil [Fri, 9 Jan 2015 19:21:16 +0000 (19:21 +0000)]
Merge "ART: Added comments, fixed typos in Checker"
David Brazdil [Wed, 7 Jan 2015 21:19:50 +0000 (21:19 +0000)]
ART: Added comments, fixed typos in Checker
Change-Id: I1ff12940035845c1a586d4df826efc794088bdc9
Mathieu Chartier [Fri, 9 Jan 2015 18:02:23 +0000 (18:02 +0000)]
Merge "Fix HandleScope with wrong thread error"
Mathieu Chartier [Fri, 9 Jan 2015 17:46:49 +0000 (09:46 -0800)]
Fix HandleScope with wrong thread error
Possibly fixes
+art F 5127 6995 art/runtime/handle_scope-inl.h:43]
Check failed: top_handle_scope == this
(top_handle_scope=0x2b449293c770, this=0x2b4492d6a0a8)
Seen in tests. A possible cause was that the thread dumping stacks
was running checkpoints on a suspended thread but putting a
HandleScope on that thread instead of itself. This isn't safe if the
suspended thread is doing HandleScope stuff in a non runnable state.
Change-Id: Icdaadabca5aff8d380d5cc9570b9e899fe790a62
Andreas Gampe [Fri, 9 Jan 2015 17:56:16 +0000 (17:56 +0000)]
Merge "ART: Use addr2line on the host for DumpNativeStack"
Andreas Gampe [Fri, 9 Jan 2015 04:11:09 +0000 (20:11 -0800)]
ART: Use addr2line on the host for DumpNativeStack
Use addr2line to attempt some better debug output for unexpected
signals in tests. This prints the demangled function name, source
file and line number (including inlined frames) when possible.
Bug:
18933933
Change-Id: I4b98d0cc7bef5cdc63c7ee0882629b363778afe2
Richard Uhler [Fri, 9 Jan 2015 15:57:36 +0000 (15:57 +0000)]
Merge "Remove back-door bootclasspath option from Runtime"
Sebastien Hertz [Fri, 9 Jan 2015 13:51:41 +0000 (14:51 +0100)]
JDWP: allow VirtualMachine.Resume on partial suspension
Allows to resume multiple threads with a single VirtualMachine.Resume
command. When some threads are suspended for an event by the debugger
with a suspend count of 1 (other threads are running), a debugger can
resume them all this way.
Bug:
18924933
Change-Id: I81543df8228d56a4cf201e59885015880650f202
Nicolas Geoffray [Fri, 9 Jan 2015 08:50:32 +0000 (08:50 +0000)]
Merge "Don't overwrite a register input."
Nicolas Geoffray [Fri, 9 Jan 2015 08:48:29 +0000 (08:48 +0000)]
Don't overwrite a register input.
`addr` is a register input, which can survive the current instruction,
therefore we can't overwrite it.
Change-Id: I6eaa60e5f91c2b7b9b31673457d2a0d63474e587
Andreas Gampe [Fri, 9 Jan 2015 01:01:10 +0000 (01:01 +0000)]
Merge "ART: Relax java_vm_ext test"
Andreas Gampe [Fri, 9 Jan 2015 00:43:13 +0000 (16:43 -0800)]
ART: Relax java_vm_ext test
Bionic gives more than the requested stack size in some cases, see
change-id I7037ac8273ebe54dd19b1561c7a376819049124c. In that case,
attaching a thread with STACK_MIN may actually succeed.
Bug:
18908062
Change-Id: Ibb3f5c7a7399c01ec2032a133896cf91327370ed
Mathieu Chartier [Fri, 9 Jan 2015 00:12:28 +0000 (00:12 +0000)]
Merge "Add clamp growth limit"
Mathieu Chartier [Thu, 8 Jan 2015 19:28:13 +0000 (11:28 -0800)]
Add clamp growth limit
Clamp growth limit shrinks the space memmaps to the current growth
limit. This reduces virtual memory usage for apps with small heaps.
Bug:
18387825
Bug:
17131630
Change-Id: I4a8fdc335d2c40492e991708adabcc46299efb7d
David Brazdil [Thu, 8 Jan 2015 22:20:26 +0000 (22:20 +0000)]
Merge "ART: Refactored regex code in Checker"
David Brazdil [Wed, 31 Dec 2014 11:49:30 +0000 (11:49 +0000)]
ART: Refactored regex code in Checker
This patch refactors how Checker constructs regular expressions which
it uses to parse tests and verify compiler output. It also replaces
all occurrences of the '[0-9]+' ID-matching expression with the '\d+'
shorthand.
Change-Id: I5f854a25707e44ed2fa1673ff084990e8f43e4a2
David Brazdil [Thu, 8 Jan 2015 21:50:01 +0000 (21:50 +0000)]
Merge "ART: Fixed formatting in HGraphVisualizerPrinter"
David Brazdil [Thu, 8 Jan 2015 01:49:53 +0000 (01:49 +0000)]
ART: Fixed subsequent CHECK-NOTs Checker bug
Matching a group of CHECK-NOT lines caused Checker to crash due to
incorrectly overwriting the varState variable. The second use of the
variable was renamed and a regression test added.
Change-Id: I1a879cf5368acca6b5092f69a9caa47b89a79532
Andreas Gampe [Thu, 8 Jan 2015 19:37:26 +0000 (19:37 +0000)]
Merge "ART: Fix Mac build"
Andreas Gampe [Thu, 8 Jan 2015 19:32:22 +0000 (11:32 -0800)]
ART: Fix Mac build
Fix Mac build after change-id Id2710d2fd44b7c3b3335973a9288979a5793638b.
Bug:
18933933
Change-Id: Ib0bb5082908d5dff33ef8f8a69d82c07406c176d
David Brazdil [Thu, 8 Jan 2015 19:28:33 +0000 (19:28 +0000)]
ART: Fixed formatting in HGraphVisualizerPrinter
Change-Id: I06d9bb0fc03e13cfc49f2b4da07a0ee2d09a339a
Mathieu Chartier [Thu, 8 Jan 2015 18:54:45 +0000 (18:54 +0000)]
Merge "Add VerifyObject to StackHandleScope::SetReference"
Nicolas Geoffray [Thu, 8 Jan 2015 18:52:33 +0000 (18:52 +0000)]
Merge "Implement double and float support for arm in register allocator."
Richard Uhler [Fri, 2 Jan 2015 21:28:22 +0000 (13:28 -0800)]
Remove back-door bootclasspath option from Runtime
The 'bootclasspath' option allowed users of the Runtime to load their
own boot class path DexFiles and pass them directly to the Runtime as
an option. This obscures the fact that the Runtime must take ownership
of the boot class path DexFiles.
This change removes the use of the bootclasspath option by dex2oat and
the common runtime tests. For dex2oat, we use the existing
-Xbootclasspath option instead, and introduce a new
-Xbootclasspath-locations option to override the dex locations for the
loaded boot class path dex files. For the common runtime tests, we
simply use -Xbootclasspath.
Bug:
18809837
Change-Id: Idfcd4885390bf0f3dc350993756dd337220def73
Mathieu Chartier [Thu, 8 Jan 2015 17:41:25 +0000 (09:41 -0800)]
Add VerifyObject to StackHandleScope::SetReference
Helps catch GC bugs. Also moved some of the HandleScope logic to the
inl file.
Bug:
13054004
Change-Id: I81b9dd717092b6a467fcd28b4df0089ec075dd44
David Brazdil [Thu, 8 Jan 2015 18:44:19 +0000 (18:44 +0000)]
Merge "ART: Improved fail reporting in Checker"
David Brazdil [Wed, 31 Dec 2014 17:28:38 +0000 (17:28 +0000)]
ART: Improved fail reporting in Checker
Checker now keeps track of line numbers and prints more informative
log messages.
Change-Id: I59ba3fb81d91e265a7358b6abb116dcb9ce97cbb
Chih-Hung Hsieh [Thu, 8 Jan 2015 18:26:12 +0000 (18:26 +0000)]
Merge "Do not use clang for mips target."
Andreas Gampe [Thu, 8 Jan 2015 17:38:02 +0000 (17:38 +0000)]
Merge "ART: Pass ucontext to Backtrace in Stack Dump"
Andreas Gampe [Thu, 8 Jan 2015 06:08:35 +0000 (22:08 -0800)]
ART: Pass ucontext to Backtrace in Stack Dump
In case of an unexpected signal on the host we dump the thread stack
ourselves. We have to pass the context given to the signal handler,
as the signal handler is run on an alternate stack. Otherwise
libbacktrace can't dump the actual faulty part.
Bug:
18933933
Change-Id: Id2710d2fd44b7c3b3335973a9288979a5793638b
Sebastien Hertz [Thu, 8 Jan 2015 16:26:04 +0000 (16:26 +0000)]
Merge "JDWP: do not report start/end events for thread without peer"
Nicolas Geoffray [Wed, 7 Jan 2015 16:01:24 +0000 (16:01 +0000)]
Implement double and float support for arm in register allocator.
The basic approach is:
- An instruction that needs two registers gets two intervals.
- When allocating the low part, we also allocate the high part.
- When splitting a low (or high) interval, we also split the high
(or low) equivalent.
- Allocation follows the (S/D register) requirement that low
registers are always even and the high equivalent is low + 1.
Change-Id: I06a5148e05a2ffc7e7555d08e871ed007b4c2797
Chih-Hung Hsieh [Fri, 19 Dec 2014 03:25:50 +0000 (19:25 -0800)]
Do not use clang for mips target.
Clang assembler cannot compile some inlined assembly code
in valgrind_malloc_space-inl.h:192:5: error: used $at without ".set noat"
However, clang generated assembly code for runtime/mirror/array.cc
cannot be compiled by gas.
BUG:
18789639
BUG:
18807290
Change-Id: Ifdeb3c50f11cefc7f0d62c1d36fdd1f8b9344fb4
Igor Murashkin [Thu, 8 Jan 2015 02:44:30 +0000 (02:44 +0000)]
Merge "Fix valgrind imgdiag test failure / memory leak in runtime"
Andreas Gampe [Thu, 8 Jan 2015 02:27:49 +0000 (02:27 +0000)]
Merge "ART: Print INTERNAL_FATAL Log messages immediately"
Andreas Gampe [Thu, 8 Jan 2015 02:01:29 +0000 (18:01 -0800)]
ART: Print INTERNAL_FATAL Log messages immediately
To diagnose some problems, print out messages sent to Severity level
INTERNAL_FATAL immediately. This avoids the buffering we do.
Bug:
18933933
Change-Id: I3e536ae2e78560eb561d0b873fb4e88b9495ebbf
Mathieu Chartier [Thu, 8 Jan 2015 02:00:29 +0000 (02:00 +0000)]
Merge "Re-enable ParallelGC test for gcstress mode"
Mathieu Chartier [Thu, 8 Jan 2015 01:42:07 +0000 (17:42 -0800)]
Re-enable ParallelGC test for gcstress mode
Ran the test hundreds of times with gcstress without any failures.
Bug:
16406852
Change-Id: Idd2d248bd43bfb20ad7313e12ce3dce85bea3de5
Mathieu Chartier [Thu, 8 Jan 2015 01:35:43 +0000 (01:35 +0000)]
Merge "Fix signal test to work with gcstress"
Mathieu Chartier [Thu, 8 Jan 2015 00:00:03 +0000 (16:00 -0800)]
Fix signal test to work with gcstress
We now avoid running GC if we are handling a stack overflow, this
helps prevent running past the end of the stack overflow reserved
bytes.
Added logic in ThrowStackOverflowError to use a stack overflow
exception without a stack trace if we fail to allocate the stack
trace.
Bug:
16406852
Change-Id: Ib34e235cd0af6d7c4c93c9705fa822f2b9b23b38
Andreas Gampe [Thu, 8 Jan 2015 00:39:59 +0000 (00:39 +0000)]
Merge "ART: Fix Clang CFLAGS inclusion"
Igor Murashkin [Thu, 8 Jan 2015 00:37:24 +0000 (16:37 -0800)]
Fix valgrind imgdiag test failure / memory leak in runtime
Bug:
18907700
Change-Id: I399a6a64a743d3fac86b8bb5bf0eef1f23b95dc4
Andreas Gampe [Wed, 7 Jan 2015 22:35:44 +0000 (14:35 -0800)]
ART: Fix Clang CFLAGS inclusion
Only include the CFLAGS if Clang is not explicitly disabled for the
architecture.
Change-Id: Ic63d7c8018f633a9b20a4ff9285d6380426017a5
David Brazdil [Wed, 7 Jan 2015 19:37:32 +0000 (19:37 +0000)]
Merge "ART: Add copyright to Optimizing's Inliner test"
David Brazdil [Wed, 7 Jan 2015 19:22:04 +0000 (19:22 +0000)]
ART: Add copyright to Optimizing's Inliner test
Change-Id: I10c29d607baa5b8b23b5d998a3c72dafcb7f47b8
Dmitriy Ivanov [Tue, 6 Jan 2015 23:44:13 +0000 (23:44 +0000)]
Merge "Fix sigchainlib's implementation of sigaction"