OSDN Git Service
Jeff Hao [Thu, 17 Nov 2016 21:43:28 +0000 (21:43 +0000)]
Merge "Change offline profile to store type_idx of classes."
am:
137b07593a
Change-Id: I54ddfa87ea79389c2c3c2ae424859b765d09c879
Jeff Hao [Thu, 17 Nov 2016 21:31:00 +0000 (21:31 +0000)]
Merge "Change offline profile to store type_idx of classes."
Andreas Gampe [Thu, 17 Nov 2016 21:11:18 +0000 (21:11 +0000)]
Merge changes I710ca0ed,I576e7926,Id0144b68
am:
de19542bdd
Change-Id: Idae7cdaadfbe28263d5862d4e3d87ecb4d68d247
Andreas Gampe [Thu, 17 Nov 2016 21:11:16 +0000 (21:11 +0000)]
ART: Stop JIT in 913-heaps
am:
8df069253e
Change-Id: I36155aa2a3ea69be995e7fc2c3bbe5d324cd08df
Andreas Gampe [Thu, 17 Nov 2016 21:11:08 +0000 (21:11 +0000)]
ART: Add ScopedJitSuspend
am:
f149b3fc6f
Change-Id: Iec0ff4c77ce4916a8d5759b5043b64db6a4f82c2
Andreas Gampe [Thu, 17 Nov 2016 21:11:00 +0000 (21:11 +0000)]
ART: Change ThreadPool::Wait behavior
am:
6f3a70f316
Change-Id: If0d902e866deb118ac385283a75db077955e9923
Treehugger Robot [Thu, 17 Nov 2016 20:59:11 +0000 (20:59 +0000)]
Merge changes I710ca0ed,I576e7926,Id0144b68
* changes:
ART: Stop JIT in 913-heaps
ART: Add ScopedJitSuspend
ART: Change ThreadPool::Wait behavior
Jeff Hao [Wed, 16 Nov 2016 23:15:04 +0000 (15:15 -0800)]
Change offline profile to store type_idx of classes.
Changed from storing class_def_idx to type_idx. Allows dexlayout to move
class defs without affecting the profile.
Test: mm test-art-host
Change-Id: I8a040adf0f5f47a1592e18aeb55edde01cb3e1ed
Pavle Batuta [Thu, 17 Nov 2016 17:39:40 +0000 (17:39 +0000)]
Merge "[MIPS64] JNI Compiler: compiler independent test"
am:
8eaa426ca9
Change-Id: I5626fcfc1ec54f1038a980e158483bf00882c9ed
Treehugger Robot [Thu, 17 Nov 2016 17:30:43 +0000 (17:30 +0000)]
Merge "[MIPS64] JNI Compiler: compiler independent test"
Andreas Gampe [Wed, 16 Nov 2016 18:58:11 +0000 (10:58 -0800)]
ART: Stop JIT in 913-heaps
To avoid any JIT interaction, stop the JIT thread pool in
test 913-heaps.
Bug:
31385354
Test: m ART_TEST_JIT=true test-art-host-run-test-913-heaps
Change-Id: I710ca0ed3736b5394863aa76aff9ea2ae7d50cb1
Andreas Gampe [Wed, 16 Nov 2016 22:58:24 +0000 (14:58 -0800)]
ART: Add ScopedJitSuspend
Add a helper to suspend the JIT in a scope. This will
wait for the JIT to quiesce, finishing already running
compile jobs. Note that the queue will not be drained,
jobs not picked up by the pool, yet, will remain in
the queue.
Bug:
31385354
Test: m test-art-host
Change-Id: I576e7926423f19a8f382be1263838cd924955f1c
Andreas Gampe [Wed, 16 Nov 2016 21:58:05 +0000 (13:58 -0800)]
ART: Change ThreadPool::Wait behavior
When a pool is in the stopped state, Wait() will not wait for all
tasks to complete.
Bug:
31385354
Test: m test-art-host-gtest-thread_pool_test
Change-Id: Id0144b685ee2fddf1a1c2c2ca334251130121033
Goran Jakovljevic [Thu, 17 Nov 2016 16:12:31 +0000 (16:12 +0000)]
Merge "Revert "jni: Punt to generic JNI for mips""
am:
3825da56fb
Change-Id: I5bf181a633f2f6154d1f94dec33afa4af05fdd95
Goran Jakovljevic [Thu, 17 Nov 2016 16:12:21 +0000 (16:12 +0000)]
Merge "jni: Add @CriticalNative support for MIPS32/MIPS64"
am:
c180a1b861
Change-Id: Id63784bf5a3278984b97e991666f51ce15bcbef7
Goran Jakovljevic [Thu, 17 Nov 2016 16:12:06 +0000 (16:12 +0000)]
Merge "MIPS32: Assign missing entrypoints in InitEntryPoints"
am:
2b362587ab
Change-Id: I1ccffc2b7341c83579923ccc6834600f3b331822
Treehugger Robot [Thu, 17 Nov 2016 15:57:53 +0000 (15:57 +0000)]
Merge "Revert "jni: Punt to generic JNI for mips""
Treehugger Robot [Thu, 17 Nov 2016 15:57:53 +0000 (15:57 +0000)]
Merge "jni: Add @CriticalNative support for MIPS32/MIPS64"
Treehugger Robot [Thu, 17 Nov 2016 15:57:48 +0000 (15:57 +0000)]
Merge "MIPS32: Assign missing entrypoints in InitEntryPoints"
Vladimir Marko [Thu, 17 Nov 2016 14:36:59 +0000 (14:36 +0000)]
Merge "Add const-class benchmark."
am:
85347bd18d
Change-Id: I51ead2a9540328f67a60415960932037faf926cc
Vladimir Marko [Thu, 17 Nov 2016 14:24:45 +0000 (14:24 +0000)]
Merge "Add const-class benchmark."
Vladimir Marko [Wed, 16 Nov 2016 15:40:12 +0000 (15:40 +0000)]
Add const-class benchmark.
Also fix indentation in const-string benchmark.
Test: vogar --benchmark art/benchmark/const-class/src/ConstClassBenchmark.java
Test: vogar --benchmark art/benchmark/const-string/src/ConstStringBenchmark.java
Bug:
30627598
Change-Id: I04ca9514f6e647640e2c0d9d65fdc4ace652927a
Pavle Batuta [Wed, 16 Mar 2016 10:31:46 +0000 (11:31 +0100)]
[MIPS64] JNI Compiler: compiler independent test
Fixed MIPS64 stackArgsSignExtendedTest that did not work properly
when code was built with clang. The the test is now written in an
asm stub and should be completely compiler indepedent.
Test: mma test-art-target-gtest-jni_compiler_test
Change-Id: Idefef3a8414dd8b88a28d2d8862a724bc72402a7
Orion Hodson [Thu, 17 Nov 2016 10:39:19 +0000 (10:39 +0000)]
Merge "MethodHandles: Check return types when resolving handles."
am:
f75d4c239d
Change-Id: I9c9ca29eab482f655d998b681c553df31a438846
Orion Hodson [Thu, 17 Nov 2016 10:26:45 +0000 (10:26 +0000)]
Merge "MethodHandles: Check return types when resolving handles."
Nicolas Geoffray [Thu, 17 Nov 2016 09:51:43 +0000 (09:51 +0000)]
Merge "ARM: VIXL32: Arch specific operations."
am:
5f498b2784
Change-Id: Iba17cab711def97b3fcdf61c8aa891871669b52f
Nicolas Geoffray [Thu, 17 Nov 2016 09:39:23 +0000 (09:39 +0000)]
Merge "ARM: VIXL32: Arch specific operations."
Hiroshi Yamauchi [Thu, 17 Nov 2016 00:43:09 +0000 (00:43 +0000)]
Merge "Address comments from aog/303658."
am:
ab39c21007
Change-Id: Ia9eed86c3cb3e6dcee24e43b652b47ed35f6494a
Hiroshi Yamauchi [Thu, 17 Nov 2016 00:36:44 +0000 (00:36 +0000)]
Merge "Address comments from aog/303658."
Hiroshi Yamauchi [Wed, 16 Nov 2016 22:51:32 +0000 (22:51 +0000)]
Merge "Ensure CC GC is used for the read barrier config."
am:
96de579b8c
Change-Id: I36400acaa712fc52b4bdd62370b5a1b09d8aef0d
Treehugger Robot [Wed, 16 Nov 2016 22:39:44 +0000 (22:39 +0000)]
Merge "Ensure CC GC is used for the read barrier config."
Mathieu Chartier [Wed, 16 Nov 2016 21:52:28 +0000 (21:52 +0000)]
Merge "Change iftable to never be null"
am:
82d44f1408
Change-Id: I9a8bf5e7a49de9d865f3d05278f9894746cb9d29
Mathieu Chartier [Wed, 16 Nov 2016 21:40:34 +0000 (21:40 +0000)]
Merge "Change iftable to never be null"
Hiroshi Yamauchi [Wed, 16 Nov 2016 21:30:17 +0000 (13:30 -0800)]
Address comments from aog/303658.
Bug:
12687968
Test: test-art-host with CC.
Change-Id: I87a3be336cb1c6b17acc515415c325464ffddc01
Hiroshi Yamauchi [Tue, 15 Nov 2016 01:35:12 +0000 (17:35 -0800)]
Ensure CC GC is used for the read barrier config.
To prevent the -Xgc option from causing unsupported GC types to run.
Bug:
12687968
Test: test-art-host with CC.
Change-Id: I10b42190c0888342e9127c52e863ddae82e4d7a1
Mathieu Chartier [Tue, 15 Nov 2016 23:51:31 +0000 (15:51 -0800)]
Change iftable to never be null
Simplifies code generation by removing a null check. The null case
is rare.
Ritzperf code size:
13107624 ->
13095336
Also addressed comments from previous CL.
Bug:
32577579
Test: test-art-host, run ritzperf both with CC
Change-Id: I2b31e800867112869d7f0643e16c08826296979e
Artem Serov [Fri, 21 Oct 2016 10:51:50 +0000 (11:51 +0100)]
ARM: VIXL32: Arch specific operations.
Tests which now start to pass:
550-checker-multiply-accumulate
564-checker-negbitwise
Test: export ART_USE_VIXL_ARM_BACKEND=true && \
mma test-art-host dist && mma test-art-target dist
Change-Id: I0b057486a8e0e48afbc52dd18b61ea16c671bec2
Aart Bik [Wed, 16 Nov 2016 18:17:14 +0000 (18:17 +0000)]
Merge "A few more tests for LICM."
am:
a45aedbc88
Change-Id: I9702845ba004d7caaf80b3c7396fd127c3f5f54c
Aart Bik [Wed, 16 Nov 2016 18:04:54 +0000 (18:04 +0000)]
Merge "A few more tests for LICM."
Aart Bik [Wed, 9 Nov 2016 23:30:03 +0000 (15:30 -0800)]
A few more tests for LICM.
Rationale:
These tests ensure that some possible improvements in LICM
(e.g. hoisting add in environment out of the loops) will
be done right in the future.
Test: test-art-host
Change-Id: Ic00775ccf03408273d427ee9399df55b091c9fa4
Orion Hodson [Wed, 16 Nov 2016 13:43:26 +0000 (13:43 +0000)]
MethodHandles: Check return types when resolving handles.
Test: m test-art-host-run-test-956-methodhandles
Bug:
30550796
Change-Id: Idff2a3649d812b2901794594661327154299cc05
Nicolas Geoffray [Wed, 16 Nov 2016 11:36:21 +0000 (11:36 +0000)]
Merge "ARM: VIXL32: Fix VisitTypeConversion."
am:
ecd8300b94
Change-Id: Ifb09f276e6d8ab0fd3c2a4238b91f007d563efae
Nicolas Geoffray [Wed, 16 Nov 2016 11:25:40 +0000 (11:25 +0000)]
Merge "ARM: VIXL32: Fix VisitTypeConversion."
Nicolas Geoffray [Wed, 16 Nov 2016 11:20:50 +0000 (11:20 +0000)]
Merge "Use OUT_DIR_COMMON_BASE if OUT_DIR is unset."
am:
6604075701
Change-Id: I78166f0227bf244838051328a76682d9082f39a4
Nicolas Geoffray [Wed, 16 Nov 2016 11:05:40 +0000 (11:05 +0000)]
Merge "Use OUT_DIR_COMMON_BASE if OUT_DIR is unset."
Andreas Gampe [Tue, 15 Nov 2016 23:20:07 +0000 (23:20 +0000)]
Merge "ART: Prioritize reference table dump"
am:
e89667815b
Change-Id: Ifb85f5371d2224f5455ac0e7eb66e84e63e67d54
Treehugger Robot [Tue, 15 Nov 2016 23:13:00 +0000 (23:13 +0000)]
Merge "ART: Prioritize reference table dump"
Andreas Gampe [Tue, 15 Nov 2016 22:26:03 +0000 (22:26 +0000)]
Merge "ART: Print debug info in test 913"
am:
2bf3c56769
Change-Id: I91d27613fc8c7eb98f57de5a50bf5216cff89dec
Treehugger Robot [Tue, 15 Nov 2016 22:14:44 +0000 (22:14 +0000)]
Merge "ART: Print debug info in test 913"
Mathieu Chartier [Tue, 15 Nov 2016 21:26:34 +0000 (21:26 +0000)]
Merge "Pass object instead of class to instanceof entrypoint"
am:
78edc92a8e
Change-Id: I14915fbb01120685f7922d45e63fceaccdd998b5
Mathieu Chartier [Tue, 15 Nov 2016 21:14:54 +0000 (21:14 +0000)]
Merge "Pass object instead of class to instanceof entrypoint"
Mathieu Chartier [Mon, 14 Nov 2016 22:38:53 +0000 (14:38 -0800)]
Pass object instead of class to instanceof entrypoint
Reduces code size. Also avoid read barrier for kArrayCheck case.
Bug:
32577579
Test: test-art-host, test-art-target CC
Change-Id: Ia890f656fe166b2d39c522b63a8a6469404134ae
Andreas Gampe [Tue, 15 Nov 2016 20:33:18 +0000 (12:33 -0800)]
ART: Print debug info in test 913
In case we find an unexpected thread root, dump all stacks.
Bug:
31385354
Test: m test-art-host-run-test-913-heaps
Change-Id: I62635950d5afe639d0f86f2b436809d75375956f
Alex Light [Tue, 15 Nov 2016 18:54:26 +0000 (18:54 +0000)]
Merge "Add option to force all code to be deoptimizable"
am:
1c80417e03
Change-Id: I83204166035b5b71125e4b69b72d51d0638425b1
Treehugger Robot [Tue, 15 Nov 2016 18:41:38 +0000 (18:41 +0000)]
Merge "Add option to force all code to be deoptimizable"
Andreas Gampe [Tue, 15 Nov 2016 17:25:14 +0000 (17:25 +0000)]
Merge "ART: Name dex2oat main thread "dex2oat""
am:
e5bb42ec74
Change-Id: Ibe51934c4a8f8e1fd0b3f9d75cde29f9ef12b0ef
Treehugger Robot [Tue, 15 Nov 2016 17:18:22 +0000 (17:18 +0000)]
Merge "ART: Name dex2oat main thread "dex2oat""
Alex Light [Fri, 11 Nov 2016 19:21:04 +0000 (11:21 -0800)]
Add option to force all code to be deoptimizable
Currently this can only be passed during runtime startup. We will add
support for doing it from the zygote in the future.
Bug:
28769520
Bug:
32369913
Test: m test-art-host
Change-Id: I5eb16887ea14b140217c123b3effd47c5c8b2768
Jeff Hao [Tue, 15 Nov 2016 02:50:30 +0000 (02:50 +0000)]
Merge "Fix use of std::stoi without error handling."
am:
886356684c
Change-Id: I2ab8209a9a0bd03ca5ab958b9ed24f88d0165350
Jeff Hao [Tue, 15 Nov 2016 02:35:38 +0000 (02:35 +0000)]
Merge "Fix use of std::stoi without error handling."
Andreas Gampe [Tue, 15 Nov 2016 01:00:28 +0000 (17:00 -0800)]
ART: Prioritize reference table dump
Sort the reference table summary dump by highest count, prioritizing
repeated types and instances. This will help with triaging leaks.
Add a test.
Bug:
32857749
Test: m test-art-host-gtest-reference_table_test
Change-Id: I7e61881b5badf9ac2b6b72333f31437ab498caee
Hiroshi Yamauchi [Mon, 14 Nov 2016 23:54:47 +0000 (23:54 +0000)]
Merge "Optimize non-intrinsic object array copy for Baker."
am:
26c8f54be3
Change-Id: Ie823ccee410e52f7ad6cd32d0efd6c878b324e6b
Treehugger Robot [Mon, 14 Nov 2016 23:44:49 +0000 (23:44 +0000)]
Merge "Optimize non-intrinsic object array copy for Baker."
Jeff Hao [Mon, 14 Nov 2016 23:31:06 +0000 (15:31 -0800)]
Fix use of std::stoi without error handling.
Changed to use strtoul, with a break if it fails to read the checksum.
Test: mm test-art-host
Bug:
32066687
Change-Id: Ic1299c23aae15a8329ad57b4eca5c0857f6eefb6
Mathieu Chartier [Mon, 14 Nov 2016 23:18:17 +0000 (23:18 +0000)]
Merge "Change 64 bit atomic counter to size_t"
am:
e07b0b44d4
Change-Id: I50bddf86012ab6e482629b5db186c83de93ffbe0
Mathieu Chartier [Mon, 14 Nov 2016 23:08:34 +0000 (23:08 +0000)]
Merge "Change 64 bit atomic counter to size_t"
Hiroshi Yamauchi [Mon, 14 Nov 2016 21:42:50 +0000 (13:42 -0800)]
Optimize non-intrinsic object array copy for Baker.
Check the gray bit per array rather than per element.
Bug:
12687968
Test: test-art-host with CC.
Change-Id: I20b44e522e66f0b156644b93a2885a8e7f40f8db
Mathieu Chartier [Mon, 14 Nov 2016 20:58:07 +0000 (20:58 +0000)]
Merge "Clean up interface check cast"
am:
8f2af0cab9
Change-Id: Ia24cceb26d6c30abe85832f2e45c5d6a8aa4c755
Mathieu Chartier [Mon, 14 Nov 2016 20:49:27 +0000 (20:49 +0000)]
Merge "Clean up interface check cast"
Mathieu Chartier [Mon, 14 Nov 2016 18:50:29 +0000 (10:50 -0800)]
Clean up interface check cast
Changed arm, arm64 to use less labels and removed forward branch
in the success case.
Cleaned up X86, X86_64 to remove the is_null label.
Bug:
12687968
Bug:
32577579
Test: test-art-host, test-art-target CC
Change-Id: Iba426dff548b2ef42198fad13efeb075f7c724a7
Andreas Gampe [Mon, 14 Nov 2016 18:27:57 +0000 (18:27 +0000)]
Merge "ART: Make test 030 slightly more robust"
am:
66ceada00f
Change-Id: I5b209d742eac313e1a95f19e872c4fd1fa298dd4
Andreas Gampe [Mon, 14 Nov 2016 18:11:16 +0000 (10:11 -0800)]
ART: Name dex2oat main thread "dex2oat"
For better representation in tools like top and ps.
Test: m
Change-Id: Ia93271a850d5b0dfa79d09ea4f6b02b5230727d0
Treehugger Robot [Mon, 14 Nov 2016 18:18:12 +0000 (18:18 +0000)]
Merge "ART: Make test 030 slightly more robust"
Scott Wakeling [Fri, 28 Oct 2016 15:11:08 +0000 (16:11 +0100)]
ARM: VIXL32: Fix VisitTypeConversion.
Pass 422-type-conversion and some other tests.
Test: export ART_USE_VIXL_ARM_BACKEND=true && \
mma test-art-host dist && mma test-art-target dist
Change-Id: I89a491a7724ae5286b717133eec16433b7066845
Nicolas Geoffray [Mon, 14 Nov 2016 12:48:26 +0000 (12:48 +0000)]
Merge "Revert "Revert "Revert "JIT root tables.""""
am:
81cae78d18
Change-Id: Icaf0bf548f4d33571e991a36a1b9f5e81652baa6
Nicolas Geoffray [Mon, 14 Nov 2016 12:48:09 +0000 (12:48 +0000)]
Merge "Update test expectation."
am:
e8fc2cedb8
Change-Id: Ifee6e8f2ded23c4ada65498e24dc18c154bf7c99
Nicolas Geoffray [Mon, 14 Nov 2016 12:41:12 +0000 (12:41 +0000)]
Merge "Revert "Revert "Revert "JIT root tables.""""
Nicolas Geoffray [Mon, 14 Nov 2016 12:40:52 +0000 (12:40 +0000)]
Revert "Revert "Revert "JIT root tables."""
libcore failures:
dalvikvm32 F 11-14 03:04:06 14870 14870 jit_code_cache.cc:310] Check failed: new_string != nullptr
This reverts commit
75afcdd3503a8a8518e5b23d21b6e73306ce39ce.
Change-Id: I5a6b6b48aa79a763d1ff1ba4d85d63811254787d
Nicolas Geoffray [Mon, 14 Nov 2016 12:38:11 +0000 (12:38 +0000)]
Merge "Update test expectation."
Nicolas Geoffray [Mon, 14 Nov 2016 12:36:55 +0000 (12:36 +0000)]
Update test expectation.
test: 902
Change-Id: I0d9082a34a66c5f2aadec90eda0c5c2a0feef2e4
Nicolas Geoffray [Mon, 14 Nov 2016 09:34:01 +0000 (09:34 +0000)]
Merge "Revert "Revert "Rename vdex-fd to output-vdex-fd, add input-vdex-fd."""
am:
ddb7b436c5
Change-Id: I34645adf760642ad9663d6fa77c72c9a2dad21ea
Nicolas Geoffray [Mon, 14 Nov 2016 09:24:56 +0000 (09:24 +0000)]
Merge "Revert "Revert "Rename vdex-fd to output-vdex-fd, add input-vdex-fd."""
Nicolas Geoffray [Mon, 14 Nov 2016 09:19:47 +0000 (09:19 +0000)]
Merge "Revert "Revert "JIT root tables."""
am:
4b050e817b
Change-Id: I58d029103296071d91fcf5d1a5d969095aab925c
Nicolas Geoffray [Mon, 14 Nov 2016 09:19:28 +0000 (09:19 +0000)]
Merge "Update 902 test to highlight JIT issue."
am:
7fad15efba
Change-Id: I666e3330cbb468fa3683bb1e1965b9b15fcb9b9e
Nicolas Geoffray [Mon, 14 Nov 2016 09:13:46 +0000 (09:13 +0000)]
Merge "Revert "Revert "JIT root tables."""
Nicolas Geoffray [Mon, 14 Nov 2016 09:12:59 +0000 (09:12 +0000)]
Merge "Update 902 test to highlight JIT issue."
Nicolas Geoffray [Fri, 11 Nov 2016 11:45:59 +0000 (11:45 +0000)]
Update 902 test to highlight JIT issue.
Test: 902-hello-transformation
bug:
32821077
Change-Id: Ic7d267a5e62d4e001d1b85f1cc3d10546814bd18
Nicolas Geoffray [Sat, 12 Nov 2016 14:08:17 +0000 (14:08 +0000)]
Merge "ARM: VIXL32: Implement more codegen visitors."
am:
cfeb03142f
Change-Id: Iae75e428f72e48b12d5ebc378b620a8be4a1b673
Nicolas Geoffray [Sat, 12 Nov 2016 13:58:17 +0000 (13:58 +0000)]
Merge "ARM: VIXL32: Implement more codegen visitors."
neo.chae [Sat, 12 Nov 2016 07:00:26 +0000 (07:00 +0000)]
Merge "Add visiting for class loaders in StickyMarkSweep"
am:
e66dd4995b
Change-Id: Ibcb0fa672152a15467b38794714247b67ecd5876
Treehugger Robot [Sat, 12 Nov 2016 06:48:17 +0000 (06:48 +0000)]
Merge "Add visiting for class loaders in StickyMarkSweep"
Fredrik Roubert [Sat, 12 Nov 2016 03:28:18 +0000 (19:28 -0800)]
Use OUT_DIR_COMMON_BASE if OUT_DIR is unset.
In build/make/core/envsetup.mk the logic for setting OUT_DIR is this:
ifeq (,$(strip $(OUT_DIR)))
ifeq (,$(strip $(OUT_DIR_COMMON_BASE)))
OUT_DIR := $(TOPDIR)out
else
OUT_DIR := $(OUT_DIR_COMMON_BASE)/$(notdir $(PWD))
endif
endif
To get the correct value for its out_dir variable, buildbot-build.sh
needs to do the same, otherwise it'll generate incorrect target names
in environments where OUT_DIR_COMMON_BASE is set but OUT_DIR unset.
Test: art/tools/buildbot-build.sh --host
Change-Id: I558949655a97b47ce3c560ed70310c9768e1da5c
Andreas Gampe [Sat, 12 Nov 2016 03:08:12 +0000 (03:08 +0000)]
Merge "ART: Fix alloc-dealloc mismatch"
am:
22f75bb76d
Change-Id: I5833d30ee0d103a8131d337d4e18dd30d4a2aa10
Treehugger Robot [Sat, 12 Nov 2016 02:59:32 +0000 (02:59 +0000)]
Merge "ART: Fix alloc-dealloc mismatch"
Andreas Gampe [Sat, 12 Nov 2016 01:11:25 +0000 (17:11 -0800)]
ART: Fix alloc-dealloc mismatch
Mark type as array.
Bug:
31098551
Test: m test-art-host
Change-Id: Ia27a997e838a408cc68f0d9fe58734155e709e85
neo.chae [Mon, 7 Nov 2016 23:40:46 +0000 (08:40 +0900)]
Add visiting for class loaders in StickyMarkSweep
StickyMarkSweep clear the mark stack,
Because all reachable objects must be referenced by a root or a dirty card.
But, there are some marking hole for class object.
If some object is marked and the object and it's class object is not dirty,
Then class object cannot be marking by card table.
In previous OS including mashmellow,
Class table was maintaned by class linker
and all class object was marked with kVisitRootFlagAllRoots flag.
In N OS,
Class object is not marked with kVisitRootFlagAllRoots.
So, I added new flag to mark class object and using it StickyMarkSweep.
Added regression test in 141-class-unload.
Test: test-art-host
Change-Id: I57599e6db53b260f4c5ef466b63962141b8da5c3
Signed-off-by: Hyangseok Chae <neo.chae@lge.com>
Aart Bik [Fri, 11 Nov 2016 19:24:45 +0000 (19:24 +0000)]
Merge "Fixed bug in LICM"
am:
5a92027262
Change-Id: Ie105e16ff3b2d9c199e21fba78e861e613cfb8b9
Treehugger Robot [Fri, 11 Nov 2016 19:18:23 +0000 (19:18 +0000)]
Merge "Fixed bug in LICM"
Hiroshi Yamauchi [Fri, 11 Nov 2016 18:54:15 +0000 (18:54 +0000)]
Merge "Make empty checkpoint work while weak ref access is disabled."
am:
39ce7d2907
Change-Id: I9fc7a636864f1c8d8993341dcd0554a65bd6fa59
Hiroshi Yamauchi [Fri, 11 Nov 2016 18:44:44 +0000 (18:44 +0000)]
Merge "Make empty checkpoint work while weak ref access is disabled."