OSDN Git Service
David Sehr [Wed, 19 Apr 2017 16:43:47 +0000 (16:43 +0000)]
Merge "Add dexdiag_test" am:
ad70f8f997
am:
a2d4447e34
Change-Id: I773c7c41e25268a99445428d4cb3369dc66d70bb
David Sehr [Wed, 19 Apr 2017 16:41:45 +0000 (16:41 +0000)]
Merge "Add dexdiag_test"
am:
ad70f8f997
Change-Id: Ib0b515f78bf12a1c8c2aaa2394b7c9bd2eae3181
David Sehr [Wed, 19 Apr 2017 16:37:46 +0000 (16:37 +0000)]
Merge "Add dexdiag_test"
Andreas Gampe [Wed, 19 Apr 2017 16:21:58 +0000 (16:21 +0000)]
Merge "ART: Refactor run-test 924" am:
70d9cf92f6
am:
414977a488
Change-Id: Idaffab17f11b5527f289f925b159064145898a35
Andreas Gampe [Wed, 19 Apr 2017 16:21:42 +0000 (16:21 +0000)]
Merge "ART: Filter more thread roots" am:
5e2c2894dc
am:
a93ccfb3fd
Change-Id: I80d7076b65b28c99cf692554c03f59191b5a77fc
Andreas Gampe [Wed, 19 Apr 2017 16:18:33 +0000 (16:18 +0000)]
Merge "ART: Refactor run-test 924"
am:
70d9cf92f6
Change-Id: I805ddab8a1b96f53ba0f9dc67b0df98a429e088f
Andreas Gampe [Wed, 19 Apr 2017 16:18:13 +0000 (16:18 +0000)]
Merge "ART: Filter more thread roots"
am:
5e2c2894dc
Change-Id: Iabef998fd43ff59b586dc86516b6ee449781b3d4
Treehugger Robot [Wed, 19 Apr 2017 16:14:17 +0000 (16:14 +0000)]
Merge "ART: Refactor run-test 924"
Treehugger Robot [Wed, 19 Apr 2017 16:13:40 +0000 (16:13 +0000)]
Merge "ART: Filter more thread roots"
Nicolas Geoffray [Wed, 19 Apr 2017 12:40:07 +0000 (12:40 +0000)]
Merge "Record class status after verification." am:
25009fdd7a
am:
b97afc6354
Change-Id: I808bd4a2a0339ecf98ea963102b52be18d52db9a
Nicolas Geoffray [Wed, 19 Apr 2017 12:38:08 +0000 (12:38 +0000)]
Merge "Record class status after verification."
am:
25009fdd7a
Change-Id: I28f26f8df620687c3c2124812e7f228eb53d7e2e
Nicolas Geoffray [Wed, 19 Apr 2017 12:31:42 +0000 (12:31 +0000)]
Merge "Record class status after verification."
Vladimir Marko [Wed, 19 Apr 2017 11:40:32 +0000 (11:40 +0000)]
Merge "ARM64: Heap poisoning for link-time Baker CC read barrier thunks." am:
46d342f845
am:
8e0c6dd33b
Change-Id: If21a73d638fa3427efdb62c18385e4d7f0bb1d54
Vladimir Marko [Wed, 19 Apr 2017 11:38:33 +0000 (11:38 +0000)]
Merge "ARM64: Heap poisoning for link-time Baker CC read barrier thunks."
am:
46d342f845
Change-Id: I38dcd3f91d902c7020aa39ef3541a1868f3ee596
Vladimir Marko [Wed, 19 Apr 2017 11:32:49 +0000 (11:32 +0000)]
Merge "ARM64: Heap poisoning for link-time Baker CC read barrier thunks."
Sebastien Hertz [Wed, 19 Apr 2017 10:24:58 +0000 (10:24 +0000)]
Merge "Follow-up to
70d60275cc2860bde50e5f9c5b151e94f745ae14" am:
bea9172064
am:
1f175053aa
Change-Id: I424fbf84a1991ea46956a53678264ec4300219ca
Sebastien Hertz [Wed, 19 Apr 2017 10:23:00 +0000 (10:23 +0000)]
Merge "Follow-up to
70d60275cc2860bde50e5f9c5b151e94f745ae14"
am:
bea9172064
Change-Id: I7c55be3340ad08e8142c39804ea2b28d8492de00
Treehugger Robot [Wed, 19 Apr 2017 10:13:12 +0000 (10:13 +0000)]
Sebastien Hertz [Wed, 19 Apr 2017 09:40:25 +0000 (09:40 +0000)]
Merge "Reduce timeout of JDWP tests" am:
aebc6870db
am:
c834f6a0a8
Change-Id: I63af58293b915f5b70430e6bd58504273f5c2781
Sebastien Hertz [Wed, 19 Apr 2017 09:38:26 +0000 (09:38 +0000)]
Merge "Reduce timeout of JDWP tests"
am:
aebc6870db
Change-Id: I8f995fc15c007572662f65a2533d998da99c3be8
Vladimir Marko [Tue, 18 Apr 2017 12:55:13 +0000 (13:55 +0100)]
ARM64: Heap poisoning for link-time Baker CC read barrier thunks.
And fix running out of scratch registers for HArraySet
with large constant index and a reference to poison.
Test: Nexus 6P boots with heap poisoning enabled.
Test: testrunner.py --target with heap poisoning enabled on Nexus 6P.
Bug:
29516974
Bug:
30126666
Bug:
36141117
Change-Id: Ifb38f4a0e23a2963468772f34f294febfc340b8c
Sebastien Hertz [Wed, 19 Apr 2017 09:26:54 +0000 (09:26 +0000)]
Merge "Reduce timeout of JDWP tests"
Sebastien Hertz [Mon, 27 Mar 2017 09:35:54 +0000 (11:35 +0200)]
Reduce timeout of JDWP tests
This CL sets the timeout of JDWP tests to 10s (instead of the default
timeout of 60s).
This should save up time for continuous testing (~ 3min on host).
Indeed, some tests do wait until the timeout to detect that no reply
(or no event) has been received.
Test: art/tools/run-jdwp-tests.sh --mode=host --variant=X64
Change-Id: Id03c8a1d629e6da551cf8eb405cc79754a363fe0
Nicolas Geoffray [Wed, 19 Apr 2017 09:17:54 +0000 (09:17 +0000)]
Merge "Revert "Invoke dex2oat explictly before dalvikvm"" am:
75be076511
am:
1825a6ed19
Change-Id: I93aabd59c058669fe04bbad92054cb57d7fc6891
Nicolas Geoffray [Wed, 19 Apr 2017 09:15:55 +0000 (09:15 +0000)]
Merge "Revert "Invoke dex2oat explictly before dalvikvm""
am:
75be076511
Change-Id: I40d7f7b443408716de3bb04f39587b39d39c0728
Nicolas Geoffray [Wed, 19 Apr 2017 09:01:46 +0000 (09:01 +0000)]
Merge "Revert "Invoke dex2oat explictly before dalvikvm""
Nicolas Geoffray [Wed, 19 Apr 2017 09:01:29 +0000 (09:01 +0000)]
Revert "Invoke dex2oat explictly before dalvikvm"
Fails on device with:
07-13 04:35:49.410 24424 24424 F dex2oat : instruction_set_features.cc:58] static std::unique_ptr<const InstructionSetFeatures> art::InstructionSetFeatures::FromVariant(art::InstructionSet, const std::string &, std::string *) unimplemented None
Bug:
36824842
This reverts commit
4806f7afc92b1812cefaab291235d01773732400.
Change-Id: I34a23fb69b0284e6d70ec0a54d5ada9e107ffeb7
Nicolas Geoffray [Wed, 19 Apr 2017 08:36:24 +0000 (09:36 +0100)]
Record class status after verification.
The class status was recorded when doing vdex verification, or
any compilation (quickening or optimizing), but not when only doing
verification.
bug:
37446669
Test:compiler_driver_test
Change-Id: Id027c7a9776ed651de570a0f3417c969c8cff9cd
Sebastien Hertz [Tue, 18 Apr 2017 16:28:51 +0000 (18:28 +0200)]
Follow-up to
70d60275cc2860bde50e5f9c5b151e94f745ae14
Test: make -j build-art-host
Change-Id: Id6e81518041bd64dec537ff3da2fa049d39b27d0
Sebastien Hertz [Wed, 19 Apr 2017 07:33:48 +0000 (07:33 +0000)]
Merge "Always check result of Thread::ModifySuspendCount" am:
0d8cf9106c
am:
8d9802319e
Change-Id: I5483436018a3a2f2d607edde37b30ce5461196d4
Sebastien Hertz [Wed, 19 Apr 2017 07:31:49 +0000 (07:31 +0000)]
Merge "Always check result of Thread::ModifySuspendCount"
am:
0d8cf9106c
Change-Id: I782e9dc794ea46bb29a777c10cda45e36fd26a5f
Sebastien Hertz [Wed, 19 Apr 2017 07:23:36 +0000 (07:23 +0000)]
Merge "Always check result of Thread::ModifySuspendCount"
Mathieu Chartier [Wed, 19 Apr 2017 02:51:31 +0000 (02:51 +0000)]
Merge "Call mirror::CallSite::VisitRoots" am:
ea24e09568
am:
c0d731f169
Change-Id: I82ec0b00abbbdbe694bd84abc778d9e5e2a2e884
Mathieu Chartier [Wed, 19 Apr 2017 02:48:00 +0000 (02:48 +0000)]
Merge "Call mirror::CallSite::VisitRoots"
am:
ea24e09568
Change-Id: I3f1dfaac4eb3e9e2cc5cc38d68c2da84fd61ed58
Mathieu Chartier [Wed, 19 Apr 2017 02:41:02 +0000 (02:41 +0000)]
Merge "Call mirror::CallSite::VisitRoots"
Calin Juravle [Tue, 18 Apr 2017 23:36:45 +0000 (23:36 +0000)]
Merge "Invoke dex2oat explictly before dalvikvm" am:
77ced6adfd
am:
b618586399
Change-Id: I695ae1237d5206e441d82cf48d95ca74d2a70b2a
Calin Juravle [Tue, 18 Apr 2017 23:35:15 +0000 (23:35 +0000)]
Merge "Invoke dex2oat explictly before dalvikvm"
am:
77ced6adfd
Change-Id: I60b418c83278e135064e9d657d5a75d95619d854
Mathieu Chartier [Tue, 18 Apr 2017 23:14:19 +0000 (16:14 -0700)]
Call mirror::CallSite::VisitRoots
Needed to visit CallSite static class root.
Test: test/run-test --no-patchoat --relocate --host --64 --interpreter --gdb 952
Bug:
33191717
Change-Id: I1fad3df8ad810c5c7905afadfa25cdc0901ef035
Calin Juravle [Tue, 18 Apr 2017 23:20:16 +0000 (23:20 +0000)]
Merge "Invoke dex2oat explictly before dalvikvm"
Andreas Gampe [Wed, 12 Apr 2017 15:42:16 +0000 (08:42 -0700)]
ART: Refactor run-test 924
Move testing to a dedicated thread to have a known thread name.
Change event reporting to be Java-side. Use Java-side thread list
(from Thread.getAllStackTraces) as comparison for minimal expected
set of threads.
Bug:
32072923
Test: art/test/testrunner/testrunner.py -b --host -t 924
Change-Id: I238ffc202e42eea8d1788137715188d3dfbcc8fb
David Sehr [Fri, 14 Apr 2017 22:26:09 +0000 (15:26 -0700)]
Add dexdiag_test
Tests that dexdiag runs on the current process and returns with a
non-error status for a variety of command line options.
Bug:
35800981
Test: make test-art-target-gtest-dexdiag_test
Change-Id: Ib6f21a99ddec270cf8026a6123b028fe4b3fb840
Alex Light [Tue, 18 Apr 2017 22:58:24 +0000 (22:58 +0000)]
Merge "Fix obsolete method change check." am:
494505a9de
am:
fa385ddeaa
Change-Id: I31b67abe5830cf24edbe7eb0c3191f6ac984733b
Alex Light [Tue, 18 Apr 2017 22:53:54 +0000 (22:53 +0000)]
Merge "Fix obsolete method change check."
am:
494505a9de
Change-Id: Ie3dac35eb222fb3662b2588576ca71c7a029495a
Treehugger Robot [Tue, 18 Apr 2017 22:42:58 +0000 (22:42 +0000)]
Merge "Fix obsolete method change check."
Calin Juravle [Wed, 12 Apr 2017 02:04:28 +0000 (19:04 -0700)]
Invoke dex2oat explictly before dalvikvm
The goal is to stop relying on dex2oat being run when dex files are
loaded.
Test: ./out/host/linux-x86/bin/art --profile -Ximage:$PWD/out/host/linux-x86/framework/core.art -Xusejit:true -Xcompiler-option --compiler-filter=speed -Xcompiler-option --compiler-backend=Optimizing -verbose:oat -Djava.library.path=$PWD/out/x86_64/host/linux-x86/lib64 -cp $PWD/generated/benchmarks.dex benchmarks.ExoPlayerBench.java.ExoPlayerBench
Bug:
36824842
Change-Id: I9f4a1384cdc91502edea08402ee984c57ff8c37d
Andreas Gampe [Tue, 18 Apr 2017 20:59:09 +0000 (13:59 -0700)]
ART: Filter more thread roots
Also filter interface classes that may be held by the JIT.
Bug:
31385354
Test: art/test/testrunner/testrunner.py --host -b -t 913
Change-Id: I129ab8c28e398d779d9d43b03358aa54a9a14c8c
Alex Light [Tue, 18 Apr 2017 20:03:31 +0000 (13:03 -0700)]
Fix obsolete method change check.
We were incorrectly checking for changes in the obsolete-method map.
This could cause issues if a class was redefined multiple times.
Bug:
37475600
Test: ./test.py --host -j40
Test: cts-tradefed run cts-dev --module CtsJvmtiRedefineClassesHostTestCases
Change-Id: Icf39d5154c0e48461405b700bf1fa20830195fc1
Roland Levillain [Tue, 18 Apr 2017 18:33:39 +0000 (18:33 +0000)]
Merge "Make ART build/test configurations use the CC collector by default." am:
741a81af44
am:
e692b7db5a
Change-Id: I171f391688967c00861c83ed4965eab135bae5d8
Mathieu Chartier [Tue, 18 Apr 2017 18:33:24 +0000 (18:33 +0000)]
Merge "Differentiate between native alloc and normal background GC" am:
e4e7d601ef
am:
197bc62104
Change-Id: I19fc5b3038a09cc096cc272e2c53343cc80f66ae
Andreas Gampe [Tue, 18 Apr 2017 18:33:09 +0000 (18:33 +0000)]
Merge "ART: Make less lock-level noise on abort" am:
2888e85164
am:
a41f563e62
Change-Id: I099770d25ac0e2105cb3cc91407b0ac1b4fc0297
Roland Levillain [Tue, 18 Apr 2017 18:28:13 +0000 (18:28 +0000)]
Merge "Make ART build/test configurations use the CC collector by default."
am:
741a81af44
Change-Id: Ica953a72f63c07fb551b75b2f0448bb1212d792f
Mathieu Chartier [Tue, 18 Apr 2017 18:27:53 +0000 (18:27 +0000)]
Merge "Differentiate between native alloc and normal background GC"
am:
e4e7d601ef
Change-Id: I26f9a501d9da8b5d9cdefc08ae1a4fa394a533b6
Andreas Gampe [Tue, 18 Apr 2017 18:27:38 +0000 (18:27 +0000)]
Merge "ART: Make less lock-level noise on abort"
am:
2888e85164
Change-Id: I58b17056982de8e306ab6e0dfef430f74b5ec11f
Treehugger Robot [Tue, 18 Apr 2017 18:25:01 +0000 (18:25 +0000)]
Merge "Make ART build/test configurations use the CC collector by default."
Mathieu Chartier [Tue, 18 Apr 2017 18:24:00 +0000 (18:24 +0000)]
Merge "Differentiate between native alloc and normal background GC"
Treehugger Robot [Tue, 18 Apr 2017 18:21:41 +0000 (18:21 +0000)]
Merge "ART: Make less lock-level noise on abort"
Mathieu Chartier [Mon, 17 Apr 2017 22:24:43 +0000 (15:24 -0700)]
Differentiate between native alloc and normal background GC
Added a new GC cause kGcCauseForNativeAllocBackground.
Bug:
35872915
Test: test-art-host
Change-Id: I94e17f8bd53af29f2862b9910bd8abd2df97e229
Mathieu Chartier [Tue, 18 Apr 2017 17:22:17 +0000 (17:22 +0000)]
Merge "Use correct type for GetValueFromShadowFrame" am:
c36a970fcd
am:
d70097de7f
Change-Id: I08d16238a82fc03a39c96922b7236a00cadccce1
Roland Levillain [Tue, 18 Apr 2017 17:22:03 +0000 (17:22 +0000)]
Merge "Use WARN_UNUSED consistently in ART." am:
b2410c931a
am:
8e9691c069
Change-Id: Ib4c2777edf7f7490191e92bc9b76dce90bda5e52
Mathieu Chartier [Tue, 18 Apr 2017 17:16:48 +0000 (17:16 +0000)]
Merge "Use correct type for GetValueFromShadowFrame"
am:
c36a970fcd
Change-Id: I7ae578e671658c4790aaaf67aac22adfded9b5df
Roland Levillain [Tue, 18 Apr 2017 17:16:33 +0000 (17:16 +0000)]
Merge "Use WARN_UNUSED consistently in ART."
am:
b2410c931a
Change-Id: I9bc56ed10c7c4b7d72b89f5cfc95ac964b3e4138
Mathieu Chartier [Tue, 18 Apr 2017 17:14:00 +0000 (17:14 +0000)]
Merge "Use correct type for GetValueFromShadowFrame"
Roland Levillain [Tue, 18 Apr 2017 17:06:25 +0000 (17:06 +0000)]
Merge "Use WARN_UNUSED consistently in ART."
Mathieu Chartier [Tue, 18 Apr 2017 03:12:29 +0000 (20:12 -0700)]
Use correct type for GetValueFromShadowFrame
The field type is not necessarily the input type for boxed
primitives. If the field type is < 32 bits, it means there will be
partial object pointer in the JValue. If a conversion check is
later needed in GetUnboxedTypeAndValue, it will crash. The fix is
to use the PTypes.
Bug:
37446461
Test: test-art-host
Change-Id: I0c4b405f0c13910523b98a87ef12b9f302a5e241
Sebastien Hertz [Tue, 18 Apr 2017 16:27:30 +0000 (16:27 +0000)]
Merge "JDWP: fix Dbg::ResumeThread" am:
2203253254
am:
e320fb8224
Change-Id: I3a0d9ace36d8213dc35090ab750c449d5efcb281
Sebastien Hertz [Tue, 18 Apr 2017 16:22:31 +0000 (16:22 +0000)]
Merge "JDWP: fix Dbg::ResumeThread"
am:
2203253254
Change-Id: Ie4f5a2ce448d182eb306b59f718a52a86b999bf7
Sebastien Hertz [Tue, 18 Apr 2017 16:11:55 +0000 (16:11 +0000)]
Merge "JDWP: fix Dbg::ResumeThread"
Sebastien Hertz [Fri, 14 Apr 2017 13:05:12 +0000 (15:05 +0200)]
Always check result of Thread::ModifySuspendCount
Ensures that we never ignore the result of ModifySuspendCount so that
we can react if the suspend count is not updated as expected.
This CL does the following:
* Adds __attribute__((warn_unused_result)) on the method to raise an
error at compilation time if the result is ignored.
* Wraps calls with DCHECK where the result used to be ignored.
Bug:
27385848
Test: make -j test-art-host
Test: art/tools/run-jdwp-tests.sh --mode=host --variant=X64
Change-Id: I2d0e1ab7158c70ec8076c8bae6e4b814aee75af6
Andreas Gampe [Tue, 18 Apr 2017 15:27:57 +0000 (15:27 +0000)]
Merge "ART: Call ThreadGroup.add in Thread::FinishStartup" am:
2aac653df7
am:
37bd1c0928
Change-Id: I9b8d740f661f3135b5c54df1482a1bef906c0d39
Andreas Gampe [Tue, 18 Apr 2017 15:22:26 +0000 (15:22 +0000)]
Merge "ART: Call ThreadGroup.add in Thread::FinishStartup"
am:
2aac653df7
Change-Id: Ia457840ddc3c96eb3271dde5e210db26df404a58
Treehugger Robot [Tue, 18 Apr 2017 15:12:58 +0000 (15:12 +0000)]
Merge "ART: Call ThreadGroup.add in Thread::FinishStartup"
Roland Levillain [Tue, 18 Apr 2017 12:51:15 +0000 (12:51 +0000)]
Merge "Fix ARM64 SystemArrayCopy intrinsic with large constant dest position." am:
1cae72e6cf
am:
918f1f4f14
Change-Id: I821cf312acf1dd0539f706da20000087a7b262b1
Roland Levillain [Tue, 18 Apr 2017 12:45:45 +0000 (12:45 +0000)]
Merge "Fix ARM64 SystemArrayCopy intrinsic with large constant dest position."
am:
1cae72e6cf
Change-Id: Id814f38204ec28bb5d84e5ec772d5caf79a7e274
Roland Levillain [Tue, 18 Apr 2017 12:37:10 +0000 (12:37 +0000)]
Merge "Fix ARM64 SystemArrayCopy intrinsic with large constant dest position."
Vladimir Marko [Tue, 18 Apr 2017 12:18:14 +0000 (12:18 +0000)]
Merge "Revert "Disable 160-read-barrier-stress temporarily"" am:
e58b971b57
am:
03c1a76d68
Change-Id: I518d0ef1d2953d63ec510440516bf10d305a9afa
Vladimir Marko [Tue, 18 Apr 2017 12:13:13 +0000 (12:13 +0000)]
Merge "Revert "Disable 160-read-barrier-stress temporarily""
am:
e58b971b57
Change-Id: I288940985c066629dd5ab2e9312997b89055098f
Vladimir Marko [Tue, 18 Apr 2017 12:06:55 +0000 (12:06 +0000)]
Merge "Revert "Disable 160-read-barrier-stress temporarily""
Vladimir Marko [Tue, 18 Apr 2017 11:41:11 +0000 (11:41 +0000)]
Merge "Fix Arena allocation tracking." am:
4cb99a13d2
am:
c50078606a
Change-Id: I1e92d3aea02ed7a4c47175b300d394aa8440a42a
Vladimir Marko [Tue, 18 Apr 2017 11:35:41 +0000 (11:35 +0000)]
Merge "Fix Arena allocation tracking."
am:
4cb99a13d2
Change-Id: I4353655032f22837c55d4d221619126210b8aa47
Treehugger Robot [Tue, 18 Apr 2017 11:29:25 +0000 (11:29 +0000)]
Merge "Fix Arena allocation tracking."
Roland Levillain [Tue, 18 Apr 2017 11:01:58 +0000 (12:01 +0100)]
Use WARN_UNUSED consistently in ART.
Test: mmma art
Change-Id: I776840725f56258c45edfcfd165da61ab653f0b5
Roland Levillain [Thu, 13 Apr 2017 18:34:30 +0000 (19:34 +0100)]
Fix ARM64 SystemArrayCopy intrinsic with large constant dest position.
Make sure we do not deplete the whole VIXL scratch register pool, so
that VIXL can still use IP0 as a temporary when emitting
macro-instructions.
Test: art/test/testrunner/testrunner.py --optimizing --target --64
Bug:
37256530
Change-Id: I5da22e552297fad87db5763e2dab60ae6a7a43af
Vladimir Marko [Tue, 18 Apr 2017 09:47:12 +0000 (09:47 +0000)]
Revert "Disable 160-read-barrier-stress temporarily"
And reduce the number of fields in class ManyFields from
10000 to 5000 to reduce memory pressure on Jack. Split
the ManyFields class in a simple hierarchy to keep files
under 64KiB and allow compilation with javac.
Test: testrunner.py --host -j 48
Test: run-test --host --jvm 160-read-barrier-stress
Bug:
37335480
This reverts commit
101074999bd339c276eeaaf0538930d90a96657e.
Change-Id: I52217fd2c9d00a5b045a7faa6e4dc1438c7f93b1
Andreas Gampe [Tue, 18 Apr 2017 04:40:28 +0000 (21:40 -0700)]
ART: Make less lock-level noise on abort
The lock-level violations with the abort lock aren't really all
that interesting.
Test: m test-art-host
Change-Id: I8a5fc687009db914ec8f60d86068d87e71f8a894
Andreas Gampe [Tue, 18 Apr 2017 03:19:14 +0000 (20:19 -0700)]
ART: Call ThreadGroup.add in Thread::FinishStartup
ART should add the main thread to the main ThreadGroup. Behavior
of the Thread constructor changed.
Bug:
37444210
Test: art/test/testrunner/testrunner.py -b --host -t 051
Test: m test-art-host
Test: m build-art-host && art/tools/run-libcore-tests.sh --mode=host
Change-Id: I92cf2f9a6c5c3fdf385eb7925addc38b64fa4d98
Josh Gao [Tue, 18 Apr 2017 01:13:03 +0000 (01:13 +0000)]
Merge "sigchain: switch from __thread to pthread_setspecific." am:
36831abc29
am:
ef349c728d
Change-Id: Ic603db8698b0e8d162f3dc2133a19481d48bb080
Josh Gao [Tue, 18 Apr 2017 01:08:05 +0000 (01:08 +0000)]
Merge "sigchain: switch from __thread to pthread_setspecific."
am:
36831abc29
Change-Id: Ie5567b3889bf9b2af37ef2e88296f392d7f86073
Treehugger Robot [Tue, 18 Apr 2017 00:58:38 +0000 (00:58 +0000)]
Merge "sigchain: switch from __thread to pthread_setspecific."
Josh Gao [Mon, 17 Apr 2017 22:58:36 +0000 (15:58 -0700)]
sigchain: switch from __thread to pthread_setspecific.
__thread is implemented via emutls on Android, which will result in the
thread local variable being allocated again and leaked if it gets used
after it has been destructed already (e.g. by a later destructor
calling sigprocmask, or triggering a signal handler).
Switch to pthread_setspecific, which doesn't suffer from this problem.
Bug: http://b/
36871013
Test: ran dalvikvm on a class that spins creating threads
Change-Id: Ie5deab453be387490ba30a0010e12f60d736c8ad
Alex Light [Mon, 17 Apr 2017 22:00:47 +0000 (22:00 +0000)]
Merge "Enable some redefinition run-tests in CTS" am:
66f43b988a
am:
8fcbf927bc
Change-Id: Ia843f6631258a10f546e04c4b26ffa76d84b25dc
Andreas Gampe [Mon, 17 Apr 2017 22:00:22 +0000 (22:00 +0000)]
Merge "ART: Change run-test 913 array testing" am:
030b1066a6
am:
4a95b42347
Change-Id: I8dcc23d374acb91b882b59b5eeb0ab6ff843e138
Alex Light [Mon, 17 Apr 2017 21:56:17 +0000 (21:56 +0000)]
Merge "Enable some redefinition run-tests in CTS"
am:
66f43b988a
Change-Id: Ic0db769c4d17ed3996ac653c77fb136ed5278c57
Andreas Gampe [Mon, 17 Apr 2017 21:55:50 +0000 (21:55 +0000)]
Merge "ART: Change run-test 913 array testing"
am:
030b1066a6
Change-Id: I5848a08931e0ddb7124c0d11facdd581f7129b5d
Mathieu Chartier [Mon, 17 Apr 2017 21:46:22 +0000 (21:46 +0000)]
Merge "Disable read barrier thunks for heap poisoning" am:
3ace1f0ce2
am:
2c00094e63
Change-Id: I6612eb32f196b824bbf933f469a5c94d50faef2c
Treehugger Robot [Mon, 17 Apr 2017 21:45:18 +0000 (21:45 +0000)]
Merge "Enable some redefinition run-tests in CTS"
Treehugger Robot [Mon, 17 Apr 2017 21:42:46 +0000 (21:42 +0000)]
Merge "ART: Change run-test 913 array testing"
Mathieu Chartier [Mon, 17 Apr 2017 21:41:50 +0000 (21:41 +0000)]
Merge "Disable read barrier thunks for heap poisoning"
am:
3ace1f0ce2
Change-Id: I5f0e3606cb05968ef517ebf5f99d1d87e84babef
Calin Juravle [Mon, 17 Apr 2017 21:41:50 +0000 (21:41 +0000)]
Merge "Print runtime isa when invoking 'dalvikvm --showversion'" am:
445452cda0
am:
cec16d0202
Change-Id: Ibf228e8f1ddc0513307ba1b0e5aee2a1e3a15b9d
Calin Juravle [Mon, 17 Apr 2017 21:36:52 +0000 (21:36 +0000)]
Merge "Print runtime isa when invoking 'dalvikvm --showversion'"
am:
445452cda0
Change-Id: I131eca067fb6e0bd8bb05c319785e005dc743e45
Treehugger Robot [Mon, 17 Apr 2017 21:35:48 +0000 (21:35 +0000)]
Merge "Disable read barrier thunks for heap poisoning"