OSDN Git Service

android-x86/art.git
7 years agoMerge "Move Heap::GetInstances to use Handles" am: 4c91f05a9a am: 7c01c29e32
Mathieu Chartier [Thu, 13 Oct 2016 04:32:32 +0000 (04:32 +0000)]
Merge "Move Heap::GetInstances to use Handles" am: 4c91f05a9a am: 7c01c29e32
am: 042f5ff1cf

Change-Id: Ib25610850522bcdc9389b6a7fdbecaa151ce964f

7 years agoMerge "Move Heap::GetInstances to use Handles" am: 4c91f05a9a
Mathieu Chartier [Thu, 13 Oct 2016 04:25:32 +0000 (04:25 +0000)]
Merge "Move Heap::GetInstances to use Handles" am: 4c91f05a9a
am: 7c01c29e32

Change-Id: If38a8bc5fdb71cf6124550c6a098e8fbed755cbe

7 years agoMerge "Move Heap::GetInstances to use Handles"
Mathieu Chartier [Thu, 13 Oct 2016 04:18:30 +0000 (04:18 +0000)]
Merge "Move Heap::GetInstances to use Handles"
am: 4c91f05a9a

Change-Id: I5d59078d3877b12d9def1a6fe3ad85118e5e7f06

7 years agoMerge "Move Heap::GetInstances to use Handles"
Mathieu Chartier [Thu, 13 Oct 2016 04:09:27 +0000 (04:09 +0000)]
Merge "Move Heap::GetInstances to use Handles"

7 years agoMove Heap::GetInstances to use Handles
Mathieu Chartier [Thu, 13 Oct 2016 02:37:59 +0000 (19:37 -0700)]
Move Heap::GetInstances to use Handles

Prevent moving GC bugs from VisitObjects. Fix JDWP tests.

Test: art/tools/run-jdwp-tests.sh '--mode=host' '--variant=X32' --debug

Bug: 31113334
Change-Id: Ie7f51f1980ec0c1eddc3b59c3e49564eacb3be85

7 years agoMerge "Use handles for GetReferringObjects" am: 000432d9a4 am: 40bf3da1d7
Mathieu Chartier [Thu, 13 Oct 2016 02:54:27 +0000 (02:54 +0000)]
Merge "Use handles for GetReferringObjects" am: 000432d9a4 am: 40bf3da1d7
am: b87e458fdd

Change-Id: I2963e1077f94f5020833ab4978583cdd582e15d9

7 years agoMerge "Use handles for GetReferringObjects" am: 000432d9a4
Mathieu Chartier [Thu, 13 Oct 2016 02:46:56 +0000 (02:46 +0000)]
Merge "Use handles for GetReferringObjects" am: 000432d9a4
am: 40bf3da1d7

Change-Id: Iae64d759c1fb74c6562cce6668ee6053f1bd58f9

7 years agoMerge "Use handles for GetReferringObjects"
Mathieu Chartier [Thu, 13 Oct 2016 02:40:25 +0000 (02:40 +0000)]
Merge "Use handles for GetReferringObjects"
am: 000432d9a4

Change-Id: I1d778b91f0964b562e06d9e898dcb68e8dedb3fc

7 years agoMerge "Use handles for GetReferringObjects"
Mathieu Chartier [Thu, 13 Oct 2016 02:30:43 +0000 (02:30 +0000)]
Merge "Use handles for GetReferringObjects"

7 years agoUse handles for GetReferringObjects
Mathieu Chartier [Thu, 13 Oct 2016 02:19:56 +0000 (19:19 -0700)]
Use handles for GetReferringObjects

Required since VisitObjects may cause thread suspension. Fixes
failing jdwp tests.

Test: test-art-host
Test: art/tools/run-jdwp-tests.sh '--mode=host' '--variant=X32' --debug

Bug: 31113334
Change-Id: Ic11780b3778c83e7812bc90c0723a293537f376c

7 years agoMerge "Fix moving GC bug in cloning finalizable objects" am: a9daa3a269 am: 928fbad217
Mathieu Chartier [Thu, 13 Oct 2016 01:54:51 +0000 (01:54 +0000)]
Merge "Fix moving GC bug in cloning finalizable objects" am: a9daa3a269 am: 928fbad217
am: c598ac6e01

Change-Id: I129ed7b3f664024292d38d6cc86bff8054486205

7 years agoMerge "Fix moving GC bug in cloning finalizable objects" am: a9daa3a269
Mathieu Chartier [Thu, 13 Oct 2016 01:47:51 +0000 (01:47 +0000)]
Merge "Fix moving GC bug in cloning finalizable objects" am: a9daa3a269
am: 928fbad217

Change-Id: Id91a7286e3be53009bebad4424060a39b19f5a88

