OSDN Git Service

android-x86/art.git
10 years agoam 0f1a96e8: am 5f8d472a: am 1f3a9465: Merge "Remove Dbg::VisitRoots()."
Hiroshi Yamauchi [Fri, 11 Jul 2014 18:00:26 +0000 (18:00 +0000)]
am 0f1a96e8: am 5f8d472a: am 1f3a9465: Merge "Remove Dbg::VisitRoots()."

* commit '0f1a96e88ed1f429681fa1a7332192bf7f4c9b26':

10 years agoam 0f428aae: am c0d6dd51: am e8a30f37: Merge "Fix some style nitpicks"
Brian Carlstrom [Fri, 11 Jul 2014 17:33:08 +0000 (17:33 +0000)]
am 0f428aae: am c0d6dd51: am e8a30f37: Merge "Fix some style nitpicks"

* commit '0f428aae3b231b57a4fa3774373ee701bf96c212':

10 years agoam 9332dca9: am c6c0a402: am 50dffeee: Merge "Fix local reference leaks in debugger...
Mathieu Chartier [Fri, 11 Jul 2014 17:33:08 +0000 (17:33 +0000)]
am 9332dca9: am c6c0a402: am 50dffeee: Merge "Fix local reference leaks in debugger and use a cache."

* commit '9332dca90b8de1b5c8f9353c495507c9de54c76f':

10 years agoam ad1cc685: am aac7b7dd: am c4c601b6: Merge "Add kIntrinsicIsStatic flag for System...
Vladimir Marko [Fri, 11 Jul 2014 17:33:07 +0000 (17:33 +0000)]
am ad1cc685: am aac7b7dd: am c4c601b6: Merge "Add kIntrinsicIsStatic flag for System.arraycopy()."

* commit 'ad1cc685099d1be398352abe6e1385a76e11c983':

10 years agoam 0449984d: am a5690945: am f55159c1: Merge "Fix style issue."
Vladimir Marko [Fri, 11 Jul 2014 17:33:06 +0000 (17:33 +0000)]
am 0449984d: am a5690945: am f55159c1: Merge "Fix style issue."

* commit '0449984de69f397621d4b178dba553958dc76500':

10 years agoam 990dde61: am db123b00: am 74d8348c: Merge "Check invoke type for intrinsic method...
Vladimir Marko [Fri, 11 Jul 2014 17:33:05 +0000 (17:33 +0000)]
am 990dde61: am db123b00: am 74d8348c: Merge "Check invoke type for intrinsic method invokes."

* commit '990dde6146bb6d7d6a302bba659f93d27a93f847':

10 years agoam 42bbeb85: am 0c8537e5: am 751dee37: Merge "BaseMutex::IsExclusiveHeld should only...
Ian Rogers [Fri, 11 Jul 2014 17:33:04 +0000 (17:33 +0000)]
am 42bbeb85: am 0c8537e5: am 751dee37: Merge "BaseMutex::IsExclusiveHeld should only be called on self."

* commit '42bbeb85e15d6bfb9902de800e1f1634786d4d12':

10 years agoam cff996e6: am 6939ba7f: am a3ed7f87: Merge "JNI dlsym lookup fixes."
Ian Rogers [Fri, 11 Jul 2014 17:33:04 +0000 (17:33 +0000)]
am cff996e6: am 6939ba7f: am a3ed7f87: Merge "JNI dlsym lookup fixes."

* commit 'cff996e6d0fc029e3ebe2f6a5a7681cb6cdedbd9':

10 years agoam 87d5eb80: am d343c221: am e60658e8: Merge "Enable compiler testing for ARM64 and...
Ian Rogers [Fri, 11 Jul 2014 17:33:03 +0000 (17:33 +0000)]
am 87d5eb80: am d343c221: am e60658e8: Merge "Enable compiler testing for ARM64 and x86-64."

* commit '87d5eb80ffe566ed3a71f9f6b9b6669962d584f0':

10 years agoam a3d0afca: am 23b39cec: am 464ef7a7: Merge "ART: Intrinsic implementation for java...
Ian Rogers [Fri, 11 Jul 2014 17:33:02 +0000 (17:33 +0000)]
am a3d0afca: am 23b39cec: am 464ef7a7: Merge "ART: Intrinsic implementation for java.lang.System.arraycopy."

* commit 'a3d0afcac75bfb150248387afe1e64d737695a24':

10 years agoam fe147700: am 53dbd90d: am a1d1781e: Merge "Fix dex file dependencies for oat tests."
Ian Rogers [Fri, 11 Jul 2014 17:33:01 +0000 (17:33 +0000)]
am fe147700: am 53dbd90d: am a1d1781e: Merge "Fix dex file dependencies for oat tests."

* commit 'fe147700d228c9337474ff7203105197538e5051':

