OSDN Git Service

android-x86/art.git
9 years agoam 30c7a422: am a2ae59e0: Merge "Support map data in the backtrace data structure."
Christopher Ferris [Fri, 6 Feb 2015 23:43:13 +0000 (23:43 +0000)]
am 30c7a422: am a2ae59e0: Merge "Support map data in the backtrace data structure."

* commit '30c7a4229305cf0f7fd1d02282ec8c3d2718808b':
  Support map data in the backtrace data structure.

9 years agoam a2ae59e0: Merge "Support map data in the backtrace data structure."
Christopher Ferris [Fri, 6 Feb 2015 23:36:33 +0000 (23:36 +0000)]
am a2ae59e0: Merge "Support map data in the backtrace data structure."

* commit 'a2ae59e0fe942981d2ef7ad9196fe29d2aee26be':
  Support map data in the backtrace data structure.

9 years agoMerge "Support map data in the backtrace data structure."
Christopher Ferris [Fri, 6 Feb 2015 23:29:10 +0000 (23:29 +0000)]
Merge "Support map data in the backtrace data structure."

9 years agoSupport map data in the backtrace data structure.
Christopher Ferris [Fri, 6 Feb 2015 21:18:58 +0000 (13:18 -0800)]
Support map data in the backtrace data structure.

The backtrace data structure used to keep a pointer to the map data. Now
the code has the map data embedded in the structure and no pointers.

Bug: 19028453
Change-Id: If7088a73f3c6bf1f3bc8cdd2bb4b62e7cab831c0

9 years agoam 2585148b: am 076018ad: Merge "x64 goodness."
Nicolas Geoffray [Fri, 6 Feb 2015 17:54:23 +0000 (17:54 +0000)]
am 2585148b: am 076018ad: Merge "x64 goodness."

* commit '2585148b4493d9dde62cd6389208e93ae7bc1be9':
  x64 goodness.

9 years agoam 076018ad: Merge "x64 goodness."
Nicolas Geoffray [Fri, 6 Feb 2015 17:47:16 +0000 (17:47 +0000)]
am 076018ad: Merge "x64 goodness."

* commit '076018addcb0f27d1a4ed9d1967a28bd5fb21230':
  x64 goodness.

9 years agoMerge "x64 goodness."
Nicolas Geoffray [Fri, 6 Feb 2015 17:41:14 +0000 (17:41 +0000)]
Merge "x64 goodness."

9 years agox64 goodness.
Nicolas Geoffray [Tue, 27 Jan 2015 08:17:54 +0000 (08:17 +0000)]
x64 goodness.

- Use test instead of cmp when comparing against 0.
- Make it possible to use lea for add.
- Use xor instead of mov when loading 0.

Change-Id: Ide95c4e2d9b773e952412892f2df6869600c324e

9 years agoam a190aa4b: am 0f2433bf: Merge "Opt Compiler: ARM64: Enable Callee-saved register...
Nicolas Geoffray [Fri, 6 Feb 2015 10:14:48 +0000 (10:14 +0000)]
am a190aa4b: am 0f2433bf: Merge "Opt Compiler: ARM64: Enable Callee-saved register, as defined by AAPCS64."

* commit 'a190aa4b306c6407c9569a7b3b1d58c4e47f877e':
  Opt Compiler: ARM64: Enable Callee-saved register, as defined by AAPCS64.

9 years agoam 0f2433bf: Merge "Opt Compiler: ARM64: Enable Callee-saved register, as defined...
Nicolas Geoffray [Fri, 6 Feb 2015 10:07:56 +0000 (10:07 +0000)]
am 0f2433bf: Merge "Opt Compiler: ARM64: Enable Callee-saved register, as defined by AAPCS64."

* commit '0f2433bfcb02a662fe739e8e2b068abc2958e4c1':
  Opt Compiler: ARM64: Enable Callee-saved register, as defined by AAPCS64.

9 years agoMerge "Opt Compiler: ARM64: Enable Callee-saved register, as defined by AAPCS64."
Nicolas Geoffray [Fri, 6 Feb 2015 09:34:47 +0000 (09:34 +0000)]
Merge "Opt Compiler: ARM64: Enable Callee-saved register, as defined by AAPCS64."

9 years agoam 38fea25c: am b991d334: Merge "Read JDWP options from runtime"
Sebastien Hertz [Fri, 6 Feb 2015 06:24:52 +0000 (06:24 +0000)]
am 38fea25c: am b991d334: Merge "Read JDWP options from runtime"

* commit '38fea25c3685d0a8db04149966687f0c73acf01c':
  Read JDWP options from runtime

9 years agoam b991d334: Merge "Read JDWP options from runtime"
Sebastien Hertz [Fri, 6 Feb 2015 06:20:50 +0000 (06:20 +0000)]
am b991d334: Merge "Read JDWP options from runtime"