7 years agoMerge "Fix moving GC bug in cloning finalizable objects"
Mathieu Chartier [Thu, 13 Oct 2016 01:40:50 +0000 (01:40 +0000)]
Merge "Fix moving GC bug in cloning finalizable objects"
am: a9daa3a269

Change-Id: Ie20377da6944a47e54e61b9074263ad683425d97

7 years agoMerge "Fix moving GC bug in cloning finalizable objects"
Mathieu Chartier [Thu, 13 Oct 2016 01:31:19 +0000 (01:31 +0000)]
Merge "Fix moving GC bug in cloning finalizable objects"

7 years agoMerge "Move registration into android package" am: 834a448aa9 am: 1ff03d7a77
Colin Cross [Thu, 13 Oct 2016 00:27:24 +0000 (00:27 +0000)]
Merge "Move registration into android package" am: 834a448aa9 am: 1ff03d7a77
am: 934173815f

Change-Id: I44e8a1e98fe6418597768c8da810d29cdeac5379

7 years agoMove registration into android package am: 96548c9ee0 am: 35d3a30a29
Colin Cross [Thu, 13 Oct 2016 00:27:15 +0000 (00:27 +0000)]
Move registration into android package am: 96548c9ee0 am: 35d3a30a29
am: cc484fb676

Change-Id: I13b0fee8920c0d4a83b284f0b2e1a14b78f74d9f

7 years agoMerge "Move registration into android package" am: 834a448aa9
Colin Cross [Thu, 13 Oct 2016 00:19:54 +0000 (00:19 +0000)]
Merge "Move registration into android package" am: 834a448aa9
am: 1ff03d7a77

Change-Id: I88e6f6e79a4af9dc619d05416583cc6564f0546c

7 years agoMove registration into android package am: 96548c9ee0
Colin Cross [Thu, 13 Oct 2016 00:19:45 +0000 (00:19 +0000)]
Move registration into android package am: 96548c9ee0
am: 35d3a30a29

Change-Id: I126b659e8feae06fbf9deebad519d4c2ce754a84

7 years agoMerge "Move registration into android package"
Colin Cross [Thu, 13 Oct 2016 00:12:48 +0000 (00:12 +0000)]
Merge "Move registration into android package"
am: 834a448aa9

Change-Id: I173db22be57f95a9ad905009da3ae615f7b359bb

7 years agoMove registration into android package
Colin Cross [Thu, 13 Oct 2016 00:12:45 +0000 (00:12 +0000)]
Move registration into android package
am: 96548c9ee0

Change-Id: Ief5f68fdd913be2c5209a1da9a60ecb195198a44

7 years agoFix moving GC bug in cloning finalizable objects
Mathieu Chartier [Wed, 12 Oct 2016 23:08:35 +0000 (16:08 -0700)]
Fix moving GC bug in cloning finalizable objects

It is not safe to have thread suspension in the PreFenceVisitor. The fix is
to add the finalizer reference in the caller.

Test: art/tools/run-libcore-tests.sh '--mode=host' '--variant=X32' --debug

Bug: 31113334

Change-Id: I1e4650f8b75408a3d07e2c51ac334ff98552cfb5

7 years agoMerge "Replace StackHandleScopeCollection with VariableSizedHandleScope" am: 480ddd6f...
Mathieu Chartier [Thu, 13 Oct 2016 00:05:44 +0000 (00:05 +0000)]
Merge "Replace StackHandleScopeCollection with VariableSizedHandleScope" am: 480ddd6f58 am: aa35bb697a
am: 27d01d15bf

Change-Id: I8b4ce41accfaed815dba213d983b7dce081c1364

7 years agoMerge "Move registration into android package"
Colin Cross [Thu, 13 Oct 2016 00:02:33 +0000 (00:02 +0000)]
Merge "Move registration into android package"

7 years agoMerge "Replace StackHandleScopeCollection with VariableSizedHandleScope" am: 480ddd6f58
Mathieu Chartier [Wed, 12 Oct 2016 23:58:44 +0000 (23:58 +0000)]
Merge "Replace StackHandleScopeCollection with VariableSizedHandleScope" am: 480ddd6f58
am: aa35bb697a

Change-Id: Ic88c11155da5f20824ca12d872957778a62220b4

7 years agoMerge "Replace StackHandleScopeCollection with VariableSizedHandleScope"
Mathieu Chartier [Wed, 12 Oct 2016 23:52:15 +0000 (23:52 +0000)]
Merge "Replace StackHandleScopeCollection with VariableSizedHandleScope"
am: 480ddd6f58

Change-Id: I76a21e5737f9a1f27cdd052f92142befa3ce1848