10 years agoam 5f8d472a: am 1f3a9465: Merge "Remove Dbg::VisitRoots()."
Hiroshi Yamauchi [Fri, 11 Jul 2014 17:29:04 +0000 (17:29 +0000)]
am 5f8d472a: am 1f3a9465: Merge "Remove Dbg::VisitRoots()."

* commit '5f8d472a1958328489693fd07d82c4bf550d9cc3':
  Remove Dbg::VisitRoots().

10 years agoam c0d6dd51: am e8a30f37: Merge "Fix some style nitpicks"
Brian Carlstrom [Fri, 11 Jul 2014 16:19:22 +0000 (16:19 +0000)]
am c0d6dd51: am e8a30f37: Merge "Fix some style nitpicks"

* commit 'c0d6dd512722ae36242924bcdc8fcde58dd5c959':
  Fix some style nitpicks

10 years agoam c6c0a402: am 50dffeee: Merge "Fix local reference leaks in debugger and use a...
Mathieu Chartier [Fri, 11 Jul 2014 16:19:11 +0000 (16:19 +0000)]
am c6c0a402: am 50dffeee: Merge "Fix local reference leaks in debugger and use a cache."

* commit 'c6c0a402fe2e7e51e9ba7dd8817eb44696f00347':
  Fix local reference leaks in debugger and use a cache.

10 years agoam aac7b7dd: am c4c601b6: Merge "Add kIntrinsicIsStatic flag for System.arraycopy()."
Vladimir Marko [Fri, 11 Jul 2014 16:19:10 +0000 (16:19 +0000)]
am aac7b7dd: am c4c601b6: Merge "Add kIntrinsicIsStatic flag for System.arraycopy()."

* commit 'aac7b7dde7dfb2273644b6f86928078f7ef357c6':
  Add kIntrinsicIsStatic flag for System.arraycopy().

10 years agoam a5690945: am f55159c1: Merge "Fix style issue."
Vladimir Marko [Fri, 11 Jul 2014 16:19:04 +0000 (16:19 +0000)]
am a5690945: am f55159c1: Merge "Fix style issue."

* commit 'a569094513c296f13cff1031b9f807fbc6ec4cfd':
  Fix style issue.

10 years agoam db123b00: am 74d8348c: Merge "Check invoke type for intrinsic method invokes."
Vladimir Marko [Fri, 11 Jul 2014 16:19:03 +0000 (16:19 +0000)]
am db123b00: am 74d8348c: Merge "Check invoke type for intrinsic method invokes."

* commit 'db123b00424017b3cc9ec9f444c6265fc960c263':
  Check invoke type for intrinsic method invokes.

10 years agoam 0c8537e5: am 751dee37: Merge "BaseMutex::IsExclusiveHeld should only be called...
Ian Rogers [Fri, 11 Jul 2014 16:18:59 +0000 (16:18 +0000)]
am 0c8537e5: am 751dee37: Merge "BaseMutex::IsExclusiveHeld should only be called on self."

* commit '0c8537e59096b5e8034dd3384af78e182b30ebc1':
  BaseMutex::IsExclusiveHeld should only be called on self.

10 years agoam 6939ba7f: am a3ed7f87: Merge "JNI dlsym lookup fixes."
Ian Rogers [Fri, 11 Jul 2014 16:18:58 +0000 (16:18 +0000)]
am 6939ba7f: am a3ed7f87: Merge "JNI dlsym lookup fixes."

* commit '6939ba7f2b553348c4ed3b5199fc66a79970ad7b':
  JNI dlsym lookup fixes.

10 years agoam d343c221: am e60658e8: Merge "Enable compiler testing for ARM64 and x86-64."
Ian Rogers [Fri, 11 Jul 2014 16:18:58 +0000 (16:18 +0000)]
am d343c221: am e60658e8: Merge "Enable compiler testing for ARM64 and x86-64."

* commit 'd343c221d9f7f17b66fad6c8ed703946a85a4b99':
  Enable compiler testing for ARM64 and x86-64.

10 years agoam 23b39cec: am 464ef7a7: Merge "ART: Intrinsic implementation for java.lang.System...
Ian Rogers [Fri, 11 Jul 2014 16:18:57 +0000 (16:18 +0000)]
am 23b39cec: am 464ef7a7: Merge "ART: Intrinsic implementation for java.lang.System.arraycopy."

* commit '23b39cec938869dc7c17cd0e9820c28cc425a7dc':
  ART: Intrinsic implementation for java.lang.System.arraycopy.

10 years agoam 53dbd90d: am a1d1781e: Merge "Fix dex file dependencies for oat tests."
Ian Rogers [Fri, 11 Jul 2014 16:18:48 +0000 (16:18 +0000)]
am 53dbd90d: am a1d1781e: Merge "Fix dex file dependencies for oat tests."

* commit '53dbd90d9398486b299ac4f5d75604b32ca7e1c7':
  Fix dex file dependencies for oat tests.