* commit 'b991d334e294cb9fb75bd1c36e2435171c084cd1':
  Read JDWP options from runtime

9 years agoMerge "Read JDWP options from runtime"
Sebastien Hertz [Fri, 6 Feb 2015 06:15:45 +0000 (06:15 +0000)]
Merge "Read JDWP options from runtime"

9 years agoam d5d4facf: am 61fdf5bc: Merge "art: Fix broken cmdline_parser_test"
Igor Murashkin [Thu, 5 Feb 2015 20:47:09 +0000 (20:47 +0000)]
am d5d4facf: am 61fdf5bc: Merge "art: Fix broken cmdline_parser_test"

* commit 'd5d4facf59fcbdf85aeff040c37b20747e991796':
  art: Fix broken cmdline_parser_test

9 years agoam 61fdf5bc: Merge "art: Fix broken cmdline_parser_test"
Igor Murashkin [Thu, 5 Feb 2015 20:40:43 +0000 (20:40 +0000)]
am 61fdf5bc: Merge "art: Fix broken cmdline_parser_test"

* commit '61fdf5bca503c30ba1e4dcaf333a8d3299f3bde6':
  art: Fix broken cmdline_parser_test

9 years agoMerge "art: Fix broken cmdline_parser_test"
Igor Murashkin [Thu, 5 Feb 2015 20:34:47 +0000 (20:34 +0000)]
Merge "art: Fix broken cmdline_parser_test"

9 years agoam 3b43fecf: am ca9a2685: Merge "ART: Fix crash when timing method failing to build"
David Brazdil [Thu, 5 Feb 2015 20:26:49 +0000 (20:26 +0000)]
am 3b43fecf: am ca9a2685: Merge "ART: Fix crash when timing method failing to build"

* commit '3b43fecf43a54ceb298e53dcd32cdb4c049863af':
  ART: Fix crash when timing method failing to build

9 years agoam ca9a2685: Merge "ART: Fix crash when timing method failing to build"
David Brazdil [Thu, 5 Feb 2015 20:17:08 +0000 (20:17 +0000)]
am ca9a2685: Merge "ART: Fix crash when timing method failing to build"

* commit 'ca9a26859d2ca8e106316dd5f16b60a325f0533c':
  ART: Fix crash when timing method failing to build

9 years agoOpt Compiler: ARM64: Enable Callee-saved register, as defined by AAPCS64.
Serban Constantinescu [Wed, 28 Jan 2015 11:57:05 +0000 (11:57 +0000)]
Opt Compiler: ARM64: Enable Callee-saved register, as defined by AAPCS64.

For now we block kQuickSuspendRegister - x19, since Quick and the runtime
use this as a suspend counter register.

Change-Id: I090d386670e81e7924e4aa9a3864ef30d0580a30
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
9 years agoart: Fix broken cmdline_parser_test
Igor Murashkin [Thu, 5 Feb 2015 19:22:45 +0000 (11:22 -0800)]
art: Fix broken cmdline_parser_test

Bug: 19274810
Change-Id: I28df72dced9bdbbe0684836e9a18334994183421

9 years agoam a606af32: am 24898d44: Merge "Disable test, it fails on target and read-barrier...
Nicolas Geoffray [Thu, 5 Feb 2015 18:50:15 +0000 (18:50 +0000)]
am a606af32: am 24898d44: Merge "Disable test, it fails on target and read-barrier config."

* commit 'a606af3224326ee1b0d38c7c72589a95daf4d9a2':
  Disable test, it fails on target and read-barrier config.

9 years agoam 22c1502d: am 911b4be5: Merge "Fix transaction aborting"
Sebastien Hertz [Thu, 5 Feb 2015 18:48:32 +0000 (18:48 +0000)]
am 22c1502d: am 911b4be5: Merge "Fix transaction aborting"

* commit '22c1502d41eba37bf6bf0a7837a780cb0bf5d747':
  Fix transaction aborting

9 years agoam 5597878a: am 7e6a918e: Merge "Clear thread local freed bits in RosAlloc::Run:...
Mathieu Chartier [Thu, 5 Feb 2015 18:47:12 +0000 (18:47 +0000)]
am 5597878a: am 7e6a918e: Merge "Clear thread local freed bits in RosAlloc::Run::InspectAllSlots"

* commit '5597878acb5a534ed9c382529a4f8d824dfbdf65':
  Clear thread local freed bits in RosAlloc::Run::InspectAllSlots

9 years agoMerge "ART: Fix crash when timing method failing to build"
David Brazdil [Thu, 5 Feb 2015 18:10:57 +0000 (18:10 +0000)]
Merge "ART: Fix crash when timing method failing to build"

9 years agoART: Fix crash when timing method failing to build
David Brazdil [Thu, 5 Feb 2015 11:34:02 +0000 (11:34 +0000)]
ART: Fix crash when timing method failing to build