7 years agoMerge "Replace StackHandleScopeCollection with VariableSizedHandleScope"
Mathieu Chartier [Wed, 12 Oct 2016 23:47:10 +0000 (23:47 +0000)]
Merge "Replace StackHandleScopeCollection with VariableSizedHandleScope"

7 years agoMerge "Add handle wrapper to allocation listener" am: c2f1fc70db am: bf2b8162da
Mathieu Chartier [Wed, 12 Oct 2016 23:18:54 +0000 (23:18 +0000)]
Merge "Add handle wrapper to allocation listener" am: c2f1fc70db am: bf2b8162da
am: 20eea044fa

Change-Id: Ie83eb8e0d94c4e201b3a972394f8503e14ef4dde

7 years agoMerge "Recognize XOR-based periodic induction." am: 023161ec66 am: 7169ef7abe
Aart Bik [Wed, 12 Oct 2016 23:18:40 +0000 (23:18 +0000)]
Merge "Recognize XOR-based periodic induction." am: 023161ec66 am: 7169ef7abe
am: 579bd1d0f5

Change-Id: I86f8437899d52db0f60015ef38939d7326ae7acf

7 years agoMerge "Add handle wrapper to allocation listener" am: c2f1fc70db
Mathieu Chartier [Wed, 12 Oct 2016 23:11:55 +0000 (23:11 +0000)]
Merge "Add handle wrapper to allocation listener" am: c2f1fc70db
am: bf2b8162da

Change-Id: I8bad789f43c6f73d2b3eb9854ee2e2c4138871b2

7 years agoMerge "ART: Fix typo" am: b38187c7a9 am: 03cd3d719c
Andreas Gampe [Wed, 12 Oct 2016 23:11:41 +0000 (23:11 +0000)]
Merge "ART: Fix typo" am: b38187c7a9 am: 03cd3d719c
am: e22e2ecc49

Change-Id: Idd4892bdd8a4ee596772ac3d4c59c1976fa8f45a

7 years agoMerge "Recognize XOR-based periodic induction." am: 023161ec66
Aart Bik [Wed, 12 Oct 2016 23:11:41 +0000 (23:11 +0000)]
Merge "Recognize XOR-based periodic induction." am: 023161ec66
am: 7169ef7abe

Change-Id: I0d708d59b95b0cc1df80e6f9ae77f5b8fc6edcb4

7 years agoMerge "Add handle wrapper to allocation listener"
Mathieu Chartier [Wed, 12 Oct 2016 23:04:53 +0000 (23:04 +0000)]
Merge "Add handle wrapper to allocation listener"
am: c2f1fc70db

Change-Id: I6d1dd11cc78df41c40324c280757f66a0ac55c2d

7 years agoMerge "ART: Fix typo" am: b38187c7a9
Andreas Gampe [Wed, 12 Oct 2016 23:04:39 +0000 (23:04 +0000)]
Merge "ART: Fix typo" am: b38187c7a9
am: 03cd3d719c

Change-Id: I704ec86a75c71169a04debddc95e84a8fd199272

7 years agoMerge "Recognize XOR-based periodic induction."
Aart Bik [Wed, 12 Oct 2016 23:04:39 +0000 (23:04 +0000)]
Merge "Recognize XOR-based periodic induction."
am: 023161ec66

Change-Id: Ib3779df3c48d6757b6e53e2c5e12eb0c6e8ca176

7 years agoMerge "Add handle wrapper to allocation listener"
Mathieu Chartier [Wed, 12 Oct 2016 23:00:51 +0000 (23:00 +0000)]
Merge "Add handle wrapper to allocation listener"

7 years agoMerge "ART: Fix typo"
Andreas Gampe [Wed, 12 Oct 2016 22:57:41 +0000 (22:57 +0000)]
Merge "ART: Fix typo"
am: b38187c7a9

Change-Id: I8ffbcd3acaec9fdca83fae9256b9c5a1061931a6

7 years agoMerge "Recognize XOR-based periodic induction."
Treehugger Robot [Wed, 12 Oct 2016 22:57:20 +0000 (22:57 +0000)]
Merge "Recognize XOR-based periodic induction."

7 years agoMerge "jni: Disable FastNative path for methods returning objects" am: 29b8c4d62c...
Igor Murashkin [Wed, 12 Oct 2016 22:50:09 +0000 (22:50 +0000)]
Merge "jni: Disable FastNative path for methods returning objects" am: 29b8c4d62c am: 6726de884b
am: 536fce9abe

Change-Id: Id468d03d0f07cd476649d1ef67dc637f6a8badcb

7 years agoMerge "ART: Fix typo"
Treehugger Robot [Wed, 12 Oct 2016 22:47:18 +0000 (22:47 +0000)]
Merge "ART: Fix typo"