10 years agoam 7b4a7a1d: am cba6b1fc: Merge "ART: Enable some ARM64 optimizations."
Andreas Gampe [Thu, 10 Jul 2014 11:05:16 +0000 (11:05 +0000)]
am 7b4a7a1d: am cba6b1fc: Merge "ART: Enable some ARM64 optimizations."

* commit '7b4a7a1da6638b9b85d79d9dbeb9227afb0d3d4e':
  ART: Enable some ARM64 optimizations.

10 years agoam 4aaf4e12: am 5fa647d5: Merge "Slow path for iget should expect return in core...
Andreas Gampe [Thu, 10 Jul 2014 11:05:15 +0000 (11:05 +0000)]
am 4aaf4e12: am 5fa647d5: Merge "Slow path for iget should expect return in core reg"

* commit '4aaf4e1263dced1c077d26c1b3c0bbc60e299bc0':
  Slow path for iget should expect return in core reg

10 years agoam e0182c5a: am fb16129c: Merge "Global Value Numbering."
Vladimir Marko [Thu, 10 Jul 2014 11:05:14 +0000 (11:05 +0000)]
am e0182c5a: am fb16129c: Merge "Global Value Numbering."

* commit 'e0182c5a16f4166aeaa590cb3bf81c05b85e1a7f':
  Global Value Numbering.

10 years agoam f69825a4: am b26d1905: Merge "ART: Refactor frontend.cc"
Andreas Gampe [Thu, 10 Jul 2014 11:01:20 +0000 (11:01 +0000)]
am f69825a4: am b26d1905: Merge "ART: Refactor frontend.cc"

* commit 'f69825a4bccb82ce535687f1b66fdbd3218d1af8':
  ART: Refactor frontend.cc

10 years agoam 982b3c0f: am 50fb2436: Merge "Handle potential <clinit>() correctly in LVN."
Vladimir Marko [Thu, 10 Jul 2014 11:01:19 +0000 (11:01 +0000)]
am 982b3c0f: am 50fb2436: Merge "Handle potential <clinit>() correctly in LVN."

* commit '982b3c0fcce0c4d0eaaa12a6c28839239388e05b':
  Handle potential <clinit>() correctly in LVN.

10 years agoam 21e38a35: am 723b2fc3: Merge "Faster deduplication in OatWriter."
Vladimir Marko [Thu, 10 Jul 2014 11:01:18 +0000 (11:01 +0000)]
am 21e38a35: am 723b2fc3: Merge "Faster deduplication in OatWriter."

* commit '21e38a359648de457eeeef3632da59c5ab35d653':
  Faster deduplication in OatWriter.

10 years agoam 6302c888: am b2bc3c97: Merge "Fix GC to use art::Atomic rather than compiler intri...
Ian Rogers [Thu, 10 Jul 2014 11:01:17 +0000 (11:01 +0000)]
am 6302c888: am b2bc3c97: Merge "Fix GC to use art::Atomic rather than compiler intrinsics."

* commit '6302c888bcdf8b3202197ddb6aefb3d0584e9c71':
  Fix GC to use art::Atomic rather than compiler intrinsics.

10 years agoam d74ff9b5: am c4f72ec4: Merge "Use memory chunks for monitors on LP64"
Andreas Gampe [Thu, 10 Jul 2014 11:01:16 +0000 (11:01 +0000)]
am d74ff9b5: am c4f72ec4: Merge "Use memory chunks for monitors on LP64"

* commit 'd74ff9b53eabfbb301c418bc6a6197c634dae65d':
  Use memory chunks for monitors on LP64

10 years agoam b88f433c: am af4cf5d7: Merge "Missed use of android_atomic and thread state_."
Ian Rogers [Thu, 10 Jul 2014 11:01:15 +0000 (11:01 +0000)]
am b88f433c: am af4cf5d7: Merge "Missed use of android_atomic and thread state_."

* commit 'b88f433ccd966e87b3c5d7ae756af116e445f6d0':
  Missed use of android_atomic and thread state_.

10 years agoam 0cb6d725: am 070dfc4c: Merge "Fix tracing."
Ian Rogers [Thu, 10 Jul 2014 11:01:14 +0000 (11:01 +0000)]
am 0cb6d725: am 070dfc4c: Merge "Fix tracing."

* commit '0cb6d725ffa27ff3b53761558ae6ced5c047de84':
  Fix tracing.

10 years agoam 3df187cd: am d8079288: Merge "art: fix host dex2oat runtime args"
Colin Cross [Thu, 10 Jul 2014 11:01:13 +0000 (11:01 +0000)]
am 3df187cd: am d8079288: Merge "art: fix host dex2oat runtime args"

* commit '3df187cd2cce35b587baed6e3b46e08fc427aa16':
  art: fix host dex2oat runtime args

10 years agoam fc879248: am 62526c37: Merge "Move thread state to art::Atomic."
Ian Rogers [Thu, 10 Jul 2014 11:01:12 +0000 (11:01 +0000)]
am fc879248: am 62526c37: Merge "Move thread state to art::Atomic."