PassInfoPrinter previously required that AfterPass is always called
before the timing results are printed, which was not the case when
a method compilation failed either in Builder or SsaBuilder.

Change-Id: I3686bba6869402a62eec884f59fd872d5674e5a5

9 years agoRead JDWP options from runtime
Sebastien Hertz [Thu, 5 Feb 2015 15:30:58 +0000 (16:30 +0100)]
Read JDWP options from runtime

Allocates JDWP::JdwpOptions on the heap and copies parsed options to
avoid the need to include jdwp/jdwp.h into runtime.h file.

Also does some minor cleanup and removes the old JDWP options parsing
code that became dead code after we move it to the new command-line
parser.

Bug: 19275792
Change-Id: I71901c89fbf2cc3c1901a089e2a98b4326c6ee70

9 years agoam 24898d44: Merge "Disable test, it fails on target and read-barrier config."
Nicolas Geoffray [Thu, 5 Feb 2015 15:22:40 +0000 (15:22 +0000)]
am 24898d44: Merge "Disable test, it fails on target and read-barrier config."

* commit '24898d447640c3a45e6fc9f404b049eddc5a2709':
  Disable test, it fails on target and read-barrier config.

9 years agoam 911b4be5: Merge "Fix transaction aborting"
Sebastien Hertz [Thu, 5 Feb 2015 15:22:39 +0000 (15:22 +0000)]
am 911b4be5: Merge "Fix transaction aborting"

* commit '911b4be50c379d052dd9e5f9b59ce91df1340453':
  Fix transaction aborting

9 years agoMerge "Disable test, it fails on target and read-barrier config."
Nicolas Geoffray [Thu, 5 Feb 2015 10:31:57 +0000 (10:31 +0000)]
Merge "Disable test, it fails on target and read-barrier config."

9 years agoDisable test, it fails on target and read-barrier config.
Nicolas Geoffray [Thu, 5 Feb 2015 10:14:10 +0000 (10:14 +0000)]
Disable test, it fails on target and read-barrier config.

Change-Id: Ib1ae28b1e81a1355196c32c43765a6f5466ca728

9 years agoMerge "Fix transaction aborting"
Sebastien Hertz [Thu, 5 Feb 2015 08:19:21 +0000 (08:19 +0000)]
Merge "Fix transaction aborting"

9 years agoFix transaction aborting
Sebastien Hertz [Tue, 3 Feb 2015 10:58:06 +0000 (11:58 +0100)]
Fix transaction aborting

During compilation, a java.lang.InternalError is used to indicate
that class initialization failed and the enclosing transaction
should be aborted and the changes rolled back. However there is
nothing preventing the code executed from a class initializer from
catching that exception (like catching Throwable and ignore it).
Therefore we may return from the class initializer with no pending
exception, even if the transaction was aborted, and not rollback
the changes properly.

To fix this, we now rely on the new Transaction::aborted_ field to
know whether a transaction aborted. When returning from the class
initializer without pending exception, we now check wether we aborted
the enclosing transaction. If that's the case, we set the status of
the class to kStatusError and throw a new java.lang.InternalError
with the original abort message.

This CL also contains some cleanup:
- Renames Transaction::Abort to Transaction::Rollback which is less
ambiguous and more reflect what is done.
- Moves the code throwing the java.lang.InternalError exception into
the Transaction::ThrowInternalError method so we do not duplicate
code. Now we may abort transaction more than once (because we may
have caught the java.lang.InternalError then execute code causing
new transaction abort), we only keep the first abort message to
throw the exception.
- Updates transaction_test with more cases and more checks.
- Bumps oat version to force recompilation with this fix.

Bug: 19202032
Change-Id: Iedc6969528a68bbdf3123146e990df4dbc57834b

9 years agoam 7e6a918e: Merge "Clear thread local freed bits in RosAlloc::Run::InspectAllSlots"
Mathieu Chartier [Thu, 5 Feb 2015 02:49:15 +0000 (02:49 +0000)]
am 7e6a918e: Merge "Clear thread local freed bits in RosAlloc::Run::InspectAllSlots"

* commit '7e6a918ecfbe786c060bce0eeddd55c4c70f819d':
  Clear thread local freed bits in RosAlloc::Run::InspectAllSlots

9 years agoMerge "Clear thread local freed bits in RosAlloc::Run::InspectAllSlots"
Mathieu Chartier [Thu, 5 Feb 2015 02:45:25 +0000 (02:45 +0000)]
Merge "Clear thread local freed bits in RosAlloc::Run::InspectAllSlots"

9 years agoam cc4c8722: am 19929654: Merge "art: Try to fix parsed_options_test on the build...
Igor Murashkin [Thu, 5 Feb 2015 02:31:35 +0000 (02:31 +0000)]
am cc4c8722: am 19929654: Merge "art: Try to fix parsed_options_test on the build server"