7 years agoAdd handle wrapper to allocation listener
Mathieu Chartier [Wed, 12 Oct 2016 22:45:58 +0000 (15:45 -0700)]
Add handle wrapper to allocation listener

Fix failing test for interpreter.

Test: mm -j32 test-art-host-run-test-debug-prebuild-interpreter-relocate-trace-cms-checkjni-picimage-npictest-ndebuggable-904-object-allocation32  ART_TEST_TRACE=true ART_TEST_OPTIMIZING=false ART_TEST_INTERPRETER=true

Change-Id: I9e7e09db82cf13730dc2471ac05260bf6a69ab7c

7 years agoMerge "jni: Disable FastNative path for methods returning objects" am: 29b8c4d62c
Igor Murashkin [Wed, 12 Oct 2016 22:42:37 +0000 (22:42 +0000)]
Merge "jni: Disable FastNative path for methods returning objects" am: 29b8c4d62c
am: 6726de884b

Change-Id: Ib15ee3dd1de643ca94e5e92cbba26815d6d13531

7 years agoMerge "jni: Disable FastNative path for methods returning objects"
Igor Murashkin [Wed, 12 Oct 2016 22:35:38 +0000 (22:35 +0000)]
Merge "jni: Disable FastNative path for methods returning objects"
am: 29b8c4d62c

Change-Id: I9125422331805946357db14e2f0414ecc7c9a380

7 years agoMerge "jni: Disable FastNative path for methods returning objects"
Treehugger Robot [Wed, 12 Oct 2016 22:23:36 +0000 (22:23 +0000)]
Merge "jni: Disable FastNative path for methods returning objects"

7 years agoMove registration into android package
Colin Cross [Wed, 12 Oct 2016 21:26:55 +0000 (14:26 -0700)]
Move registration into android package

Mutator registration is tightly coupled with the android package, move
all registration from the soong package to the android package.

Test: build.ninja identical
Change-Id: I0326d0c88f78edb79eebedb155b69415e351fb61

7 years agoRecognize XOR-based periodic induction.
Aart Bik [Wed, 12 Oct 2016 17:01:05 +0000 (10:01 -0700)]
Recognize XOR-based periodic induction.

Rationale:
This is a commonly used construct (e.g. x = !x for booleans
and x ^= 1 for integers). This CL prepares some upcoming
optimizations that exploit such inductions.

Change-Id: I46edffb9de1075a836995daf5c2dfff7891f3034
Test: 530-checker-loops2 and induction_var_analysis_test

7 years agoMerge "Fix the CC monkey crashes." am: 3d9f2834ba am: a548bc35cd
Hiroshi Yamauchi [Wed, 12 Oct 2016 21:02:33 +0000 (21:02 +0000)]
Merge "Fix the CC monkey crashes." am: 3d9f2834ba am: a548bc35cd
am: 36bb5717d2

Change-Id: Id9901460f0d60c0c3fffd083e70b05e0bfeff8ee

7 years agoMerge "Fix the CC monkey crashes." am: 3d9f2834ba
Hiroshi Yamauchi [Wed, 12 Oct 2016 20:56:01 +0000 (20:56 +0000)]
Merge "Fix the CC monkey crashes." am: 3d9f2834ba
am: a548bc35cd

Change-Id: I3c7f1e617f09a376d218db959e916061d8ae515c

7 years agoART: Fix typo
Andreas Gampe [Wed, 12 Oct 2016 20:50:20 +0000 (13:50 -0700)]
ART: Fix typo

Follow-up to commit 27fa96c285c4aa2f64e9bb63a3f38ffdc98c282a.

Bug: 31684277
Test: m test-art-host
Change-Id: I165b350f6c1a216ed6a7ca648abd6004c662c1cb

7 years agojni: Disable FastNative path for methods returning objects
Igor Murashkin [Wed, 12 Oct 2016 20:33:43 +0000 (13:33 -0700)]
jni: Disable FastNative path for methods returning objects

Bug: 32088975
Change-Id: Iba3a8f5462829ccb38f771f8f940b57c4e6a1c3f

7 years agoMerge "Fix the CC monkey crashes."
Hiroshi Yamauchi [Wed, 12 Oct 2016 20:49:01 +0000 (20:49 +0000)]
Merge "Fix the CC monkey crashes."
am: 3d9f2834ba

Change-Id: Id9c87bc5e374556bedbda894e971247e2ead2d43

7 years agoMerge "Fix the CC monkey crashes."
Treehugger Robot [Wed, 12 Oct 2016 20:42:56 +0000 (20:42 +0000)]
Merge "Fix the CC monkey crashes."