* commit 'fc87924857d410f4cd21b4dcf5cc0af032e19c5a':
  Move thread state to art::Atomic.

10 years agoam cba6b1fc: Merge "ART: Enable some ARM64 optimizations."
Andreas Gampe [Thu, 10 Jul 2014 10:52:27 +0000 (10:52 +0000)]
am cba6b1fc: Merge "ART: Enable some ARM64 optimizations."

* commit 'cba6b1fc88fd54c35211fd49a7a7501cfcdaa170':
  ART: Enable some ARM64 optimizations.

10 years agoam 5fa647d5: Merge "Slow path for iget should expect return in core reg"
Andreas Gampe [Thu, 10 Jul 2014 10:52:26 +0000 (10:52 +0000)]
am 5fa647d5: Merge "Slow path for iget should expect return in core reg"

* commit '5fa647d5f663033e4ed3d398aece1f8211d7f460':
  Slow path for iget should expect return in core reg

10 years agoam fb16129c: Merge "Global Value Numbering."
Vladimir Marko [Thu, 10 Jul 2014 10:52:25 +0000 (10:52 +0000)]
am fb16129c: Merge "Global Value Numbering."

* commit 'fb16129c3c62f73d00ab7570e147e497e787eaad':
  Global Value Numbering.

10 years agoam b26d1905: Merge "ART: Refactor frontend.cc"
Andreas Gampe [Thu, 10 Jul 2014 09:43:44 +0000 (09:43 +0000)]
am b26d1905: Merge "ART: Refactor frontend.cc"

* commit 'b26d19057eb1ef931164859704ba7cab9cb7243a':
  ART: Refactor frontend.cc

10 years agoam 50fb2436: Merge "Handle potential <clinit>() correctly in LVN."
Vladimir Marko [Thu, 10 Jul 2014 09:43:42 +0000 (09:43 +0000)]
am 50fb2436: Merge "Handle potential <clinit>() correctly in LVN."

* commit '50fb243619d337d20b56d2713d861166d48cb491':
  Handle potential <clinit>() correctly in LVN.

10 years agoam 723b2fc3: Merge "Faster deduplication in OatWriter."
Vladimir Marko [Thu, 10 Jul 2014 09:43:42 +0000 (09:43 +0000)]
am 723b2fc3: Merge "Faster deduplication in OatWriter."

* commit '723b2fc3848bce9f26c54c7080099eba2fdb06ea':
  Faster deduplication in OatWriter.

10 years agoam b2bc3c97: Merge "Fix GC to use art::Atomic rather than compiler intrinsics."
Ian Rogers [Thu, 10 Jul 2014 09:43:41 +0000 (09:43 +0000)]
am b2bc3c97: Merge "Fix GC to use art::Atomic rather than compiler intrinsics."

* commit 'b2bc3c9791e093330be98bc6ca8fb92c41757cb1':
  Fix GC to use art::Atomic rather than compiler intrinsics.

10 years agoam c4f72ec4: Merge "Use memory chunks for monitors on LP64"
Andreas Gampe [Thu, 10 Jul 2014 09:43:40 +0000 (09:43 +0000)]
am c4f72ec4: Merge "Use memory chunks for monitors on LP64"

* commit 'c4f72ec44660f804b595bfaf2b959f46fd2ff00d':
  Use memory chunks for monitors on LP64

10 years agoam af4cf5d7: Merge "Missed use of android_atomic and thread state_."
Ian Rogers [Thu, 10 Jul 2014 09:43:35 +0000 (09:43 +0000)]
am af4cf5d7: Merge "Missed use of android_atomic and thread state_."

* commit 'af4cf5d72a2bf77f0e442bedb208f9227f262c89':
  Missed use of android_atomic and thread state_.

10 years agoam 070dfc4c: Merge "Fix tracing."
Ian Rogers [Thu, 10 Jul 2014 09:43:34 +0000 (09:43 +0000)]
am 070dfc4c: Merge "Fix tracing."

* commit '070dfc4cebb9772a646382be9751d8f4c6b7d69a':
  Fix tracing.

10 years agoam d8079288: Merge "art: fix host dex2oat runtime args"
Colin Cross [Thu, 10 Jul 2014 09:43:34 +0000 (09:43 +0000)]
am d8079288: Merge "art: fix host dex2oat runtime args"

* commit 'd807928876744231ebbe2f07d17439f84d4e0185':
  art: fix host dex2oat runtime args

10 years agoam 62526c37: Merge "Move thread state to art::Atomic."
Ian Rogers [Thu, 10 Jul 2014 09:43:30 +0000 (09:43 +0000)]
am 62526c37: Merge "Move thread state to art::Atomic."

* commit '62526c377fe5242a723f154a373eccf5b9db416d':
  Move thread state to art::Atomic.

10 years agoam 43b6fe02: Merge "Move another field away from android_atomic_cas."
Ian Rogers [Thu, 10 Jul 2014 03:45:39 +0000 (03:45 +0000)]
am 43b6fe02: Merge "Move another field away from android_atomic_cas."