* commit 'cc4c8722c9b68026d66d77de5ce854e76d9588a6':
  art: Try to fix parsed_options_test on the build server

9 years agoam 666380e9: am edf45678: Merge "Fix broken volantis build"
Igor Murashkin [Thu, 5 Feb 2015 02:31:34 +0000 (02:31 +0000)]
am 666380e9: am edf45678: Merge "Fix broken volantis build"

* commit '666380e901fc80792fa4fa77b2b29e9b3236af91':
  Fix broken volantis build

9 years agoam 19929654: Merge "art: Try to fix parsed_options_test on the build server"
Igor Murashkin [Thu, 5 Feb 2015 02:24:24 +0000 (02:24 +0000)]
am 19929654: Merge "art: Try to fix parsed_options_test on the build server"

* commit '19929654ddf3bce1b89db92a9b7fb47d6e91e2f8':
  art: Try to fix parsed_options_test on the build server

9 years agoam edf45678: Merge "Fix broken volantis build"
Igor Murashkin [Thu, 5 Feb 2015 02:24:22 +0000 (02:24 +0000)]
am edf45678: Merge "Fix broken volantis build"

* commit 'edf45678f133ce51d7aff43be68d9be3936ffca2':
  Fix broken volantis build

9 years agoClear thread local freed bits in RosAlloc::Run::InspectAllSlots
Mathieu Chartier [Thu, 5 Feb 2015 01:46:29 +0000 (17:46 -0800)]
Clear thread local freed bits in RosAlloc::Run::InspectAllSlots

Previously we didn't take these bits into consideration. This could
cause RosAlloc::Run::InspectAllSlots to inspect recently freed
allocations as allocated.

Bug: 19193521
Change-Id: I56b3c089e2a36098423261cda623fc834069f832

9 years agoMerge "art: Try to fix parsed_options_test on the build server"
Igor Murashkin [Thu, 5 Feb 2015 01:35:28 +0000 (01:35 +0000)]
Merge "art: Try to fix parsed_options_test on the build server"

9 years agoart: Try to fix parsed_options_test on the build server
Igor Murashkin [Thu, 5 Feb 2015 01:30:43 +0000 (17:30 -0800)]
art: Try to fix parsed_options_test on the build server

(It works fine locally because environment variables are defined
differently)

Also some minor cleanup elsewhere pointed out in the previous code
review.

Change-Id: I80650d2be6ce467b838db85eb130a0020d7c1480

9 years agoMerge "Fix broken volantis build"
Igor Murashkin [Wed, 4 Feb 2015 23:35:52 +0000 (23:35 +0000)]
Merge "Fix broken volantis build"

9 years agoFix broken volantis build
Igor Murashkin [Wed, 4 Feb 2015 23:11:27 +0000 (15:11 -0800)]
Fix broken volantis build

Change-Id: Iedc1a94fd1ec4224b605b984c11cfcc8c1c510e3

9 years agoam d528e9ce: am 1bb6cb0b: Merge "art: Refactor RuntimeOptions/ParsedOptions"
Igor Murashkin [Wed, 4 Feb 2015 21:59:55 +0000 (21:59 +0000)]
am d528e9ce: am 1bb6cb0b: Merge "art: Refactor RuntimeOptions/ParsedOptions"

* commit 'd528e9ce5d97b1de5e6d02702e6c21f120597873':
  art: Refactor RuntimeOptions/ParsedOptions

9 years agoam 1bb6cb0b: Merge "art: Refactor RuntimeOptions/ParsedOptions"
Igor Murashkin [Wed, 4 Feb 2015 21:52:36 +0000 (21:52 +0000)]
am 1bb6cb0b: Merge "art: Refactor RuntimeOptions/ParsedOptions"

* commit '1bb6cb0b7e10698f12213f7a4fabc845057d9ab9':
  art: Refactor RuntimeOptions/ParsedOptions

9 years agoMerge "art: Refactor RuntimeOptions/ParsedOptions"
Igor Murashkin [Wed, 4 Feb 2015 21:45:13 +0000 (21:45 +0000)]
Merge "art: Refactor RuntimeOptions/ParsedOptions"

9 years agoam ee142715: am a8fb460f: Merge "ART: Fix old run scripts"
Andreas Gampe [Wed, 4 Feb 2015 21:32:49 +0000 (21:32 +0000)]
am ee142715: am a8fb460f: Merge "ART: Fix old run scripts"

* commit 'ee14271532a3b19a757aa181ca49622dddfe436f':
  ART: Fix old run scripts

9 years agoart: Refactor RuntimeOptions/ParsedOptions
Igor Murashkin [Mon, 26 Jan 2015 18:55:53 +0000 (10:55 -0800)]
art: Refactor RuntimeOptions/ParsedOptions