7 years agoMerge "ART: Disable test 906 for target" am: dbeceb3409 am: 54d7471d8e
Andreas Gampe [Wed, 12 Oct 2016 20:36:00 +0000 (20:36 +0000)]
Merge "ART: Disable test 906 for target" am: dbeceb3409 am: 54d7471d8e
am: 1340d4c37b

Change-Id: I84778de853bcf636da03548f878667acf2d73cf7

7 years agoReplace StackHandleScopeCollection with VariableSizedHandleScope
Mathieu Chartier [Tue, 11 Oct 2016 23:52:17 +0000 (16:52 -0700)]
Replace StackHandleScopeCollection with VariableSizedHandleScope

VariableSizedHandleScope's internal handle scopes are not pushed
directly on the thread. This means that it is safe to intermix with
other types of handle scopes.

Added test.

Test: clean-oat-host && test-art-host

Change-Id: Id2fd1155788428f394d49615d337d9134824c8f0

7 years agoMerge "ART: Disable test 906 for target" am: dbeceb3409
Andreas Gampe [Wed, 12 Oct 2016 20:29:29 +0000 (20:29 +0000)]
Merge "ART: Disable test 906 for target" am: dbeceb3409
am: 54d7471d8e

Change-Id: I851087a6e417cfdb5b4e6046709414c98b4fafc2

7 years agoMerge "ART: Disable test 906 for target"
Andreas Gampe [Wed, 12 Oct 2016 20:21:59 +0000 (20:21 +0000)]
Merge "ART: Disable test 906 for target"
am: dbeceb3409

Change-Id: Ie27510ba464dd917cbf587a4407004c5d9388799

7 years agoMerge "ART: Disable test 906 for target"
Andreas Gampe [Wed, 12 Oct 2016 20:11:11 +0000 (20:11 +0000)]
Merge "ART: Disable test 906 for target"

7 years agoART: Disable test 906 for target
Andreas Gampe [Wed, 12 Oct 2016 20:09:03 +0000 (13:09 -0700)]
ART: Disable test 906 for target

Bug: 31385354
Test: m test-art-host-run-test-906-iterate-heap
Change-Id: Ic31d25acd9c50dfefddd567ead30d8d3e3f97d0a

7 years agoMerge "ART: Add heap iteration callback" am: e8317d90c6 am: 0eaf868682
Andreas Gampe [Wed, 12 Oct 2016 20:08:28 +0000 (20:08 +0000)]
Merge "ART: Add heap iteration callback" am: e8317d90c6 am: 0eaf868682
am: e9e9d1042a

Change-Id: Ieefd7f894b592757be607a06857529526f913989

7 years agoMerge "ART: Add heap iteration callback" am: e8317d90c6
Andreas Gampe [Wed, 12 Oct 2016 20:01:59 +0000 (20:01 +0000)]
Merge "ART: Add heap iteration callback" am: e8317d90c6
am: 0eaf868682

Change-Id: I75882b3d753cb0af86390f2d645a03e18ed60446

7 years agoMerge "ART: Add heap iteration callback"
Andreas Gampe [Wed, 12 Oct 2016 19:55:59 +0000 (19:55 +0000)]
Merge "ART: Add heap iteration callback"
am: e8317d90c6

Change-Id: Ib6c44cd17f87cba92d41efbbaf408e8cf7851504

7 years agoMerge "ART: Add heap iteration callback"
Andreas Gampe [Wed, 12 Oct 2016 19:48:18 +0000 (19:48 +0000)]
Merge "ART: Add heap iteration callback"

7 years agoFix the CC monkey crashes.
Hiroshi Yamauchi [Wed, 12 Oct 2016 18:53:57 +0000 (11:53 -0700)]
Fix the CC monkey crashes.

Add ScopedGCCriticalSection around the monitor deflation to avoid race
conditions on the lock word.

Bug: 31773180
Bug: 31712602
Bug: 31712174
Bug: 31712601
Bug: 31712256
Bug: 31710993
Bug: 12687968
Test: test-art host/N9, N9 libartd boot, Ritz EAAC.
Change-Id: Id05c6502fb08ca2e0770af4940b737038c3412d6

7 years agoMerge "Move Heap parameters to ObjPtr" am: 33625ed00f am: a23f6e88e9
Mathieu Chartier [Wed, 12 Oct 2016 19:01:25 +0000 (19:01 +0000)]
Merge "Move Heap parameters to ObjPtr" am: 33625ed00f am: a23f6e88e9
am: 10fb9eb749

Change-Id: I10e259dd9d69aff3aefa59a7e68615fa26968c1a

7 years agoMerge "Move Heap parameters to ObjPtr" am: 33625ed00f
Mathieu Chartier [Wed, 12 Oct 2016 18:54:23 +0000 (18:54 +0000)]
Merge "Move Heap parameters to ObjPtr" am: 33625ed00f
am: a23f6e88e9