* commit '43b6fe0270477cd47f8dd8b064d006961a44be54':
  Move another field away from android_atomic_cas.

10 years agoam 672f8367: Merge "Revert "Add implicit null and stack checks for x86""
Dave Allison [Thu, 10 Jul 2014 02:00:03 +0000 (02:00 +0000)]
am 672f8367: Merge "Revert "Add implicit null and stack checks for x86""

* commit '672f8367f74e5db7d26714cd6fa1a13fa2a6c59f':
  Revert "Add implicit null and stack checks for x86"

10 years agoam 4770a2e6: Merge "Remove legacy CAS implementations from mutex."
Ian Rogers [Thu, 10 Jul 2014 01:45:08 +0000 (01:45 +0000)]
am 4770a2e6: Merge "Remove legacy CAS implementations from mutex."

* commit '4770a2e6d56398a6b4398fcce14fea43394e0d1b':
  Remove legacy CAS implementations from mutex.

10 years agoMerge "Fix GC to use art::Atomic rather than compiler intrinsics."
Ian Rogers [Thu, 10 Jul 2014 08:14:55 +0000 (08:14 +0000)]
Merge "Fix GC to use art::Atomic rather than compiler intrinsics."

10 years agoFix GC to use art::Atomic rather than compiler intrinsics.
Ian Rogers [Thu, 10 Jul 2014 07:56:36 +0000 (00:56 -0700)]
Fix GC to use art::Atomic rather than compiler intrinsics.

Changes to SpaceBitmap::AtomicTestAndSet and Space::end_. Space::end_ is made
atomic rather than volatile to fully capture all its uses multi-threaded or not
uses.

Change-Id: I3058964b8ad90a8c253b3d7f75585f63ca2fb5e3

10 years agoMerge "Missed use of android_atomic and thread state_."
Ian Rogers [Thu, 10 Jul 2014 06:49:02 +0000 (06:49 +0000)]
Merge "Missed use of android_atomic and thread state_."

10 years agoMissed use of android_atomic and thread state_.
Ian Rogers [Thu, 10 Jul 2014 05:02:36 +0000 (22:02 -0700)]
Missed use of android_atomic and thread state_.

Move to using art::Atomic, add necessary FetchAnd... operations to art::Atomic.

Change-Id: I32f1cdc4e0a2037b73f459bf4bb4d544f357f41b

10 years agoam bcb3b290: Merge "Add notion of released vs empty pages to ROSAlloc."
Mathieu Chartier [Thu, 10 Jul 2014 00:40:14 +0000 (00:40 +0000)]
am bcb3b290: Merge "Add notion of released vs empty pages to ROSAlloc."

* commit 'bcb3b29095817ce8987d8310d4db87271f5114ad':
  Add notion of released vs empty pages to ROSAlloc.

10 years agoMerge "Fix tracing."
Ian Rogers [Thu, 10 Jul 2014 06:37:47 +0000 (06:37 +0000)]
Merge "Fix tracing."

10 years agoFix tracing.
Ian Rogers [Thu, 10 Jul 2014 06:16:06 +0000 (23:16 -0700)]
Fix tracing.

Change-Id: If6837270baec694c00cc1884bae0f1842d49da75

10 years agoam 5de52242: Merge "Add implicit null and stack checks for x86"
Dave Allison [Thu, 10 Jul 2014 00:26:08 +0000 (00:26 +0000)]
am 5de52242: Merge "Add implicit null and stack checks for x86"

* commit '5de52242f3934f1604083d7215cdde1d0cc8ba7a':
  Add implicit null and stack checks for x86

10 years agoam 2929490d: Merge "Move card table away from android_atomic_cas."
Ian Rogers [Thu, 10 Jul 2014 00:21:46 +0000 (00:21 +0000)]
am 2929490d: Merge "Move card table away from android_atomic_cas."

* commit '2929490de9374c2a052cff4cf6957852ebf06d98':
  Move card table away from android_atomic_cas.

10 years agoam 5472edce: Merge "CW on Master: Propagate or throw exception when no class found...
Brian Carlstrom [Thu, 10 Jul 2014 00:16:10 +0000 (00:16 +0000)]
am 5472edce: Merge "CW on Master: Propagate or throw exception when no class found happens in interpreter."

* commit '5472edce3697721099ead9e16427e0e7ace90754':
  CW on Master: Propagate or throw exception when no class found happens in interpreter.

10 years agoam b288a5ad: Merge "Use the icu4c headers from the new location."
Elliott Hughes [Thu, 10 Jul 2014 00:16:09 +0000 (00:16 +0000)]
am b288a5ad: Merge "Use the icu4c headers from the new location."

* commit 'b288a5ad024f99d593aef55e352b46c1a2868af7':
  Use the icu4c headers from the new location.