Refactor the RuntimeOptions to be a
type-safe map (VariantMap, see runtime_options.h) and the ParsedOptions
to delegate the parsing to CmdlineParser (see cmdline/cmdline_parser.h).

This is the start of a command line parsing refactor, and may include
more in the future (dex2oat, patchoat, etc).

For more details of the command line parsing generator usage see cmdline/README.md

Change-Id: Ic67c6bca5e1f33bf2ec60e2e3ff8c366bab91563

9 years agoam a8fb460f: Merge "ART: Fix old run scripts"
Andreas Gampe [Wed, 4 Feb 2015 21:28:00 +0000 (21:28 +0000)]
am a8fb460f: Merge "ART: Fix old run scripts"

* commit 'a8fb460f0a5c96881c433f9586bdf1f705c97d35':
  ART: Fix old run scripts

9 years agoam aa735116: am f30c00fc: Merge "Fix incorrect static const"
Mathieu Chartier [Wed, 4 Feb 2015 21:22:55 +0000 (21:22 +0000)]
am aa735116: am f30c00fc: Merge "Fix incorrect static const"

* commit 'aa7351167ef2f57c45b27b8a5595485a0e5c382d':
  Fix incorrect static const

9 years agoMerge "ART: Fix old run scripts"
Andreas Gampe [Wed, 4 Feb 2015 21:20:25 +0000 (21:20 +0000)]
Merge "ART: Fix old run scripts"

9 years agoART: Fix old run scripts
Andreas Gampe [Wed, 4 Feb 2015 02:26:55 +0000 (18:26 -0800)]
ART: Fix old run scripts

The run scripts had not been updated when the central command script
was unified, so they were always choosing target mode.

Also update the run scripts so they abort when wrong options are
used.

Also strip superfluous whitespace from commands.

Change-Id: I13cc59f43734a86062fc3ce5ff4ea308c301d4d3

9 years agoam f30c00fc: Merge "Fix incorrect static const"
Mathieu Chartier [Wed, 4 Feb 2015 21:12:19 +0000 (21:12 +0000)]
am f30c00fc: Merge "Fix incorrect static const"

* commit 'f30c00fc436264014338744f9902346f0642df3b':
  Fix incorrect static const

9 years agoMerge "Fix incorrect static const"
Mathieu Chartier [Wed, 4 Feb 2015 20:54:11 +0000 (20:54 +0000)]
Merge "Fix incorrect static const"

9 years agoFix incorrect static const
Mathieu Chartier [Wed, 4 Feb 2015 20:52:34 +0000 (12:52 -0800)]
Fix incorrect static const

Bug: 19265183
Change-Id: I573df60fe90952246d2126ced010f2bdac006bca

9 years agoam b5343076: am 7d318624: Merge "ART: Pass Options should be strings instead of integers"
Andreas Gampe [Wed, 4 Feb 2015 19:31:23 +0000 (19:31 +0000)]
am b5343076: am 7d318624: Merge "ART: Pass Options should be strings instead of integers"

* commit 'b53430768c3695132a63d82c48d4e7482d361f6e':
  ART: Pass Options should be strings instead of integers

9 years agoam 322c2dad: am c470aefe: Merge "Fix occasional long ThreadSuspendSleep"
Mathieu Chartier [Wed, 4 Feb 2015 19:31:17 +0000 (19:31 +0000)]
am 322c2dad: am c470aefe: Merge "Fix occasional long ThreadSuspendSleep"

* commit '322c2dad3ec8464bbf685d3303bdc0a89fb4f654':
  Fix occasional long ThreadSuspendSleep

9 years agoam 7d318624: Merge "ART: Pass Options should be strings instead of integers"
Andreas Gampe [Wed, 4 Feb 2015 19:26:41 +0000 (19:26 +0000)]
am 7d318624: Merge "ART: Pass Options should be strings instead of integers"

* commit '7d3186247cd382c4f7cf8093961795e8565b00e0':
  ART: Pass Options should be strings instead of integers

9 years agoMerge "ART: Pass Options should be strings instead of integers"
Andreas Gampe [Wed, 4 Feb 2015 19:21:04 +0000 (19:21 +0000)]
Merge "ART: Pass Options should be strings instead of integers"

9 years agoam c470aefe: Merge "Fix occasional long ThreadSuspendSleep"
Mathieu Chartier [Wed, 4 Feb 2015 19:15:49 +0000 (19:15 +0000)]
am c470aefe: Merge "Fix occasional long ThreadSuspendSleep"

* commit 'c470aefe5abb9ab0b209c7c99139734efe97b177':
  Fix occasional long ThreadSuspendSleep

9 years agoMerge "Fix occasional long ThreadSuspendSleep"
Mathieu Chartier [Wed, 4 Feb 2015 19:07:24 +0000 (19:07 +0000)]
Merge "Fix occasional long ThreadSuspendSleep"