Change-Id: Idf99cf43f6f23dd983ce1dd0155b345ce2c34c69

7 years agoMerge "Move Heap parameters to ObjPtr"
Mathieu Chartier [Wed, 12 Oct 2016 18:47:53 +0000 (18:47 +0000)]
Merge "Move Heap parameters to ObjPtr"
am: 33625ed00f

Change-Id: I9e58f55afb03552095f81f39eea275fa40639895

7 years agoMerge "Move Heap parameters to ObjPtr"
Mathieu Chartier [Wed, 12 Oct 2016 18:35:03 +0000 (18:35 +0000)]
Merge "Move Heap parameters to ObjPtr"

7 years agoART: Add heap iteration callback
Andreas Gampe [Wed, 12 Oct 2016 02:55:37 +0000 (19:55 -0700)]
ART: Add heap iteration callback

Add callback support for heap iteration. Visiting of fields will
be done in a follow-up.

Add a test.

Bug: 31385354
Test: m test-art-host-run-test-906-iterate-heap
Test: m ART_TEST_GC_STRESS=true ART_TEST_GC_VERIFY=true test-art-host-run-test-906-iterate-heap
Change-Id: I7bcf6751e6df4ef58756ba97701050b2ff5eb07b

7 years agoMove Heap parameters to ObjPtr
Mathieu Chartier [Fri, 7 Oct 2016 00:44:26 +0000 (17:44 -0700)]
Move Heap parameters to ObjPtr

Deleted some unused object dumping code.

Test: test-art-host

Bug: 31113334

Change-Id: I747220caafe6679591fd4b361d7f50383a046164

7 years agoMerge "ART: Use cerr for host unexpected errors" am: 078483d4df am: b6256f1c63
Andreas Gampe [Wed, 12 Oct 2016 16:11:14 +0000 (16:11 +0000)]
Merge "ART: Use cerr for host unexpected errors" am: 078483d4df am: b6256f1c63
am: f26f700601

Change-Id: I5d1973adc46e5082112efe711384f977131124d2

7 years agoMerge "ART: Use cerr for host unexpected errors" am: 078483d4df
Andreas Gampe [Wed, 12 Oct 2016 16:04:12 +0000 (16:04 +0000)]
Merge "ART: Use cerr for host unexpected errors" am: 078483d4df
am: b6256f1c63

Change-Id: I5034329e688f675af68c115902c3302fda45322e

7 years agoMerge "ART: Use cerr for host unexpected errors"
Andreas Gampe [Wed, 12 Oct 2016 15:57:43 +0000 (15:57 +0000)]
Merge "ART: Use cerr for host unexpected errors"
am: 078483d4df

Change-Id: I3f3ddcdbb684862c1683e32ebedcf43505364988

7 years agoMerge "ART: Use cerr for host unexpected errors"
Treehugger Robot [Wed, 12 Oct 2016 15:47:44 +0000 (15:47 +0000)]
Merge "ART: Use cerr for host unexpected errors"

7 years agoMerge "Address revew comments for change Ia653d2c72df13889dc85dd8c84997582c034ea4b...
Nicolas Geoffray [Wed, 12 Oct 2016 13:29:04 +0000 (13:29 +0000)]
Merge "Address revew comments for change Ia653d2c72df13889dc85dd8c84997582c034ea4b." am: e2ced0db78 am: 0db04d1e99
am: 907c2e1dcb

Change-Id: Ic9cbdf2cee9508b595524bac6cd8763b83acf380

7 years agoMerge "Address revew comments for change Ia653d2c72df13889dc85dd8c84997582c034ea4b...
Nicolas Geoffray [Wed, 12 Oct 2016 13:22:35 +0000 (13:22 +0000)]
Merge "Address revew comments for change Ia653d2c72df13889dc85dd8c84997582c034ea4b." am: e2ced0db78
am: 0db04d1e99

Change-Id: Ia0ad6dfb81d3dda838916c4245917ba9e56ed0af

7 years agoMerge "Address revew comments for change Ia653d2c72df13889dc85dd8c84997582c034ea4b."
Nicolas Geoffray [Wed, 12 Oct 2016 13:16:03 +0000 (13:16 +0000)]
Merge "Address revew comments for change Ia653d2c72df13889dc85dd8c84997582c034ea4b."
am: e2ced0db78

Change-Id: I11254bf9114ee61dbc96f447237abbef9e7c7faf

7 years agoMerge "Address revew comments for change Ia653d2c72df13889dc85dd8c84997582c034ea4b."
Nicolas Geoffray [Wed, 12 Oct 2016 13:05:08 +0000 (13:05 +0000)]
Merge "Address revew comments for change Ia653d2c72df13889dc85dd8c84997582c034ea4b."

