OSDN Git Service

android-x86/art.git
8 years agoMerge \\"ARM: Change mem address mode for array accesses.\\" am: c17e6d3f0d
Vladimir Marko [Wed, 20 Jul 2016 09:31:12 +0000 (09:31 +0000)]
Merge \\"ARM: Change mem address mode for array accesses.\\" am: c17e6d3f0d
am: 5ae90905ce

Change-Id: I3a2a756aff25f4c112f59cee9d19beeb32e6de59

8 years agoMerge \"ARM: Change mem address mode for array accesses.\"
Artem Serov [Wed, 20 Jul 2016 09:28:14 +0000 (09:28 +0000)]
Merge \"ARM: Change mem address mode for array accesses.\"
am: c17e6d3f0d

Change-Id: I2d7b575279de5633edb5cfe22167fcfd7cdd8267

8 years agoMerge "ARM: Change mem address mode for array accesses."
Vladimir Marko [Wed, 20 Jul 2016 09:20:55 +0000 (09:20 +0000)]
Merge "ARM: Change mem address mode for array accesses."

8 years agoARM: Change mem address mode for array accesses.
Artem Serov [Mon, 11 Jul 2016 13:02:34 +0000 (14:02 +0100)]
ARM: Change mem address mode for array accesses.

Switch from:
  add IP, r[Array], r[Index], LSL #2
  ldr r0, [IP, #12]
To:
  add IP. r[Array], #12
  ldr r0, [IP, r[Index], LSL #2]

These is a base for the future TryExtractArrayAccessAddress
optimization port to arm.

Test: aosp_shamu-userdebug boots and passes "m test-art-target".
Change-Id: I6ab01ba3271a8f79599ddd91a6b63cd1b37d2d67

8 years agoMerge \\"Refactor SSA deconstruction into its own class\\" am: dc4f4d42aa
Matthew Gharrity [Wed, 20 Jul 2016 00:22:38 +0000 (00:22 +0000)]
Merge \\"Refactor SSA deconstruction into its own class\\" am: dc4f4d42aa
am: 2bb481b75c

Change-Id: Icefcb18977b0e343e2faa239aa3a927c7f7ad295

8 years agoMerge \"Refactor SSA deconstruction into its own class\"
Matthew Gharrity [Wed, 20 Jul 2016 00:05:08 +0000 (00:05 +0000)]
Merge \"Refactor SSA deconstruction into its own class\"
am: dc4f4d42aa

Change-Id: Ie844ec62bcea08ad24ac0a6682adbf632e4e69e3

8 years agoMerge "Refactor SSA deconstruction into its own class"
Treehugger Robot [Wed, 20 Jul 2016 00:02:38 +0000 (00:02 +0000)]
Merge "Refactor SSA deconstruction into its own class"

8 years agoMerge \\"Tune the GC ergnomics for the read barrier config.\\" am: 0331aa7274
Hiroshi Yamauchi [Tue, 19 Jul 2016 23:52:27 +0000 (23:52 +0000)]
Merge \\"Tune the GC ergnomics for the read barrier config.\\" am: 0331aa7274
am: 61b07eb778

Change-Id: Iaf4d2fa18aee0f25987410ffa68b4da2eb586853

8 years agoMerge \\"Disable warnings triggered in Clang r271374\\" am: 73e83ec579
Stephen Hines [Tue, 19 Jul 2016 23:50:52 +0000 (23:50 +0000)]
Merge \\"Disable warnings triggered in Clang r271374\\" am: 73e83ec579
am: 8748c04bca

Change-Id: I47c22d97cd2173ffa79b9979b12dd41edc50d01a

8 years agoMerge \"Tune the GC ergnomics for the read barrier config.\"
Hiroshi Yamauchi [Tue, 19 Jul 2016 23:44:05 +0000 (23:44 +0000)]
Merge \"Tune the GC ergnomics for the read barrier config.\"
am: 0331aa7274

Change-Id: Ib31f3c99bee9236746b8ac5eb5615bd794abeb29

8 years agoMerge \"Disable warnings triggered in Clang r271374\"
Pirama Arumuga Nainar [Tue, 19 Jul 2016 23:40:18 +0000 (23:40 +0000)]
Merge \"Disable warnings triggered in Clang r271374\"
am: 73e83ec579

Change-Id: I7badac5ae194cda9411ea2856a30e4add8fc1ed8

8 years agoMerge "Tune the GC ergnomics for the read barrier config."
Treehugger Robot [Tue, 19 Jul 2016 22:07:57 +0000 (22:07 +0000)]
Merge "Tune the GC ergnomics for the read barrier config."

8 years agoMerge "Disable warnings triggered in Clang r271374"
Stephen Hines [Tue, 19 Jul 2016 22:02:31 +0000 (22:02 +0000)]
Merge "Disable warnings triggered in Clang r271374"

8 years agoRefactor SSA deconstruction into its own class
Matthew Gharrity [Mon, 18 Jul 2016 20:38:44 +0000 (13:38 -0700)]
Refactor SSA deconstruction into its own class

Test: m test-art-host

Change-Id: Ie82c2802f76f27512ef922ba583caeccf5675063

8 years agoDisable warnings triggered in Clang r271374
Pirama Arumuga Nainar [Tue, 28 Jun 2016 17:51:10 +0000 (10:51 -0700)]
Disable warnings triggered in Clang r271374

http://b/28149048
http://b/29823425

Disable -Wconstant-conversion and -Wundefined-var-template.  The second
bug above tracks that these warnings get reenabled.

Test: Tested build, boot and common usage for Arm, Arm64, x86, x86_64,
Mips images in AOSP and internal branch.

Change-Id: Iea20cf6b5dbec3247b55cf8130f88202e786e367

8 years agoTune the GC ergnomics for the read barrier config.
Hiroshi Yamauchi [Tue, 19 Jul 2016 00:07:26 +0000 (17:07 -0700)]
Tune the GC ergnomics for the read barrier config.

Add 1.0 to the heap growth multiplier for the read barrier config, which
reduces the GC frequency down to roughly the same as CMS in one of the
jank tests.

Bug: 29517059
Bug: 12687968
Test: ART run-tests.
Change-Id: I1302a2f17e862f152d2f92bc06a65c9e6defcba0

8 years agoMerge \\"ARM: Fix shifted register offset mem address mode for load signed.\\" am...
Vladimir Marko [Tue, 19 Jul 2016 12:45:38 +0000 (12:45 +0000)]
Merge \\"ARM: Fix shifted register offset mem address mode for load signed.\\" am: bae13af2fc
am: e743f45582

Change-Id: I342bc690d3eb3f3dfa52bb4b61e5139d736a9561

8 years agoMerge \"ARM: Fix shifted register offset mem address mode for load signed.\"
Artem Serov [Tue, 19 Jul 2016 12:42:42 +0000 (12:42 +0000)]
Merge \"ARM: Fix shifted register offset mem address mode for load signed.\"
am: bae13af2fc

Change-Id: I0c647d242f865e8a67dce0ef17388e7113a2f6a7

8 years agoMerge "ARM: Fix shifted register offset mem address mode for load signed."
Vladimir Marko [Tue, 19 Jul 2016 12:37:33 +0000 (12:37 +0000)]
Merge "ARM: Fix shifted register offset mem address mode for load signed."

8 years agoARM: Fix shifted register offset mem address mode for load signed.
Artem Serov [Mon, 11 Jul 2016 13:00:46 +0000 (14:00 +0100)]
ARM: Fix shifted register offset mem address mode for load signed.

For example 'ldrsh r0, [sp, r1, LSL #2]' previously
was assembled as 'ldrh'.

Test: New test in assembler_thumb2_test.cc .
Change-Id: I1d30724f0c2745b131876bffefdc0a780d76f6a1

8 years agoMerge \\"Do allocation fence before pushing on allocation stack\\" am: 2be946bbf9
Mathieu Chartier [Mon, 18 Jul 2016 23:06:21 +0000 (23:06 +0000)]
Merge \\"Do allocation fence before pushing on allocation stack\\" am: 2be946bbf9
am: 6631f8824f

Change-Id: Idf1eaacb7e46ed160d3f6852d7a8ca6aa756fc2c

8 years agoMerge \"Do allocation fence before pushing on allocation stack\"
Mathieu Chartier [Mon, 18 Jul 2016 23:04:22 +0000 (23:04 +0000)]
Merge \"Do allocation fence before pushing on allocation stack\"
am: 2be946bbf9

Change-Id: I9506c94419d6fcddeba63264fbc75c83ac1c4ffa

8 years agoMerge "Do allocation fence before pushing on allocation stack"
Treehugger Robot [Mon, 18 Jul 2016 22:53:44 +0000 (22:53 +0000)]
Merge "Do allocation fence before pushing on allocation stack"

8 years agoDo allocation fence before pushing on allocation stack
Mathieu Chartier [Mon, 18 Jul 2016 18:11:45 +0000 (11:11 -0700)]
Do allocation fence before pushing on allocation stack

Heap::VisitObjects relies on having valid classes for objects in
the allocation stack. If the writes reorder, the thread calling
VisitObjects could see the free list pointer instead of the class
of the object. I believe this is causing crashes in VisitObjects.

Bug: 28790624

Test: Volantis booted

Change-Id: I0f2d4097de1ef3f5caf670ecc977d4d6837872ca

8 years agoMerge \\"Rename current register allocator implementation\\" am: 0c67ddaff8
Matthew Gharrity [Mon, 18 Jul 2016 19:50:47 +0000 (19:50 +0000)]
Merge \\"Rename current register allocator implementation\\" am: 0c67ddaff8
am: 407e663d22

Change-Id: Icc223a8ce610b234e6540eaeebdd2fbe6edcb7df

8 years agoMerge \"Rename current register allocator implementation\"
Matthew Gharrity [Mon, 18 Jul 2016 19:47:48 +0000 (19:47 +0000)]
Merge \"Rename current register allocator implementation\"
am: 0c67ddaff8

Change-Id: I7adac5a5f5a9ba63fcb0097d94b31ede77597e98

8 years agoMerge "Rename current register allocator implementation"
Treehugger Robot [Mon, 18 Jul 2016 19:35:11 +0000 (19:35 +0000)]
Merge "Rename current register allocator implementation"

8 years agoMerge \\"ART: Fix run-test script\\" am: 64a73d790d
Andreas Gampe [Mon, 18 Jul 2016 19:01:13 +0000 (19:01 +0000)]
Merge \\"ART: Fix run-test script\\" am: 64a73d790d
am: 5af55b212d

Change-Id: Id048e0a30393b979e040b0df28603e8e8b2698f8

8 years agoMerge \"ART: Fix run-test script\"
Andreas Gampe [Mon, 18 Jul 2016 18:57:44 +0000 (18:57 +0000)]
Merge \"ART: Fix run-test script\"
am: 64a73d790d

Change-Id: I9dd051ba4a63c536a1a45ac7a30bc80cd380f5ff

8 years agoMerge "ART: Fix run-test script"
Treehugger Robot [Mon, 18 Jul 2016 18:49:56 +0000 (18:49 +0000)]
Merge "ART: Fix run-test script"

8 years agoART: Fix run-test script
Andreas Gampe [Sat, 25 Jun 2016 05:30:29 +0000 (22:30 -0700)]
ART: Fix run-test script

Don't assume out is under BUILD_TOP.

Test: run-test with OUT_DIR_COMMON_BASE set
Change-Id: Iba408e807e6a15ff60de54d6d4d653814d4b11d0

8 years agoMerge \\"MIPS64: Highest/Lowest Bit Intrinsic Support\\" am: 4c489f48ef
Roland Levillain [Mon, 18 Jul 2016 15:48:59 +0000 (15:48 +0000)]
Merge \\"MIPS64: Highest/Lowest Bit Intrinsic Support\\" am: 4c489f48ef
am: 8ef385099a

Change-Id: I79e1d52b6a0af68f93296bf517fefeba64cd1b59

8 years agoMerge \"MIPS64: Highest/Lowest Bit Intrinsic Support\"
Chris Larsen [Mon, 18 Jul 2016 15:45:33 +0000 (15:45 +0000)]
Merge \"MIPS64: Highest/Lowest Bit Intrinsic Support\"
am: 4c489f48ef

Change-Id: Iab39b42ed59a14a8cd02b8a357bb404d65cdd09f

8 years agoMerge "MIPS64: Highest/Lowest Bit Intrinsic Support"
Roland Levillain [Mon, 18 Jul 2016 15:40:34 +0000 (15:40 +0000)]
Merge "MIPS64: Highest/Lowest Bit Intrinsic Support"

8 years agoMerge \\"Fix the build with respect to new VIXL.\\" am: 11502fb83b
Roland Levillain [Mon, 18 Jul 2016 15:21:00 +0000 (15:21 +0000)]
Merge \\"Fix the build with respect to new VIXL.\\" am: 11502fb83b
am: f34d34524e

Change-Id: I98d54c97b1c866c1828f84f72aa206f27db2b577

8 years agoMerge \"Fix the build with respect to new VIXL.\"
Roland Levillain [Mon, 18 Jul 2016 15:18:01 +0000 (15:18 +0000)]
Merge \"Fix the build with respect to new VIXL.\"
am: 11502fb83b

Change-Id: I592e4fa47a4c443fadb174a18d13d98f09fc4beb

8 years agoMerge "Fix the build with respect to new VIXL."
Roland Levillain [Mon, 18 Jul 2016 15:07:19 +0000 (15:07 +0000)]
Merge "Fix the build with respect to new VIXL."

8 years agoFix the build with respect to new VIXL.
Roland Levillain [Mon, 18 Jul 2016 15:03:05 +0000 (16:03 +0100)]
Fix the build with respect to new VIXL.

Test: Build ART for ARM64.
Change-Id: I2a9ebf145c61db9f8ceec6616963bac3ad5a7eb9

8 years agoMerge \\"Fixes to build against new VIXL interface.\\" am: 5668e58daf
Roland Levillain [Mon, 18 Jul 2016 14:36:01 +0000 (14:36 +0000)]
Merge \\"Fixes to build against new VIXL interface.\\" am: 5668e58daf
am: 4bc7404c60

Change-Id: I5d8df7a549efff6f3cfc963db7f67e700d0e87f0

8 years agoMerge \"Fixes to build against new VIXL interface.\"
Scott Wakeling [Mon, 18 Jul 2016 14:33:16 +0000 (14:33 +0000)]
Merge \"Fixes to build against new VIXL interface.\"
am: 5668e58daf

Change-Id: I588dd05f58c50d5d50d5dd12b1dbf9e83819968d

8 years agoMerge "Fixes to build against new VIXL interface."
Roland Levillain [Mon, 18 Jul 2016 14:28:05 +0000 (14:28 +0000)]
Merge "Fixes to build against new VIXL interface."

8 years agoMerge \\"Add a new control flow simplifier.\\" am: 24670a7aac
Nicolas Geoffray [Mon, 18 Jul 2016 12:26:16 +0000 (12:26 +0000)]
Merge \\"Add a new control flow simplifier.\\" am: 24670a7aac
am: edde16a482

Change-Id: Iabc6265d6740346966966467fe2edcf9f2249c85

8 years agoMerge \"Add a new control flow simplifier.\"
Nicolas Geoffray [Mon, 18 Jul 2016 12:23:19 +0000 (12:23 +0000)]
Merge \"Add a new control flow simplifier.\"
am: 24670a7aac

Change-Id: Ic6ee515aaee1feabf30c874bedc20aa8670cbbb3

8 years agoMerge "Add a new control flow simplifier."
Nicolas Geoffray [Mon, 18 Jul 2016 12:16:46 +0000 (12:16 +0000)]
Merge "Add a new control flow simplifier."

8 years agoMerge \\"ARM64: Improve code generated to spill/restore for slow paths.\\" am: 471c2270aa
Alexandre Rames [Mon, 18 Jul 2016 11:28:13 +0000 (11:28 +0000)]
Merge \\"ARM64: Improve code generated to spill/restore for slow paths.\\" am: 471c2270aa
am: 2f130700c9

Change-Id: I76b2cc087f05030c8993f4aeb31f922708267c39

8 years agoMerge \"ARM64: Improve code generated to spill/restore for slow paths.\"
Alexandre Rames [Mon, 18 Jul 2016 11:25:16 +0000 (11:25 +0000)]
Merge \"ARM64: Improve code generated to spill/restore for slow paths.\"
am: 471c2270aa

Change-Id: Ic804eca9bac139147a6df8ccab3dbc97f1eadf5d

8 years agoMerge "ARM64: Improve code generated to spill/restore for slow paths."
Treehugger Robot [Mon, 18 Jul 2016 11:19:14 +0000 (11:19 +0000)]
Merge "ARM64: Improve code generated to spill/restore for slow paths."

8 years agoARM64: Improve code generated to spill/restore for slow paths.
Alexandre Rames [Fri, 15 Jul 2016 16:41:13 +0000 (17:41 +0100)]
ARM64: Improve code generated to spill/restore for slow paths.

Aligning the accesses allows generating better code.

Before:

    add x16, sp, #0x44 (68)
    stp x0, x1, [x16, #-16]

After:

    stp x0, x1, [sp, #56]

Change-Id: I3e20ad3fa59d00aee4b4d14ea9d59c7cd546509e

8 years agoAdd a new control flow simplifier.
Nicolas Geoffray [Fri, 15 Jul 2016 09:46:17 +0000 (10:46 +0100)]
Add a new control flow simplifier.

Run it in the dead code elimination phase, as it relates to
creating dead branches.

From 0.04 to 0.07% less code size framework/gms/docs/fb (70K saved on fb)
3%-5% runtime performance improvements on Richards/DeltaBlue/Ritz.
Compile-time is mixed, so in the noise (from 2% slower to 1% faster).

test:611-checker-simplify-if

Change-Id: Ife8b7882d57b5481f5ca9dc163beba655d7e78bf

8 years agoMerge \\"ART: Replace ScopedFd with FdFile\\" am: 173f435e56
Andreas Gampe [Sat, 16 Jul 2016 04:54:57 +0000 (04:54 +0000)]
Merge \\"ART: Replace ScopedFd with FdFile\\" am: 173f435e56
am: b1057359e6

Change-Id: I18c779bde7247cde666d372af63a1c97a9486615

8 years agoMerge \"ART: Replace ScopedFd with FdFile\"
Andreas Gampe [Sat, 16 Jul 2016 04:51:29 +0000 (04:51 +0000)]
Merge \"ART: Replace ScopedFd with FdFile\"
am: 173f435e56

Change-Id: Ibcd5c857690db1374dfa4bf2920e78569bcd876d

8 years agoMerge "ART: Replace ScopedFd with FdFile"
Treehugger Robot [Sat, 16 Jul 2016 04:46:46 +0000 (04:46 +0000)]
Merge "ART: Replace ScopedFd with FdFile"

8 years agoART: Replace ScopedFd with FdFile
Andreas Gampe [Sat, 16 Jul 2016 00:17:34 +0000 (17:17 -0700)]
ART: Replace ScopedFd with FdFile

FdFile can now be used like ScopedFd. Remove ScopedFd.

Bug: 21192156
Test: m test-art-host
Test: m test-art-target (shamu)
Change-Id: I32115fa8b2b8bb5aa5d1886eae63522f80ce836b

8 years agoRename current register allocator implementation
Matthew Gharrity [Thu, 14 Jul 2016 21:08:16 +0000 (14:08 -0700)]
Rename current register allocator implementation

This will allow a cleaner commit in an upcoming
refactoring of register allocation.

Test: m test-art-host

Change-Id: If420c97b088b3c934411ff83373e024003120746

8 years agoMerge \\"ART: disassembler_x86 doesn\\'t recognize NOPs\\" am: 161c866ca7
Serdjuk, Nikolay Y [Fri, 15 Jul 2016 16:48:37 +0000 (16:48 +0000)]
Merge \\"ART: disassembler_x86 doesn\\'t recognize NOPs\\" am: 161c866ca7
am: da75a752b2

Change-Id: I493a85b5a6d661f052616d8507632b6561f6f3bc

8 years agoMerge \"ART: disassembler_x86 doesn\'t recognize NOPs\"
Serdjuk, Nikolay Y [Fri, 15 Jul 2016 16:45:09 +0000 (16:45 +0000)]
Merge \"ART: disassembler_x86 doesn\'t recognize NOPs\"
am: 161c866ca7

Change-Id: I5b43d2844e64a74104bd916307b843165a4a12d3

8 years agoMerge "ART: disassembler_x86 doesn't recognize NOPs"
Treehugger Robot [Fri, 15 Jul 2016 16:40:28 +0000 (16:40 +0000)]
Merge "ART: disassembler_x86 doesn't recognize NOPs"

8 years agoFixes to build against new VIXL interface.
Scott Wakeling [Fri, 24 Jun 2016 15:19:36 +0000 (16:19 +0100)]
Fixes to build against new VIXL interface.

- Fix namespace usage and use of deprecated functions.
- Link all dependants to new libvixl-arm64 target for now.

Change-Id: Iee6f299784fd663fc2a759f3ee816fdbc511e509

8 years agoMerge changes from topic \\'cherry_pinner\\' am: edec0eb18d
Andreas Gampe [Fri, 15 Jul 2016 00:58:12 +0000 (00:58 +0000)]
Merge changes from topic \\'cherry_pinner\\' am: edec0eb18d
am: c03ec97cad

Change-Id: I18ad89dec50e4d9f91ce1c8df965c986a0bb0c31

8 years agoMerge changes from topic \'cherry_pinner\'
Andreas Gampe [Fri, 15 Jul 2016 00:54:54 +0000 (00:54 +0000)]
Merge changes from topic \'cherry_pinner\'
am: edec0eb18d

Change-Id: Ie07251a8addccdfbfa642b586bc05ed2cfac1b07

8 years agoMerge changes from topic 'cherry_pinner'
Andreas Gampe [Fri, 15 Jul 2016 00:45:22 +0000 (00:45 +0000)]
Merge changes from topic 'cherry_pinner'

* changes:
  ART: Fix build break
  Add API for getting location of odex or oat file

8 years agoART: Fix build break
Andreas Gampe [Thu, 14 Jul 2016 23:50:52 +0000 (16:50 -0700)]
ART: Fix build break

Build break introduced by mismatch from merges.

Bug: 28251566

(cherry picked from commit a472e4fd6260740af230bab7be5740d8c7bac360)

Test: m test-art-host
Change-Id: I83a333dd7394af630c5a79153d4838eb3a910714

8 years agoAdd API for getting location of odex or oat file
Philip Cuadra [Tue, 12 Jul 2016 23:37:40 +0000 (16:37 -0700)]
Add API for getting location of odex or oat file

Add an API for getting the file path of odex or oat file given a dex
path.

Bug 28251566

(cherry picked from commit b4827ace453b9280060a826e8f22cc8c9b6edb7d)

Change-Id: Ibebaa20f15d8135b25d9eb5927b7979801ebf0b2

8 years agoMerge \\"Revert \\"Revert \\"Dump more dex file data in oatdump\\"\\"\\" am: 05d9a647a6
Mathieu Chartier [Thu, 14 Jul 2016 21:19:25 +0000 (21:19 +0000)]
Merge \\"Revert \\"Revert \\"Dump more dex file data in oatdump\\"\\"\\" am: 05d9a647a6
am: 9c26f22584

Change-Id: If4cbcba0fe9853d787eadaf731abcb5f96984f51

8 years agoMerge \"Revert \"Revert \"Dump more dex file data in oatdump\"\"\"
Mathieu Chartier [Thu, 14 Jul 2016 21:16:25 +0000 (21:16 +0000)]
Merge \"Revert \"Revert \"Dump more dex file data in oatdump\"\"\"
am: 05d9a647a6

Change-Id: Id0e8315df8d934d1ac652c8baa520ba58d2db19d

8 years agoMerge "Revert "Revert "Dump more dex file data in oatdump"""
Treehugger Robot [Thu, 14 Jul 2016 21:09:55 +0000 (21:09 +0000)]
Merge "Revert "Revert "Dump more dex file data in oatdump"""

8 years agoRevert "Revert "Dump more dex file data in oatdump""
Mathieu Chartier [Thu, 14 Jul 2016 17:10:44 +0000 (10:10 -0700)]
Revert "Revert "Dump more dex file data in oatdump""

Delete runtime to fix leak before callin exit.

Bug: 29462018

This reverts commit 9c05578dd2306231437bd290c0f70abc2bb3b6d8.

Change-Id: Ica23ba0f2d07496d0e4a3288329945f612ac3b20

8 years agoMerge \\"Integer.bitCount and Long.bitCount intrinsics for ARM\\" am: f18f3cb337
xueliang.zhong [Thu, 14 Jul 2016 19:52:50 +0000 (19:52 +0000)]
Merge \\"Integer.bitCount and Long.bitCount intrinsics for ARM\\" am: f18f3cb337
am: bc76799ba9

Change-Id: Ie63a98345ac7be6f2a4bd3f001c2b884487ade90

8 years agoMerge \"Integer.bitCount and Long.bitCount intrinsics for ARM\"
xueliang.zhong [Thu, 14 Jul 2016 19:49:51 +0000 (19:49 +0000)]
Merge \"Integer.bitCount and Long.bitCount intrinsics for ARM\"
am: f18f3cb337

Change-Id: I920dbbe308feb3999966fb9f9fa7e1f6cf1d1fa1

8 years agoMerge "Integer.bitCount and Long.bitCount intrinsics for ARM"
Treehugger Robot [Thu, 14 Jul 2016 19:44:38 +0000 (19:44 +0000)]
Merge "Integer.bitCount and Long.bitCount intrinsics for ARM"

8 years agoMerge \\"ART: Add FdFile constructors\\" am: 2fce5cf079
Andreas Gampe [Thu, 14 Jul 2016 18:58:13 +0000 (18:58 +0000)]
Merge \\"ART: Add FdFile constructors\\" am: 2fce5cf079
am: 0c2edd89b6

Change-Id: Ie1b78347e3d64b95c0f2ddae97b530cf1f5dd1e9

8 years agoMerge \"ART: Add FdFile constructors\"
Andreas Gampe [Thu, 14 Jul 2016 18:55:19 +0000 (18:55 +0000)]
Merge \"ART: Add FdFile constructors\"
am: 2fce5cf079

Change-Id: Iba1dd0dbe494aa365dc0b6a4727a34721f2bd1d8

8 years agoMerge "ART: Add FdFile constructors"
Treehugger Robot [Thu, 14 Jul 2016 18:48:03 +0000 (18:48 +0000)]
Merge "ART: Add FdFile constructors"

8 years agoInteger.bitCount and Long.bitCount intrinsics for ARM
xueliang.zhong [Tue, 5 Jul 2016 14:28:19 +0000 (15:28 +0100)]
Integer.bitCount and Long.bitCount intrinsics for ARM

Change-Id: I4ed3e779415be026c7d090b61a3e356b37c418e5

8 years agoMerge \\"Introduce more compact ReadBarrierMark slow-paths.\\" am: 2c30a37342
Roland Levillain [Thu, 14 Jul 2016 09:41:58 +0000 (09:41 +0000)]
Merge \\"Introduce more compact ReadBarrierMark slow-paths.\\" am: 2c30a37342
am: 333b9e1f3b

Change-Id: Ie71cb6cd05a6590137b35cd3dd4761e5704ca107

8 years agoMerge \\"Revert \\"Dump more dex file data in oatdump\\"\\" am: 7598736db0
Nicolas Geoffray [Thu, 14 Jul 2016 09:41:55 +0000 (09:41 +0000)]
Merge \\"Revert \\"Dump more dex file data in oatdump\\"\\" am: 7598736db0
am: da9d11c5c3

Change-Id: I49eb03f31456e8a542aeaf6b7f67f35247b0d7b7

8 years agoMerge \"Introduce more compact ReadBarrierMark slow-paths.\"
Roland Levillain [Thu, 14 Jul 2016 09:37:56 +0000 (09:37 +0000)]
Merge \"Introduce more compact ReadBarrierMark slow-paths.\"
am: 2c30a37342

Change-Id: I2101a1ca0c37c53499bb1bb75a6acb6e6b921c11

8 years agoMerge \"Revert \"Dump more dex file data in oatdump\"\"
Nicolas Geoffray [Thu, 14 Jul 2016 09:37:35 +0000 (09:37 +0000)]
Merge \"Revert \"Dump more dex file data in oatdump\"\"
am: 7598736db0

Change-Id: I2d2efa7dbbd64d28d5ed80dc00940ca1e284e39d

8 years agoMerge "Introduce more compact ReadBarrierMark slow-paths."
Roland Levillain [Thu, 14 Jul 2016 09:32:34 +0000 (09:32 +0000)]
Merge "Introduce more compact ReadBarrierMark slow-paths."

8 years agoMerge "Revert "Dump more dex file data in oatdump""
Nicolas Geoffray [Thu, 14 Jul 2016 09:24:45 +0000 (09:24 +0000)]
Merge "Revert "Dump more dex file data in oatdump""

8 years agoRevert "Dump more dex file data in oatdump"
Nicolas Geoffray [Thu, 14 Jul 2016 09:24:30 +0000 (09:24 +0000)]
Revert "Dump more dex file data in oatdump"

Breaks valgrind.

Bug: 29462018

This reverts commit 8e2c56252aa9527bd9a82bdd147fdc46cf5deb9c.

Change-Id: If58cedcee75dd0eda8571e90d63e080a4709d773

8 years agoMerge \\"Fix a bug in ClassTableGet code generation for IMTs.\\" am: 09d77fac67
Nicolas Geoffray [Thu, 14 Jul 2016 08:05:46 +0000 (08:05 +0000)]
Merge \\"Fix a bug in ClassTableGet code generation for IMTs.\\" am: 09d77fac67
am: 75141e1212

Change-Id: If809ab128ac7cae16176ca6776b93678880526dd

8 years agoMerge \"Fix a bug in ClassTableGet code generation for IMTs.\"
Nicolas Geoffray [Thu, 14 Jul 2016 08:02:29 +0000 (08:02 +0000)]
Merge \"Fix a bug in ClassTableGet code generation for IMTs.\"
am: 09d77fac67

Change-Id: I2b756a64600300f000e304990ba0f7e9c8dbea0b

8 years agoMerge "Fix a bug in ClassTableGet code generation for IMTs."
Nicolas Geoffray [Thu, 14 Jul 2016 07:56:16 +0000 (07:56 +0000)]
Merge "Fix a bug in ClassTableGet code generation for IMTs."

8 years agoART: Add FdFile constructors
Andreas Gampe [Thu, 13 Aug 2015 23:44:54 +0000 (16:44 -0700)]
ART: Add FdFile constructors

Make Open protected, and expose constructors instead. Add a move
constructor and move assignment operator.

Add OS functions that return the FdFile non-pointer version.

Add tests.

Bug: 21192156
Test: m test-art-host
Test: m test-art-target (shamu)
Change-Id: I83e390edde7cd37c900e9d5c3e4d21da22981b3f

8 years agoMerge \\"Dump more dex file data in oatdump\\" am: d2c44723e6
Mathieu Chartier [Wed, 13 Jul 2016 21:41:13 +0000 (21:41 +0000)]
Merge \\"Dump more dex file data in oatdump\\" am: d2c44723e6
am: 9bbe6eb837

Change-Id: Ib38dbb57a771b8f12bd6cad0ad1dc2b058b3a935

8 years agoMerge \"Dump more dex file data in oatdump\"
Mathieu Chartier [Wed, 13 Jul 2016 21:38:47 +0000 (21:38 +0000)]
Merge \"Dump more dex file data in oatdump\"
am: d2c44723e6

Change-Id: Ife43250c61de0d71a0122b85869e40b8141a4ebe

8 years agoMerge "Dump more dex file data in oatdump"
Treehugger Robot [Wed, 13 Jul 2016 21:35:59 +0000 (21:35 +0000)]
Merge "Dump more dex file data in oatdump"

8 years agoDump more dex file data in oatdump
Mathieu Chartier [Tue, 21 Jun 2016 22:14:20 +0000 (15:14 -0700)]
Dump more dex file data in oatdump

Dump some statistics for each dex file along side with strings loaded
from code and dex code bytes.

Sample output:
Cumulative dex file data
Num string ids: 202809
Num method ids: 320464
Num field ids: 162822
Num type ids: 68151
Num class defs: 48061
Unique strings loaded from dex code: 51049
Total strings loaded from dex code: 106651
Number of unique dex code items: 247929
Total number of dex code bytes: 11090574

Added content testing to oat dump test. No significant slowdown.

TEST: test-art-host
Bug: 29462018

Change-Id: I60effd3087d8c427eda4ee26431d5d77165b3939

8 years agoMerge \\"Improve search for available spill slots in RA\\" am: 633c22de95
Matthew Gharrity [Wed, 13 Jul 2016 18:11:50 +0000 (18:11 +0000)]
Merge \\"Improve search for available spill slots in RA\\" am: 633c22de95
am: 54c4ee43e6

Change-Id: I6eb8762522c9d2c983071ed7fdb33e8136d9bb42

8 years agoMerge \"Improve search for available spill slots in RA\"
Matthew Gharrity [Wed, 13 Jul 2016 18:09:11 +0000 (18:09 +0000)]
Merge \"Improve search for available spill slots in RA\"
am: 633c22de95

Change-Id: I10995d473788006890fa0346ffde795e5152d0a9

8 years agoMerge \\"Refactored a few dexdump alloc/free into unique_ptr\\" am: bcdc888a39
Aart Bik [Wed, 13 Jul 2016 18:09:08 +0000 (18:09 +0000)]
Merge \\"Refactored a few dexdump alloc/free into unique_ptr\\" am: bcdc888a39
am: 346cb25ef5

Change-Id: I12207fcbec4f305858de0f3e32e6d76dd48e32de

8 years agoMerge "Improve search for available spill slots in RA"
Treehugger Robot [Wed, 13 Jul 2016 18:07:04 +0000 (18:07 +0000)]
Merge "Improve search for available spill slots in RA"

8 years agoMerge \"Refactored a few dexdump alloc/free into unique_ptr\"
Aart Bik [Wed, 13 Jul 2016 18:05:31 +0000 (18:05 +0000)]
Merge \"Refactored a few dexdump alloc/free into unique_ptr\"
am: bcdc888a39

Change-Id: Ic18afd294dca850e2fadf338141edc888828d8bd

8 years agoMerge "Refactored a few dexdump alloc/free into unique_ptr"
Treehugger Robot [Wed, 13 Jul 2016 17:55:52 +0000 (17:55 +0000)]
Merge "Refactored a few dexdump alloc/free into unique_ptr"

8 years agoMerge \\"X86: Use memory to do array range checks\\" am: a708355691
Vladimir Marko [Wed, 13 Jul 2016 17:02:39 +0000 (17:02 +0000)]
Merge \\"X86: Use memory to do array range checks\\" am: a708355691
am: cf9d7a63c8

Change-Id: Ib1ae67fe150f939683b64f46fe18f1a330e97937

8 years agoMerge \"X86: Use memory to do array range checks\"
Mark Mendell [Wed, 13 Jul 2016 16:55:39 +0000 (16:55 +0000)]
Merge \"X86: Use memory to do array range checks\"
am: a708355691

Change-Id: I51fc867a67ab05db1f1c93175518f35fc18d9f78

8 years agoMerge "X86: Use memory to do array range checks"
Vladimir Marko [Wed, 13 Jul 2016 16:37:34 +0000 (16:37 +0000)]
Merge "X86: Use memory to do array range checks"

8 years agoMerge changes I91249ba8,Ic93812d9 am: c8cbda6596
Richard Uhler [Wed, 13 Jul 2016 15:56:29 +0000 (15:56 +0000)]
Merge changes I91249ba8,Ic93812d9 am: c8cbda6596
am: 1dacb48805

Change-Id: Icb403ddde43d3491f403b01a24f2f40d073fb94d

8 years agoMerge changes I91249ba8,Ic93812d9
Richard Uhler [Wed, 13 Jul 2016 15:52:30 +0000 (15:52 +0000)]
Merge changes I91249ba8,Ic93812d9
am: c8cbda6596

Change-Id: Id1f8627e00b38987647525539973b0f51802f549