9 years agoam 6f5b2092: am a4ddb549: Merge "Fix a bug in the inliner."
Nicolas Geoffray [Wed, 4 Feb 2015 15:49:46 +0000 (15:49 +0000)]
am 6f5b2092: am a4ddb549: Merge "Fix a bug in the inliner."

* commit '6f5b2092bf0c96cbb9806205f456c29fefeedcab':
  Fix a bug in the inliner.

9 years agoam 0501d194: am a6919983: Merge "ART: Dump environment to cfg file."
Nicolas Geoffray [Wed, 4 Feb 2015 15:49:45 +0000 (15:49 +0000)]
am 0501d194: am a6919983: Merge "ART: Dump environment to cfg file."

* commit '0501d1944169d33a9cf741abe6ed51e51b42a92e':
  ART: Dump environment to cfg file.

9 years agoam b3b7b338: am c2024144: Merge "Create HGraph outside Builder, print timings"
David Brazdil [Wed, 4 Feb 2015 15:49:44 +0000 (15:49 +0000)]
am b3b7b338: am c2024144: Merge "Create HGraph outside Builder, print timings"

* commit 'b3b7b33823f3633684a9ef6b5bed4422f4eb4a55':
  Create HGraph outside Builder, print timings

9 years agoam 80bfc59f: am 53150eb4: Merge "Fix a bug in combination of intrinsics and kNoOutput...
Nicolas Geoffray [Wed, 4 Feb 2015 15:49:43 +0000 (15:49 +0000)]
am 80bfc59f: am 53150eb4: Merge "Fix a bug in combination of intrinsics and kNoOutputOverlap."

* commit '80bfc59f04d0f5998554fbe321fdb8bc4ed79536':
  Fix a bug in combination of intrinsics and kNoOutputOverlap.

9 years agoam 719dab9e: am f4b24f7e: Merge "ART: Change x86 long param ABI (Quick/JNI/Opt)"
Nicolas Geoffray [Wed, 4 Feb 2015 15:49:42 +0000 (15:49 +0000)]
am 719dab9e: am f4b24f7e: Merge "ART: Change x86 long param ABI (Quick/JNI/Opt)"

* commit '719dab9e864e749b0567c493046a7d01510d6753':
  ART: Change x86 long param ABI (Quick/JNI/Opt)

9 years agoam 58a91d5d: am 6bc17805: Merge "Fix test after register allocator changes."
Nicolas Geoffray [Wed, 4 Feb 2015 15:49:41 +0000 (15:49 +0000)]
am 58a91d5d: am 6bc17805: Merge "Fix test after register allocator changes."

* commit '58a91d5d6dd7245e0e3ea266dc4680e345637c9d':
  Fix test after register allocator changes.

9 years agoam e558cb59: am b73e4447: Merge "Finally implement Location::kNoOutputOverlap."
Nicolas Geoffray [Wed, 4 Feb 2015 15:49:40 +0000 (15:49 +0000)]
am e558cb59: am b73e4447: Merge "Finally implement Location::kNoOutputOverlap."

* commit 'e558cb5903c393877f0269e921f0346cfb7382f6':
  Finally implement Location::kNoOutputOverlap.

9 years agoam a4ddb549: Merge "Fix a bug in the inliner."
Nicolas Geoffray [Wed, 4 Feb 2015 15:43:39 +0000 (15:43 +0000)]
am a4ddb549: Merge "Fix a bug in the inliner."

* commit 'a4ddb5493e2426488074cfeccf1b1e779d5385ee':
  Fix a bug in the inliner.

9 years agoam a6919983: Merge "ART: Dump environment to cfg file."
Nicolas Geoffray [Wed, 4 Feb 2015 15:43:38 +0000 (15:43 +0000)]
am a6919983: Merge "ART: Dump environment to cfg file."

* commit 'a6919983bfc7e2c1eb69a4408f940146a2b78d59':
  ART: Dump environment to cfg file.

9 years agoam c2024144: Merge "Create HGraph outside Builder, print timings"
David Brazdil [Wed, 4 Feb 2015 15:43:37 +0000 (15:43 +0000)]
am c2024144: Merge "Create HGraph outside Builder, print timings"

* commit 'c2024144da54504d819869dc928ce4ac975634d4':
  Create HGraph outside Builder, print timings

9 years agoam 53150eb4: Merge "Fix a bug in combination of intrinsics and kNoOutputOverlap."
Nicolas Geoffray [Wed, 4 Feb 2015 15:43:36 +0000 (15:43 +0000)]
am 53150eb4: Merge "Fix a bug in combination of intrinsics and kNoOutputOverlap."

* commit '53150eb4fb5c3bbcb0138b8dccb481726299f6ab':
  Fix a bug in combination of intrinsics and kNoOutputOverlap.