7 years agoART: Use cerr for host unexpected errors
Andreas Gampe [Wed, 12 Oct 2016 03:04:11 +0000 (20:04 -0700)]
ART: Use cerr for host unexpected errors

Use cerr and endl when dumping unexpected signals on Linux. This
simulates the previous special-casing of INTERNAL_FATAL to
immediately print output.

Bug: 31338270
Test: m test-art-host
Test: manual segfault
Change-Id: I9d4471836339bf69681cc4aa43df6d558e7f123d

7 years agoMerge "ART: Add object reclaim support" am: f0ab2ec600 am: 52847e9c5b
Andreas Gampe [Wed, 12 Oct 2016 00:30:49 +0000 (00:30 +0000)]
Merge "ART: Add object reclaim support" am: f0ab2ec600 am: 52847e9c5b
am: 900ea58883

Change-Id: Ie195eb6c216859184718c8abf7d1b695bb8f5166

7 years agoMerge "ART: Add object reclaim support" am: f0ab2ec600
Andreas Gampe [Wed, 12 Oct 2016 00:24:19 +0000 (00:24 +0000)]
Merge "ART: Add object reclaim support" am: f0ab2ec600
am: 52847e9c5b

Change-Id: Idbb6efc1aa769f8d9014af7f9b217d3d55e3128d

7 years agoMerge "ART: Add object reclaim support"
Andreas Gampe [Wed, 12 Oct 2016 00:18:48 +0000 (00:18 +0000)]
Merge "ART: Add object reclaim support"
am: f0ab2ec600

Change-Id: Id8364853b0856cfe3238ce2133f2e65b381a31bf

7 years agoMerge "ART: Add object reclaim support"
Treehugger Robot [Tue, 11 Oct 2016 23:16:48 +0000 (23:16 +0000)]
Merge "ART: Add object reclaim support"

7 years agoART: Add object reclaim support
Andreas Gampe [Tue, 11 Oct 2016 02:09:09 +0000 (19:09 -0700)]
ART: Add object reclaim support

Add support for the object free callback.

Refactor code in support. Add test.

Bug: 31384923
Test: m test-art-host
Test: m test-art-host-run-test-905-object-free
Test: m ART_USE_READ_BARRIER=true test-art-host-run-test-905-object-free
Change-Id: Icde40ad464c723cfe2f7660c07cd2f79b6dc2032

7 years agoMerge "Improved and simplified loop optimizations." am: c1f24b947a am: 18173e50b8
Aart Bik [Tue, 11 Oct 2016 20:19:33 +0000 (20:19 +0000)]
Merge "Improved and simplified loop optimizations." am: c1f24b947a am: 18173e50b8
am: 63b9e50802

Change-Id: I29f4983b6429b55ced027fb1dbc67e8dbfad4d9c

7 years agoMerge "Improved and simplified loop optimizations." am: c1f24b947a
Aart Bik [Tue, 11 Oct 2016 20:13:03 +0000 (20:13 +0000)]
Merge "Improved and simplified loop optimizations." am: c1f24b947a
am: 18173e50b8

Change-Id: If1555e3bcfec791c94d7569fc667f44783d14cc5

7 years agoMerge "Improved and simplified loop optimizations."
Aart Bik [Tue, 11 Oct 2016 20:06:34 +0000 (20:06 +0000)]
Merge "Improved and simplified loop optimizations."
am: c1f24b947a

Change-Id: I8d8bfb2e2288f8c4f468a0d21fdf5eef45f10163

7 years agoMerge "Improved and simplified loop optimizations."
Treehugger Robot [Tue, 11 Oct 2016 19:55:32 +0000 (19:55 +0000)]
Merge "Improved and simplified loop optimizations."

7 years agoImproved and simplified loop optimizations.
Aart Bik [Mon, 10 Oct 2016 22:39:10 +0000 (15:39 -0700)]
Improved and simplified loop optimizations.

Rationale:
Empty preheader simplification has been simplified
to a much more general empty block removal optimization
step. Incremental updating of induction variable
analysis enables repeated elimination or simplification
of induction cycles.

This enabled an extra layer of optimization for
e.g. Benchpress Loop (17.5us. -> 0.24us. -> 0.08us).
So the original 73x speedup is now multiplied
by another 3x, for a total of about 218x.

Test: 618-checker-induction et al.
Change-Id: I394699981481cdd5357e0531bce88cd48bd32879