10 years agoam 91db19b5: Merge "ART: Add simple tests for inlining of CAS"
Andreas Gampe [Thu, 10 Jul 2014 00:16:08 +0000 (00:16 +0000)]
am 91db19b5: Merge "ART: Add simple tests for inlining of CAS"

* commit '91db19b5f14e32878e0a70fa8d43f3412586b821':
  ART: Add simple tests for inlining of CAS

10 years agoam ef9b94cc: Merge "Add easy way to ensure the next allocation does GC."
Mathieu Chartier [Wed, 9 Jul 2014 22:33:33 +0000 (22:33 +0000)]
am ef9b94cc: Merge "Add easy way to ensure the next allocation does GC."

* commit 'ef9b94cc83595bc0c95b0edd5131187998919c7a':
  Add easy way to ensure the next allocation does GC.

10 years agoMerge "Slow path for iget should expect return in core reg"
Andreas Gampe [Thu, 10 Jul 2014 09:29:20 +0000 (09:29 +0000)]
Merge "Slow path for iget should expect return in core reg"

10 years agoSlow path for iget should expect return in core reg
Serguei Katkov [Mon, 7 Jul 2014 17:45:45 +0000 (00:45 +0700)]
Slow path for iget should expect return in core reg

Slow path for iget invokes the C implementation.
In all cases the C function returns the result in core reg.
So implementation should expect the result in core reg
independent on whether it is fp or not.

Change-Id: I57fb0e684c38af22316398d8071f087bd4bd253c
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
10 years agoMerge "Add implicit null and stack checks for x86"
Dave Allison [Thu, 10 Jul 2014 00:16:22 +0000 (00:16 +0000)]
Merge "Add implicit null and stack checks for x86"

10 years agoAdd implicit null and stack checks for x86
Dave Allison [Thu, 29 May 2014 15:20:04 +0000 (08:20 -0700)]
Add implicit null and stack checks for x86

This adds compiler and runtime changes for x86
implicit checks.  32 bit only.

Both host and target are supported.
By default, on the host, the implicit checks are null pointer and
stack overflow.  Suspend is implemented but not switched on.

Change-Id: I88a609e98d6bf32f283eaa4e6ec8bbf8dc1df78a

10 years agoam b796d1bf: Merge "Remove incorrect check for sa_mask in signal chaining"
Dave Allison [Wed, 9 Jul 2014 22:02:26 +0000 (22:02 +0000)]
am b796d1bf: Merge "Remove incorrect check for sa_mask in signal chaining"

* commit 'b796d1bfac8cfaf4dc98f411ae6157f964d4a325':
  Remove incorrect check for sa_mask in signal chaining

10 years agoMerge "Remove legacy CAS implementations from mutex."
Ian Rogers [Thu, 10 Jul 2014 01:37:50 +0000 (01:37 +0000)]
Merge "Remove legacy CAS implementations from mutex."

10 years agoRemove legacy CAS implementations from mutex.
Ian Rogers [Wed, 9 Jul 2014 06:50:26 +0000 (23:50 -0700)]
Remove legacy CAS implementations from mutex.

Removes the use of __sync_bool_compare_and_swap and android_atomic_cas and uses
intention revealing atomic operations from art::Atomic (which will eventually
give way to std::atomic).

Change-Id: Iea44e1923f6706ec04b5459fe25427282c189a7e

10 years agoMerge "Revert "Revert "Quick compiler: remove temporary workaround."""
Andreas Gampe [Thu, 10 Jul 2014 08:07:54 +0000 (08:07 +0000)]
Merge "Revert "Revert "Quick compiler: remove temporary workaround."""

10 years agoRevert "Revert "Quick compiler: remove temporary workaround.""
Andreas Gampe [Thu, 10 Jul 2014 08:03:44 +0000 (08:03 +0000)]
Revert "Revert "Quick compiler: remove temporary workaround.""

This reverts commit f62a9fdf5d22231ce482ebdfd2ebcc1c738ca97b.

This is safe now. Join AOSP behavior.

Change-Id: I8c1b8689cda0fb369e68f1733383eaab771b2cd8

10 years agoam f95e89a0: am 43b6fe02: Merge "Move another field away from android_atomic_cas."
Ian Rogers [Thu, 10 Jul 2014 03:48:18 +0000 (03:48 +0000)]
am f95e89a0: am 43b6fe02: Merge "Move another field away from android_atomic_cas."

* commit 'f95e89a00ed1a2e69c00f30ffed517e17ffd2956':
  Move another field away from android_atomic_cas.

10 years agoam 826d36e3: am 672f8367: Merge "Revert "Add implicit null and stack checks for x86""
Dave Allison [Thu, 10 Jul 2014 02:03:21 +0000 (02:03 +0000)]
am 826d36e3: am 672f8367: Merge "Revert "Add implicit null and stack checks for x86""

* commit '826d36e325fe445600407bfa847daa72b5786a68':
  Revert "Add implicit null and stack checks for x86"