9 years agoam f4b24f7e: Merge "ART: Change x86 long param ABI (Quick/JNI/Opt)"
Nicolas Geoffray [Wed, 4 Feb 2015 15:43:35 +0000 (15:43 +0000)]
am f4b24f7e: Merge "ART: Change x86 long param ABI (Quick/JNI/Opt)"

* commit 'f4b24f7ea507ff41db39154a1e6a681a582e224a':
  ART: Change x86 long param ABI (Quick/JNI/Opt)

9 years agoam 6bc17805: Merge "Fix test after register allocator changes."
Nicolas Geoffray [Wed, 4 Feb 2015 15:43:35 +0000 (15:43 +0000)]
am 6bc17805: Merge "Fix test after register allocator changes."

* commit '6bc17805d2df2678de186e3b4c3e2f959a48555f':
  Fix test after register allocator changes.

9 years agoam b73e4447: Merge "Finally implement Location::kNoOutputOverlap."
Nicolas Geoffray [Wed, 4 Feb 2015 15:43:33 +0000 (15:43 +0000)]
am b73e4447: Merge "Finally implement Location::kNoOutputOverlap."

* commit 'b73e4447736996f7cc8b193d7e3f5c38d5739d22':
  Finally implement Location::kNoOutputOverlap.

9 years agoMerge "Fix a bug in the inliner."
Nicolas Geoffray [Wed, 4 Feb 2015 15:28:41 +0000 (15:28 +0000)]
Merge "Fix a bug in the inliner."

9 years agoFix a bug in the inliner.
Nicolas Geoffray [Wed, 4 Feb 2015 14:52:20 +0000 (14:52 +0000)]
Fix a bug in the inliner.

Code did not work in the presence of multiple returns.
Spotted by Mark P. Mendell.

Change-Id: I237050a0d79c0cfaa479e9b886f7450879e84713

9 years agoMerge "ART: Dump environment to cfg file."
Nicolas Geoffray [Wed, 4 Feb 2015 14:02:24 +0000 (14:02 +0000)]
Merge "ART: Dump environment to cfg file."

9 years agoART: Dump environment to cfg file.
Zheng Xu [Fri, 9 Jan 2015 06:40:47 +0000 (14:40 +0800)]
ART: Dump environment to cfg file.

Environment shows additional dependency and instructions with environment
should usually be a safepoint as well.

Change-Id: I04606624e6ea212ab1dc7502cdb87b5d5d0e3ac2

9 years agoMerge "Create HGraph outside Builder, print timings"
David Brazdil [Wed, 4 Feb 2015 13:51:17 +0000 (13:51 +0000)]
Merge "Create HGraph outside Builder, print timings"

9 years agoCreate HGraph outside Builder, print timings
David Brazdil [Fri, 23 Jan 2015 14:39:08 +0000 (14:39 +0000)]
Create HGraph outside Builder, print timings

This patch refactors the way HGraph objects are created, moving the
instantiation out of the Builder class and creating the CodeGenerator
earlier. The patch uses this to build a single interface for printing
timings info and dumping the CFG.

Change-Id: I2eb63eabf28e2d0f5cdc7affaa690c3a4b1bdd21

9 years agoMerge "Fix a bug in combination of intrinsics and kNoOutputOverlap."
Nicolas Geoffray [Wed, 4 Feb 2015 10:58:28 +0000 (10:58 +0000)]
Merge "Fix a bug in combination of intrinsics and kNoOutputOverlap."

9 years agoFix a bug in combination of intrinsics and kNoOutputOverlap.
Nicolas Geoffray [Wed, 4 Feb 2015 10:44:23 +0000 (10:44 +0000)]
Fix a bug in combination of intrinsics and kNoOutputOverlap.

In case we need to go in the slow path for an intrinsic call,
we can't have the output be the same as the input: the current
liveness analysis considers the input to be live at the point of the call.

Change-Id: I5cbdc7f50dd06b4fefcbd3c213274fa645bd3fa0

9 years agoMerge "ART: Change x86 long param ABI (Quick/JNI/Opt)"
Nicolas Geoffray [Wed, 4 Feb 2015 09:45:14 +0000 (09:45 +0000)]
Merge "ART: Change x86 long param ABI (Quick/JNI/Opt)"

9 years agoMerge "Fix test after register allocator changes."
Nicolas Geoffray [Wed, 4 Feb 2015 09:39:31 +0000 (09:39 +0000)]
Merge "Fix test after register allocator changes."

9 years agoFix test after register allocator changes.
Nicolas Geoffray [Wed, 4 Feb 2015 09:38:49 +0000 (09:38 +0000)]
Fix test after register allocator changes.

Change-Id: I22b8faf7926d33ab19033deaba77001d164abd2a