7 years agoMerge "Enable generic JNI tests for MIPS32" am: 1e0d8ce4e5 am: 267bdd513e
Goran Jakovljevic [Tue, 11 Oct 2016 16:21:18 +0000 (16:21 +0000)]
Merge "Enable generic JNI tests for MIPS32" am: 1e0d8ce4e5 am: 267bdd513e
am: 2de218ea04

Change-Id: I46d3d34bb83260ade0ee9edd3a7c2cc67a19022f

7 years agoMerge "Enable generic JNI tests for MIPS32" am: 1e0d8ce4e5
Goran Jakovljevic [Tue, 11 Oct 2016 16:15:47 +0000 (16:15 +0000)]
Merge "Enable generic JNI tests for MIPS32" am: 1e0d8ce4e5
am: 267bdd513e

Change-Id: I56747d4c6c9c9330ab14633569de4d7eae438bae

7 years agoMerge "Enable generic JNI tests for MIPS32"
Goran Jakovljevic [Tue, 11 Oct 2016 16:09:18 +0000 (16:09 +0000)]
Merge "Enable generic JNI tests for MIPS32"
am: 1e0d8ce4e5

Change-Id: I6dec138ffc9ebd55a307510201bb97f2a16b1ff4

7 years agoMerge "Enable generic JNI tests for MIPS32"
Treehugger Robot [Tue, 11 Oct 2016 16:03:13 +0000 (16:03 +0000)]
Merge "Enable generic JNI tests for MIPS32"

7 years agoMerge "Add missing cases in quick_trampoline_entrypoints_test for MIPS64" am: 91d1b61...
Goran Jakovljevic [Tue, 11 Oct 2016 13:40:37 +0000 (13:40 +0000)]
Merge "Add missing cases in quick_trampoline_entrypoints_test for MIPS64" am: 91d1b61db7 am: 9029878777
am: a10e41b2e3

Change-Id: I575d62622293e43b3daf7771479a1df5ba6169ab

7 years agoMerge "Add missing cases in quick_trampoline_entrypoints_test for MIPS64" am: 91d1b61db7
Goran Jakovljevic [Tue, 11 Oct 2016 13:34:09 +0000 (13:34 +0000)]
Merge "Add missing cases in quick_trampoline_entrypoints_test for MIPS64" am: 91d1b61db7
am: 9029878777

Change-Id: Ib28f6a7175c7ba4b53b87a779be666dde9bc6e4e

7 years agoMerge "Add missing cases in quick_trampoline_entrypoints_test for MIPS64"
Goran Jakovljevic [Tue, 11 Oct 2016 13:28:07 +0000 (13:28 +0000)]
Merge "Add missing cases in quick_trampoline_entrypoints_test for MIPS64"
am: 91d1b61db7

Change-Id: Ieb3460c2993e2c5c547bd6fb76de0aec51580bf0

7 years agoMerge "Add missing cases in quick_trampoline_entrypoints_test for MIPS64"
Treehugger Robot [Tue, 11 Oct 2016 13:20:48 +0000 (13:20 +0000)]
Merge "Add missing cases in quick_trampoline_entrypoints_test for MIPS64"

7 years agoMerge "ART: Fix test 904" am: 6136dc6841 am: 9bb0bae74c
Andreas Gampe [Tue, 11 Oct 2016 03:22:30 +0000 (03:22 +0000)]
Merge "ART: Fix test 904" am: 6136dc6841 am: 9bb0bae74c
am: d2bd410180

Change-Id: Id5012164d37f153ea4806d84444ec4e1be2ec5aa

7 years agoMerge "ART: Fix test 904" am: 6136dc6841
Andreas Gampe [Tue, 11 Oct 2016 03:16:29 +0000 (03:16 +0000)]
Merge "ART: Fix test 904" am: 6136dc6841
am: 9bb0bae74c

Change-Id: I3af40731f0cfd66a27bc5f15f441af610b3bb7fe

7 years agoMerge "ART: Fix test 904"
Andreas Gampe [Tue, 11 Oct 2016 03:10:59 +0000 (03:10 +0000)]
Merge "ART: Fix test 904"
am: 6136dc6841

Change-Id: I83254cf3f4caf43218f3e542823c65e69e01bfc6

7 years agoMerge "ART: Fix test 904"
Andreas Gampe [Tue, 11 Oct 2016 03:04:35 +0000 (03:04 +0000)]
Merge "ART: Fix test 904"

7 years agoART: Fix test 904
Andreas Gampe [Tue, 11 Oct 2016 03:01:41 +0000 (20:01 -0700)]
ART: Fix test 904

Prefetch class names to avoid allocation for logging.

Bug: 31684277
Test: m ART_TEST_RUN_TEST_RELOCATE_NO_PATCHOAT=true test-art-host-run-test-904-object-allocation
Change-Id: I8d12ea1a2b15680995af84d243de4d07d22bede5