10 years agoam 60c83e0f: am 4770a2e6: Merge "Remove legacy CAS implementations from mutex."
Ian Rogers [Thu, 10 Jul 2014 01:49:19 +0000 (01:49 +0000)]
am 60c83e0f: am 4770a2e6: Merge "Remove legacy CAS implementations from mutex."

* commit '60c83e0f6ea1a82953f37b7ef281e5bf2172c88a':
  Remove legacy CAS implementations from mutex.

10 years agoam 650385ed: am bcb3b290: Merge "Add notion of released vs empty pages to ROSAlloc."
Mathieu Chartier [Thu, 10 Jul 2014 00:50:22 +0000 (00:50 +0000)]
am 650385ed: am bcb3b290: Merge "Add notion of released vs empty pages to ROSAlloc."

* commit '650385ed68a968536290e3bb00732896ae70f094':
  Add notion of released vs empty pages to ROSAlloc.

10 years agoam d224b8c3: am 5de52242: Merge "Add implicit null and stack checks for x86"
Dave Allison [Thu, 10 Jul 2014 00:50:18 +0000 (00:50 +0000)]
am d224b8c3: am 5de52242: Merge "Add implicit null and stack checks for x86"

* commit 'd224b8c3352448ccb231f4f0f89be48afbc4659f':
  Add implicit null and stack checks for x86

10 years agoam a0f17e18: am 2929490d: Merge "Move card table away from android_atomic_cas."
Ian Rogers [Thu, 10 Jul 2014 00:50:17 +0000 (00:50 +0000)]
am a0f17e18: am 2929490d: Merge "Move card table away from android_atomic_cas."

* commit 'a0f17e18f7962912a88d888a90fca2106f6816a9':
  Move card table away from android_atomic_cas.

10 years agoam 37588105: am 5472edce: Merge "CW on Master: Propagate or throw exception when...
Brian Carlstrom [Thu, 10 Jul 2014 00:49:52 +0000 (00:49 +0000)]
am 37588105: am 5472edce: Merge "CW on Master: Propagate or throw exception when no class found happens in interpreter."

* commit '375881057878f0fce290fccb6199b565d5161521':
  CW on Master: Propagate or throw exception when no class found happens in interpreter.

10 years agoam c400ffb9: am b288a5ad: Merge "Use the icu4c headers from the new location."
Elliott Hughes [Thu, 10 Jul 2014 00:49:50 +0000 (00:49 +0000)]
am c400ffb9: am b288a5ad: Merge "Use the icu4c headers from the new location."

* commit 'c400ffb9a015a20e3725c640f32c03796d5388dd':
  Use the icu4c headers from the new location.

10 years agoam 450b94dd: am 91db19b5: Merge "ART: Add simple tests for inlining of CAS"
Andreas Gampe [Thu, 10 Jul 2014 00:49:50 +0000 (00:49 +0000)]
am 450b94dd: am 91db19b5: Merge "ART: Add simple tests for inlining of CAS"

* commit '450b94ddabfe5b5af6b7bcb27acccb37aae1770f':
  ART: Add simple tests for inlining of CAS

10 years agoMerge "Move thread state to art::Atomic."
Ian Rogers [Thu, 10 Jul 2014 04:38:36 +0000 (04:38 +0000)]
Merge "Move thread state to art::Atomic."

10 years agoMove thread state to art::Atomic.
Ian Rogers [Thu, 10 Jul 2014 04:12:06 +0000 (21:12 -0700)]
Move thread state to art::Atomic.

Leaves the CAS operations as relaxed although art::Atomic treats relaxed CAS
as a strong CAS when not compiling with clang.

Change-Id: I6d37c22173540d166b624385e52e4ad05e592adc

10 years agoam c21dc06a: Merge "ART: Check slow_paths_.Size() every time"
Ian Rogers [Wed, 9 Jul 2014 20:41:35 +0000 (20:41 +0000)]
am c21dc06a: Merge "ART: Check slow_paths_.Size() every time"

* commit 'c21dc06adc8c8447561208a3fb72ccf6d0443613':
  ART: Check slow_paths_.Size() every time

10 years agoam 68e5f442: Merge "x86_64: GenInlinedCas must use wide rl_src_offset under 64-bit...
Ian Rogers [Wed, 9 Jul 2014 20:37:53 +0000 (20:37 +0000)]
am 68e5f442: Merge "x86_64: GenInlinedCas must use wide rl_src_offset under 64-bit targets"

* commit '68e5f4421001a2ba885d822971c375368520ea8c':
  x86_64: GenInlinedCas must use wide rl_src_offset under 64-bit targets

10 years agoMerge "Handle potential <clinit>() correctly in LVN."
Vladimir Marko [Thu, 10 Jul 2014 08:22:12 +0000 (08:22 +0000)]
Merge "Handle potential <clinit>() correctly in LVN."