9 years agoMerge "Finally implement Location::kNoOutputOverlap."
Nicolas Geoffray [Wed, 4 Feb 2015 09:13:32 +0000 (09:13 +0000)]
Merge "Finally implement Location::kNoOutputOverlap."

9 years agoFinally implement Location::kNoOutputOverlap.
Nicolas Geoffray [Wed, 28 Jan 2015 10:20:37 +0000 (10:20 +0000)]
Finally implement Location::kNoOutputOverlap.

The [i, i + 1) interval scheme we chose for representing
lifetime positions is not optimal for doing this optimization.
It however doesn't prevent recognizing a non-split interval
during the TryAllocateFreeReg phase, and try to re-use
its inputs' registers.

Change-Id: I80a2823b0048d3310becfc5f5fb7b1230dfd8201

9 years agoFix occasional long ThreadSuspendSleep
Mathieu Chartier [Tue, 3 Feb 2015 22:26:46 +0000 (14:26 -0800)]
Fix occasional long ThreadSuspendSleep

Since usleep can wait much longer than the specified us, we use
sched_yield instead for more predictable behavior.

Bug: 18379850
Change-Id: I729212251db1e86e470240b7a042bbf2d4e981cd

9 years agoam 3d4b6bee: am 69d69ea4: Merge "ART: checkpoint mechanism optimization"
Hiroshi Yamauchi [Tue, 3 Feb 2015 23:50:14 +0000 (23:50 +0000)]
am 3d4b6bee: am 69d69ea4: Merge "ART: checkpoint mechanism optimization"

* commit '3d4b6beec985e703e27763e3e75a8ee0b175e085':
  ART: checkpoint mechanism optimization

9 years agoam 69d69ea4: Merge "ART: checkpoint mechanism optimization"
Hiroshi Yamauchi [Tue, 3 Feb 2015 23:43:21 +0000 (23:43 +0000)]
am 69d69ea4: Merge "ART: checkpoint mechanism optimization"

* commit '69d69ea40fe64ff2e70daffc365a2fffe5964fcc':
  ART: checkpoint mechanism optimization

9 years agoMerge "ART: checkpoint mechanism optimization"
Hiroshi Yamauchi [Tue, 3 Feb 2015 23:39:13 +0000 (23:39 +0000)]
Merge "ART: checkpoint mechanism optimization"

9 years agoART: Pass Options should be strings instead of integers
Jean-Philippe Halimi [Tue, 20 Jan 2015 09:52:43 +0000 (10:52 +0100)]
ART: Pass Options should be strings instead of integers

This patch modifies the pass options to handle string
values as well as integers. This will allow for more
verbose pass customization.

Change-Id: Iaf9507ceaae2cef317a23f0783404bacfdcad023
Signed-off-by: Jean-Philippe Halimi <jean-philippe.halimi@intel.com>
9 years agoam 6bd74ed9: am 900e7b36: Merge "ARM/ARM64: Dump thread offset."
Andreas Gampe [Tue, 3 Feb 2015 18:51:42 +0000 (18:51 +0000)]
am 6bd74ed9: am 900e7b36: Merge "ARM/ARM64: Dump thread offset."

* commit '6bd74ed95259b94b8adc515218352bf6a062f3bd':
  ARM/ARM64: Dump thread offset.

9 years agoam 7aafcce2: am f9af1941: Merge "Inline methods with multiple blocks."
Nicolas Geoffray [Tue, 3 Feb 2015 18:51:41 +0000 (18:51 +0000)]
am 7aafcce2: am f9af1941: Merge "Inline methods with multiple blocks."

* commit '7aafcce2334c59620ebbf487bf8fd4c4aa99722a':
  Inline methods with multiple blocks.

9 years agoam 900e7b36: Merge "ARM/ARM64: Dump thread offset."
Andreas Gampe [Tue, 3 Feb 2015 18:44:41 +0000 (18:44 +0000)]
am 900e7b36: Merge "ARM/ARM64: Dump thread offset."

* commit '900e7b36057410cb12cc3c1a066dca04db3c2d45':
  ARM/ARM64: Dump thread offset.

9 years agoam f9af1941: Merge "Inline methods with multiple blocks."
Nicolas Geoffray [Tue, 3 Feb 2015 18:44:40 +0000 (18:44 +0000)]
am f9af1941: Merge "Inline methods with multiple blocks."

* commit 'f9af19413333c271192c3b11425f865bd8054c0c':
  Inline methods with multiple blocks.

9 years agoMerge "ARM/ARM64: Dump thread offset."
Andreas Gampe [Tue, 3 Feb 2015 18:26:48 +0000 (18:26 +0000)]
Merge "ARM/ARM64: Dump thread offset."

9 years agoMerge "Inline methods with multiple blocks."
Nicolas Geoffray [Tue, 3 Feb 2015 18:12:44 +0000 (18:12 +0000)]
Merge "Inline methods with multiple blocks."