10 years agoMerge "Global Value Numbering."
Vladimir Marko [Thu, 10 Jul 2014 09:12:40 +0000 (09:12 +0000)]
Merge "Global Value Numbering."

10 years agoGlobal Value Numbering.
Vladimir Marko [Fri, 30 May 2014 09:01:32 +0000 (10:01 +0100)]
Global Value Numbering.

Implement the Global Value Numbering for optimization
purposes. Use it for the null check and range check
elimination as the LVN used to do.

The order of evaluation of basic blocks needs improving as
we currently fail to recognize some obviously identical
values in methods with more than one loop. (There are three
disabled tests that check this. This is just a missed
optimization, not a correctness issue.)

Change-Id: I0d0ce16b2495b5a3b17ad1b2b32931cd69f5a25a

10 years agoMerge "Faster deduplication in OatWriter."
Vladimir Marko [Thu, 10 Jul 2014 08:21:49 +0000 (08:21 +0000)]
Merge "Faster deduplication in OatWriter."

10 years agoam a76dc41f: Merge "Allow method tracing for run-test"
Ian Rogers [Wed, 9 Jul 2014 19:35:04 +0000 (19:35 +0000)]
am a76dc41f: Merge "Allow method tracing for run-test"

* commit 'a76dc41fb21b6fba74f70188fdc53e1a5bf2c2cb':
  Allow method tracing for run-test

10 years agoam 0f635b10: Merge "Fix method tracing from command-line"
Ian Rogers [Wed, 9 Jul 2014 19:35:03 +0000 (19:35 +0000)]
am 0f635b10: Merge "Fix method tracing from command-line"

* commit '0f635b103c1fff6439d47bdae363afeffe7327fd':
  Fix method tracing from command-line

10 years agoFaster deduplication in OatWriter.
Vladimir Marko [Wed, 9 Jul 2014 15:06:40 +0000 (16:06 +0100)]
Faster deduplication in OatWriter.

Use lower_bound() to look for duplicates and use it as
a hint for insertion of new entries. Add a few useful
functions to SafeMap<>.

Change-Id: If7eab3f5d153be6e0d7ae040929849f1a636ee29

10 years agoam 32710dd4: Merge "x86_64: enable Peek and Poke intrinsics"
Ian Rogers [Wed, 9 Jul 2014 15:33:23 +0000 (15:33 +0000)]
am 32710dd4: Merge "x86_64: enable Peek and Poke intrinsics"

* commit '32710dd4a0232149002a5ae7bde1c640cdffd564':
  x86_64: enable Peek and Poke intrinsics

10 years agoHandle potential <clinit>() correctly in LVN.
Vladimir Marko [Wed, 9 Jul 2014 13:45:36 +0000 (14:45 +0100)]
Handle potential <clinit>() correctly in LVN.

Bug: 16177324
Change-Id: I727ab6ce9aa9a608fe570cf391a6b732a12a8655

10 years agoMerge "ART: Check slow_paths_.Size() every time"
Ian Rogers [Wed, 9 Jul 2014 20:31:18 +0000 (20:31 +0000)]
Merge "ART: Check slow_paths_.Size() every time"

10 years agoART: Check slow_paths_.Size() every time
Chao-ying Fu [Tue, 8 Jul 2014 00:13:52 +0000 (17:13 -0700)]
ART: Check slow_paths_.Size() every time

This patch fixes a bug, when a new slow path is created
during slowpath->Compile().

Change-Id: I4896a82781102694c25f4483112c6de3c56e072c
Signed-off-by: Chao-ying Fu <chao-ying.fu@intel.com>
10 years agoMerge "Fix method tracing from command-line"
Ian Rogers [Wed, 9 Jul 2014 18:52:43 +0000 (18:52 +0000)]
Merge "Fix method tracing from command-line"

10 years agoMerge "x86_64: enable Peek and Poke intrinsics"
Ian Rogers [Wed, 9 Jul 2014 15:26:09 +0000 (15:26 +0000)]
Merge "x86_64: enable Peek and Poke intrinsics"

10 years agoMerge "ART: Enable some ARM64 optimizations."
Andreas Gampe [Thu, 10 Jul 2014 10:03:29 +0000 (10:03 +0000)]
Merge "ART: Enable some ARM64 optimizations."

10 years agoART: Enable some ARM64 optimizations.
Andreas Gampe [Thu, 10 Jul 2014 09:04:01 +0000 (02:04 -0700)]
ART: Enable some ARM64 optimizations.

Enables kSuppressLoads, kTrackLiveTemps, kSafeOptimizations,
kPromoteCompilerTemps, kClassInitCheckElimination,
kSuppressExceptionEdges and kMatch.

Change-Id: Id3650adce7140dde8d667cd3f1b4a1c2598f156e

10 years agoMerge "Use memory chunks for monitors on LP64"
Andreas Gampe [Thu, 10 Jul 2014 07:54:06 +0000 (07:54 +0000)]
Merge "Use memory chunks for monitors on LP64"