OSDN Git Service

android-x86/art.git
8 years agoMerge "Add support for Baker read barriers in SystemArrayCopy intrinsics." am: 6670bd2098
Roland Levillain [Fri, 19 Aug 2016 15:17:25 +0000 (15:17 +0000)]
Merge "Add support for Baker read barriers in SystemArrayCopy intrinsics." am: 6670bd2098
am: 9834fb855d

Change-Id: Ifa19125f8b3f2b8ea43b435d73b73273d6cdd2f1

8 years agoMerge "Add support for Baker read barriers in SystemArrayCopy intrinsics."
Roland Levillain [Fri, 19 Aug 2016 15:14:29 +0000 (15:14 +0000)]
Merge "Add support for Baker read barriers in SystemArrayCopy intrinsics."
am: 6670bd2098

Change-Id: Ic796cba890a32feeb9ad7d7fbb661b9880252cb4

8 years agoMerge "Add support for Baker read barriers in SystemArrayCopy intrinsics."
Roland Levillain [Fri, 19 Aug 2016 15:07:31 +0000 (15:07 +0000)]
Merge "Add support for Baker read barriers in SystemArrayCopy intrinsics."

8 years agoAdd support for Baker read barriers in SystemArrayCopy intrinsics.
Roland Levillain [Fri, 19 Aug 2016 11:02:34 +0000 (12:02 +0100)]
Add support for Baker read barriers in SystemArrayCopy intrinsics.

Benchmarks (ARM64) score variations on Nexus 5X with CPU
cores clamped at 960000 Hz (aosp_bullhead-userdebug build):
- Ritzperf - average (lower is better):       -3.03% (slightly better)
- CaffeineMark - average (higher is better):  +1.26% (slightly better)
- DeltaBlue (lower is better):               -10.50% (better)
- Richards - average (lower is better):       -3.36% (slightly better)
- SciMark2 - average (higher is better):      +0.26% (virtually unchanged)

Details about Ritzperf benchmarks with meaningful variations
(lower is better):
- FormulaEvaluationActions.EvaluateAndApplyChanges: -13.26% (better)
- FormulaEvaluationActions.EvaluateCascadingSums:   -10.94% (better)
- FormulaEvaluationActions.EvaluateComplexFormulas: -15.50% (better)
- FormulaEvaluationActions.EvaluateFibonacci:       -10.41% (better)
- FormulaEvaluationActions.EvaluateLargeSums:        +6.02% (worse)

Boot image code size variation on Nexus 5X
(aosp_bullhead-userdebug build):
- total ARM64 framework Oat files size change:
  107047632 bytes -> 107154128 bytes (+0.10%)
- total ARM framework Oat files size change:
  90932028 bytes -> 91009852 bytes (+0.09%)

Test: ART host and target (ARM, ARM64) tests + Nexus 5X boot.
Bug: 29516905
Bug: 29506760
Bug: 12687968
Change-Id: I85431368d09965687a0301ae2eb3c991f276ce5d

8 years agoMerge "Improve the thread flip." am: f606c3a687
Hiroshi Yamauchi [Fri, 19 Aug 2016 01:39:02 +0000 (01:39 +0000)]
Merge "Improve the thread flip." am: f606c3a687
am: 0fcddda9e6

Change-Id: I5af1c512800aaa15375306a36a416b09e8a4ba96

8 years agoMerge "Improve the thread flip."
Hiroshi Yamauchi [Fri, 19 Aug 2016 01:36:35 +0000 (01:36 +0000)]
Merge "Improve the thread flip."
am: f606c3a687

Change-Id: I93770b75a2d9e3ae3f3d53f37985d031425efe98

8 years agoMerge "Improve the thread flip."
Treehugger Robot [Fri, 19 Aug 2016 01:29:50 +0000 (01:29 +0000)]
Merge "Improve the thread flip."

8 years agoMerge "Color spill slots in gc regalloc" am: 96954301ee
Matthew Gharrity [Fri, 19 Aug 2016 00:37:28 +0000 (00:37 +0000)]
Merge "Color spill slots in gc regalloc" am: 96954301ee
am: 9ffb2dbdc3

Change-Id: I9e61a5e089a7a427937b571d8d70964c5b97a80b

8 years agoMerge "Color spill slots in gc regalloc"
Matthew Gharrity [Fri, 19 Aug 2016 00:34:31 +0000 (00:34 +0000)]
Merge "Color spill slots in gc regalloc"
am: 96954301ee

Change-Id: Ibeafcda9441236cddcc2c1ce239ee5c260848a13

8 years agoMerge "Color spill slots in gc regalloc"
Treehugger Robot [Fri, 19 Aug 2016 00:30:44 +0000 (00:30 +0000)]
Merge "Color spill slots in gc regalloc"

8 years agoMerge "Log optimization passes in verbose mode" am: 35938f90ef
Aart Bik [Thu, 18 Aug 2016 23:44:55 +0000 (23:44 +0000)]
Merge "Log optimization passes in verbose mode" am: 35938f90ef
am: 162a5bcc73

Change-Id: I6c8d9504af6b2383707d851cc13f1f93cdac0fb9

8 years agoMerge "Log optimization passes in verbose mode"
Aart Bik [Thu, 18 Aug 2016 23:41:57 +0000 (23:41 +0000)]
Merge "Log optimization passes in verbose mode"
am: 35938f90ef

Change-Id: I71332e121fe7a2deca1932b76281ca8a79427141

8 years agoMerge "Log optimization passes in verbose mode"
Aart Bik [Thu, 18 Aug 2016 23:35:09 +0000 (23:35 +0000)]
Merge "Log optimization passes in verbose mode"

8 years agoMerge "dex_instruction: k45cc HasVarArgs" am: 3049b2a54b
Narayan Kamath [Thu, 18 Aug 2016 11:02:33 +0000 (11:02 +0000)]
Merge "dex_instruction: k45cc HasVarArgs" am: 3049b2a54b
am: 11cfcd9784

Change-Id: I998122f07d43ff87b365b2650800552a92c8d0fe

8 years agoMerge "dex_instruction: k45cc HasVarArgs"
Narayan Kamath [Thu, 18 Aug 2016 10:59:36 +0000 (10:59 +0000)]
Merge "dex_instruction: k45cc HasVarArgs"
am: 3049b2a54b

Change-Id: I46dd32227166260b1832f974256d654269ac18bb

8 years agoMerge "dex_instruction: k45cc HasVarArgs"
Treehugger Robot [Thu, 18 Aug 2016 10:56:54 +0000 (10:56 +0000)]
Merge "dex_instruction: k45cc HasVarArgs"

8 years agodex_instruction: k45cc HasVarArgs
Narayan Kamath [Mon, 15 Aug 2016 15:08:18 +0000 (16:08 +0100)]
dex_instruction: k45cc HasVarArgs

Change-Id: I3be92269bb78c96ec41ab533c5792bd369c02178
Test: make test-art-host
bug: 30550796

8 years agoMerge "Fix optimizing compiler not building for svelte" am: 1a3fd4a646
Wojciech Staszkiewicz [Thu, 18 Aug 2016 06:14:45 +0000 (06:14 +0000)]
Merge "Fix optimizing compiler not building for svelte" am: 1a3fd4a646
am: b24860d0e7

Change-Id: I1603bc10fb0816116f032690a4edee3201e55b0e

8 years agoMerge "Fix optimizing compiler not building for svelte"
Wojciech Staszkiewicz [Thu, 18 Aug 2016 06:12:19 +0000 (06:12 +0000)]
Merge "Fix optimizing compiler not building for svelte"
am: 1a3fd4a646

Change-Id: Ib90de25574f62cad2aa967a5a287ac91e21325c5

8 years agoMerge "Fix optimizing compiler not building for svelte"
Treehugger Robot [Thu, 18 Aug 2016 06:07:42 +0000 (06:07 +0000)]
Merge "Fix optimizing compiler not building for svelte"

8 years agoImprove the thread flip.
Hiroshi Yamauchi [Tue, 2 Aug 2016 23:03:06 +0000 (16:03 -0700)]
Improve the thread flip.

- In addition to the threads that are suspended in FullSuspendCheck(),
  prioritize the resume of threads that are blocking for the thread
  flip at the JNI critical section entry and threads are about to
  transition to runnable (eg. blocking at the SOA entry from JNI).
- Shorten the length of the thread flip critical
  section (ThreadFlipBegin/End).
- Add some systrace scopes.

Bug: 29517059
Bug: 12687968
Test: test-art-host, Ritz EAAC, N9 libartd boot.
Change-Id: Idecec9936ae432c23d5f83321ba13339852018df

8 years agoMerge "Remove unused include." am: 16f7008195
Dmitriy Filchenko [Thu, 18 Aug 2016 03:23:35 +0000 (03:23 +0000)]
Merge "Remove unused include." am: 16f7008195
am: 90b09b210a

Change-Id: Iff60da238ce17ca34954aea91a5580a956009e95

8 years agoMerge "Remove unused include."
Dmitriy Filchenko [Thu, 18 Aug 2016 03:21:08 +0000 (03:21 +0000)]
Merge "Remove unused include."
am: 16f7008195

Change-Id: Ibf7fdc4a8adda45daa41b93c44b2c86716285f52

8 years agoMerge "Remove unused include."
Treehugger Robot [Thu, 18 Aug 2016 03:17:20 +0000 (03:17 +0000)]
Merge "Remove unused include."

8 years agoFix optimizing compiler not building for svelte
Wojciech Staszkiewicz [Thu, 18 Aug 2016 02:15:51 +0000 (19:15 -0700)]
Fix optimizing compiler not building for svelte

Fixes compiler not building when some of the codegen paths
are disabled.

Test: mmma -j art ART_TARGET_CODEGEN_ARCHS=svelte
m -j32 test-art-host

BUG=30928847

Change-Id: I52c78e8a4e507f74b1f2a39352970079721b737e

8 years agoRemove unused include.
Dmitriy Filchenko [Thu, 18 Aug 2016 00:58:08 +0000 (17:58 -0700)]
Remove unused include.

BUG: 29824203

Change-Id: Iea74f7b166c3e81c0d00c92442f27e162631e5ae

8 years agoMerge "Remove ART_DEFAULT_INSTRUCTION_SET_FEATURES" am: 1106d769f4
Colin Cross [Thu, 18 Aug 2016 01:36:29 +0000 (01:36 +0000)]
Merge "Remove ART_DEFAULT_INSTRUCTION_SET_FEATURES" am: 1106d769f4
am: c0be7413bd

Change-Id: I33f7bd2b60f33993dc258cc46616bb8deae80037

8 years agoLog optimization passes in verbose mode
Wojciech Staszkiewicz [Wed, 17 Aug 2016 00:31:19 +0000 (17:31 -0700)]
Log optimization passes in verbose mode

Introduce verbose logging of optimization passes run during
compilation.

Test: m test-art-host -j32
art -Xcompiler-option --runtime-arg -Xcompiler-option -verbose:compiler
-classpath classes.dex Test
Change-Id: Iae98ce9dcafc252f2d0eec138aa05b34e424bd2a

8 years agoMerge "Remove ART_DEFAULT_INSTRUCTION_SET_FEATURES"
Colin Cross [Thu, 18 Aug 2016 01:32:08 +0000 (01:32 +0000)]
Merge "Remove ART_DEFAULT_INSTRUCTION_SET_FEATURES"
am: 1106d769f4

Change-Id: I6d357ea0daa86c3ec1efd620ac9d1fccdd87b120

8 years agoMerge "Remove ART_DEFAULT_INSTRUCTION_SET_FEATURES"
Treehugger Robot [Thu, 18 Aug 2016 01:24:31 +0000 (01:24 +0000)]
Merge "Remove ART_DEFAULT_INSTRUCTION_SET_FEATURES"

8 years agoMerge "Revert "Logging improvements for C++ / Java structure issues"" am: c6efcaa173
Mathieu Chartier [Thu, 18 Aug 2016 00:14:53 +0000 (00:14 +0000)]
Merge "Revert "Logging improvements for C++ / Java structure issues"" am: c6efcaa173
am: 9233274bea

Change-Id: Ia184a61d8677e44f883777e8898d198b8eb5d7b6

8 years agoMerge "Revert "Logging improvements for C++ / Java structure issues""
Mathieu Chartier [Thu, 18 Aug 2016 00:11:54 +0000 (00:11 +0000)]
Merge "Revert "Logging improvements for C++ / Java structure issues""
am: c6efcaa173

Change-Id: I7b7bb49c7332ba50d147cbcbe29074b98e3edf56

8 years agoRemove ART_DEFAULT_INSTRUCTION_SET_FEATURES
Colin Cross [Wed, 17 Aug 2016 23:52:08 +0000 (16:52 -0700)]
Remove ART_DEFAULT_INSTRUCTION_SET_FEATURES

It is never used.

Test: mmma -j art
Change-Id: I014a8ab11d3a3241c075503bc2674279130cb86f

8 years agoMerge "Revert "Logging improvements for C++ / Java structure issues""
Treehugger Robot [Wed, 17 Aug 2016 23:58:47 +0000 (23:58 +0000)]
Merge "Revert "Logging improvements for C++ / Java structure issues""

8 years agoMerge "Add newline for INTERNAL_FATAL automatically" am: d99565069c
Mathieu Chartier [Wed, 17 Aug 2016 22:51:16 +0000 (22:51 +0000)]
Merge "Add newline for INTERNAL_FATAL automatically" am: d99565069c
am: 4efe1e24f8

Change-Id: I4c3356dd93ccf52f5c7d43590940407625ed1125

8 years agoMerge "Add newline for INTERNAL_FATAL automatically"
Mathieu Chartier [Wed, 17 Aug 2016 22:48:22 +0000 (22:48 +0000)]
Merge "Add newline for INTERNAL_FATAL automatically"
am: d99565069c

Change-Id: I8b64721bcb3d9e0f8693fef2e0baedf3c53b3bd2

8 years agoRevert "Logging improvements for C++ / Java structure issues"
Mathieu Chartier [Wed, 17 Aug 2016 22:43:52 +0000 (22:43 +0000)]
Revert "Logging improvements for C++ / Java structure issues"

Bug: 30913672

This reverts commit d833525cfe3ac2086e3156a8b3193c05974d6316.

Change-Id: I4e51591b49d54b8bb3e920fbc221c21aca0084fb

8 years agoMerge "Add newline for INTERNAL_FATAL automatically"
Mathieu Chartier [Wed, 17 Aug 2016 22:43:17 +0000 (22:43 +0000)]
Merge "Add newline for INTERNAL_FATAL automatically"

8 years agoColor spill slots in gc regalloc
Matthew Gharrity [Sat, 13 Aug 2016 02:07:11 +0000 (19:07 -0700)]
Color spill slots in gc regalloc

Coloring spill slots avoids pathologically large stack
sizes by reusing spill slots when possible.

Test: ART_TEST_OPTIMIZING_GRAPH_COLOR=true m test-art-host

Change-Id: I4b4aea859c78b0515758f8b057ee870dbbfc2300

8 years agoMerge "Track cumulative objects and bytes copied for CC" am: e70b9243ba
Mathieu Chartier [Wed, 17 Aug 2016 20:34:37 +0000 (20:34 +0000)]
Merge "Track cumulative objects and bytes copied for CC" am: e70b9243ba
am: 6feb697636

Change-Id: Ib839bcea1b2d36ec206fb458b3037b4b04673741

8 years agoMerge "Track cumulative objects and bytes copied for CC"
Mathieu Chartier [Wed, 17 Aug 2016 20:30:15 +0000 (20:30 +0000)]
Merge "Track cumulative objects and bytes copied for CC"
am: e70b9243ba

Change-Id: Ie6414078cb883c45e813aed84f160b7bdbb9b48e

8 years agoMerge "Track cumulative objects and bytes copied for CC"
Mathieu Chartier [Wed, 17 Aug 2016 20:22:24 +0000 (20:22 +0000)]
Merge "Track cumulative objects and bytes copied for CC"

8 years agoAdd newline for INTERNAL_FATAL automatically
Mathieu Chartier [Wed, 17 Aug 2016 17:28:48 +0000 (10:28 -0700)]
Add newline for INTERNAL_FATAL automatically

Before, the behavior was different compared to other log levels
that automatically added newlines.

Bug: 30913672

Test: test-art-host

Change-Id: I02147d8ac7ea38f3e93450ef5290cdfed7b5a2eb

8 years agoMerge "Add skeleton of a jvmti plugin for art." am: fec0190ab6
Alex Light [Wed, 17 Aug 2016 19:27:32 +0000 (19:27 +0000)]
Merge "Add skeleton of a jvmti plugin for art." am: fec0190ab6
am: fbc2b1b724

Change-Id: Ia347165a533a43a3abf524a5424e8d271d14ba22

8 years agoMerge "Add skeleton of a jvmti plugin for art."
Alex Light [Wed, 17 Aug 2016 19:24:04 +0000 (19:24 +0000)]
Merge "Add skeleton of a jvmti plugin for art."
am: fec0190ab6

Change-Id: If442ad2a2d304375bb06f431bd1a77e22799bdc3

8 years agoMerge "Add skeleton of a jvmti plugin for art."
Treehugger Robot [Wed, 17 Aug 2016 19:15:54 +0000 (19:15 +0000)]
Merge "Add skeleton of a jvmti plugin for art."

8 years agoMerge "Blacklist failing libcore tests." am: 4dcb0fa798
Narayan Kamath [Wed, 17 Aug 2016 19:10:31 +0000 (19:10 +0000)]
Merge "Blacklist failing libcore tests." am: 4dcb0fa798
am: 334a5a6f01

Change-Id: Ie02fa9d22691907b413d9d03b76e86673d0202aa

8 years agoMerge "Blacklist failing libcore tests."
Narayan Kamath [Wed, 17 Aug 2016 19:06:19 +0000 (19:06 +0000)]
Merge "Blacklist failing libcore tests."
am: 4dcb0fa798

Change-Id: Icfdf66da1430688546ed97ce7a767643e232b336

8 years agoMerge "Blacklist failing libcore tests."
Narayan Kamath [Wed, 17 Aug 2016 18:50:12 +0000 (18:50 +0000)]
Merge "Blacklist failing libcore tests."

8 years agoBlacklist failing libcore tests.
Narayan Kamath [Wed, 17 Aug 2016 18:14:01 +0000 (19:14 +0100)]
Blacklist failing libcore tests.

bug: 30917411
test: art/tools/buildbot_build.sh && art/tools/run-libcore-tests.sh
Change-Id: Ib5e9adb6e9222d607b6d79f0f7eebf3d313272d2

8 years agoAdd skeleton of a jvmti plugin for art.
Alex Light [Thu, 11 Aug 2016 22:35:28 +0000 (15:35 -0700)]
Add skeleton of a jvmti plugin for art.

Test: mma test-art-host-run-test-901-hello-ti-agent
Change-Id: If6807b6238d57471e4ba0dd75c717721246443f6

8 years agoTrack cumulative objects and bytes copied for CC
Mathieu Chartier [Wed, 17 Aug 2016 17:07:29 +0000 (10:07 -0700)]
Track cumulative objects and bytes copied for CC

Also print out these values when dumping GC performance info.

Bug: 12687968

Test: Test that values are reasonable after running EAAC.

Change-Id: Id04fadeaf52511560fd4b261f5287ea0a5dae9d4

8 years agoMerge "Logging improvements for C++ / Java structure issues" am: d127255351
Neil Fuller [Wed, 17 Aug 2016 17:00:39 +0000 (17:00 +0000)]
Merge "Logging improvements for C++ / Java structure issues" am: d127255351
am: 26ec29a675

Change-Id: I8cfc5054a90a49e01b268bd9530c81258b8a92da

8 years agoMerge "Adjustments for changes made to java.lang.Class" am: 1d36e2c312
Neil Fuller [Wed, 17 Aug 2016 17:00:38 +0000 (17:00 +0000)]
Merge "Adjustments for changes made to java.lang.Class" am: 1d36e2c312
am: 2efcd26e0d

Change-Id: If991b29fecaceef70cb69ec6d6e606ccf59f13a1

8 years agoMerge "Always mark zygote large objects for CC" am: 8f7e75ac4c
Mathieu Chartier [Wed, 17 Aug 2016 16:59:57 +0000 (16:59 +0000)]
Merge "Always mark zygote large objects for CC" am: 8f7e75ac4c
am: ce509da23f

Change-Id: I245aa7d1e94d386e5c65fbdc17cbe421da6f0fd2

8 years agoMerge "jni: Fast path for @FastNative annotated java methods" am: 3cc35c324b
Igor Murashkin [Wed, 17 Aug 2016 16:59:56 +0000 (16:59 +0000)]
Merge "jni: Fast path for @FastNative annotated java methods" am: 3cc35c324b
am: 1d806364e8

Change-Id: I769dda9c926d14aa9d77ea6a3fcdb29e48b945bf

8 years agoMerge "Update ahat README and manifest for release 0.7." am: 3f410202b1
Richard Uhler [Wed, 17 Aug 2016 16:59:56 +0000 (16:59 +0000)]
Merge "Update ahat README and manifest for release 0.7." am: 3f410202b1
am: 5d676ae1ca

Change-Id: Ieb5e991e12a364d9ac88390dc6253374c05f05e2

8 years agoMerge "Remove unused GetDalvikCacheFilenameOrDie." am: 95afcbcc25
Richard Uhler [Wed, 17 Aug 2016 16:59:55 +0000 (16:59 +0000)]
Merge "Remove unused GetDalvikCacheFilenameOrDie." am: 95afcbcc25
am: 37678f1080

Change-Id: I46c7eb45f1a054552cd6fe1bf6ebe9d41725c0c3

8 years agoMerge "Welcome to JavaFuzz as our latest A[a]rt tools team member!" am: 088debe40a
Aart Bik [Wed, 17 Aug 2016 16:59:55 +0000 (16:59 +0000)]
Merge "Welcome to JavaFuzz as our latest A[a]rt tools team member!" am: 088debe40a
am: e00f500b64

Change-Id: Ibb7c07dedc5c13aea57075bc1df2c23f5219cf53

8 years agoMerge "Logging improvements for C++ / Java structure issues"
Neil Fuller [Wed, 17 Aug 2016 16:57:48 +0000 (16:57 +0000)]
Merge "Logging improvements for C++ / Java structure issues"
am: d127255351

Change-Id: I4a22c81581064af95631c9f4c6cc689cf4cb6027

8 years agoMerge "Adjustments for changes made to java.lang.Class"
Neil Fuller [Wed, 17 Aug 2016 16:57:35 +0000 (16:57 +0000)]
Merge "Adjustments for changes made to java.lang.Class"
am: 1d36e2c312

Change-Id: Ib5bed6b807fdabd3573044e0bc613006d1e2d6c5

8 years agoMerge "Always mark zygote large objects for CC"
Mathieu Chartier [Wed, 17 Aug 2016 16:56:52 +0000 (16:56 +0000)]
Merge "Always mark zygote large objects for CC"
am: 8f7e75ac4c

Change-Id: Ib59726a69f9dff1bc0ce6fc4972eee5e131fb5f0

8 years agoMerge "jni: Fast path for @FastNative annotated java methods"
Igor Murashkin [Wed, 17 Aug 2016 16:56:50 +0000 (16:56 +0000)]
Merge "jni: Fast path for @FastNative annotated java methods"
am: 3cc35c324b

Change-Id: I9947ab55cbb1ed18c4918eb2feaa99d023c7332d

8 years agoMerge "Update ahat README and manifest for release 0.7."
Richard Uhler [Wed, 17 Aug 2016 16:56:49 +0000 (16:56 +0000)]
Merge "Update ahat README and manifest for release 0.7."
am: 3f410202b1

Change-Id: Ieabaac82590b3c0aad5cb55d5034bb0c8b7603f4

8 years agoMerge "Remove unused GetDalvikCacheFilenameOrDie."
Richard Uhler [Wed, 17 Aug 2016 16:56:47 +0000 (16:56 +0000)]
Merge "Remove unused GetDalvikCacheFilenameOrDie."
am: 95afcbcc25

Change-Id: I717d0c4d7a482c1544d934b7ed80f7c8f7493e6b

8 years agoMerge "Welcome to JavaFuzz as our latest A[a]rt tools team member!"
Aart Bik [Wed, 17 Aug 2016 16:56:44 +0000 (16:56 +0000)]
Merge "Welcome to JavaFuzz as our latest A[a]rt tools team member!"
am: 088debe40a

Change-Id: Ie7f9a0a568fbf196f80ecde88f3d9a95ea4df13f

8 years agoMerge "Logging improvements for C++ / Java structure issues"
Neil Fuller [Wed, 17 Aug 2016 13:19:28 +0000 (13:19 +0000)]
Merge "Logging improvements for C++ / Java structure issues"

8 years agoMerge "Adjustments for changes made to java.lang.Class"
Neil Fuller [Wed, 17 Aug 2016 12:17:06 +0000 (12:17 +0000)]
Merge "Adjustments for changes made to java.lang.Class"

8 years agoLogging improvements for C++ / Java structure issues
Neil Fuller [Wed, 17 Aug 2016 10:39:26 +0000 (11:39 +0100)]
Logging improvements for C++ / Java structure issues

When C++ and Java structures are different sizes or arranged
differently some log statements are useful but are hard to
pick out because they merge with other log lines. Adding
"\n" to the end of them makes it easier to read.

Change-Id: Ia6d78e0832c7814bf1fef42bb3d8c056f83766bd
Test: make build-art-host

8 years agoAdjustments for changes made to java.lang.Class
Neil Fuller [Tue, 16 Aug 2016 18:53:07 +0000 (19:53 +0100)]
Adjustments for changes made to java.lang.Class

Fix up the runtime after removal of the annotationType field
from java.lang.Class.

Test: make test-art-host / boot a device
Change-Id: I5f37567d2b5ec381b35e66fef29287abe307b840

8 years agoMerge "Always mark zygote large objects for CC"
Treehugger Robot [Wed, 17 Aug 2016 03:18:36 +0000 (03:18 +0000)]
Merge "Always mark zygote large objects for CC"

8 years agoAlways mark zygote large objects for CC
Mathieu Chartier [Tue, 16 Aug 2016 19:15:59 +0000 (12:15 -0700)]
Always mark zygote large objects for CC

Prevent needing to gray holders of zygote large objects.
System wide zygote space PSS after boot:
12644 kB -> 5571 kB for CC.

Also PSS reduction in zygote large objects themselves since their
gray bit would have been set each GC.
Overall LOS savings hard to measure, could be up to 316 * 4KB per
app since there are 316 zygote large objects.

Also clear mod-union tables for image spaces to prevent dirty
image pages if any of the image spaces point to zygote large objects.
System wide .art mmap: 37432 kB -> 34372 kB

System server before (N6P):
LOS shared dirty: 12888 kB
Zygote space shared dirty: 700 kB
Zygote space private dirty: 868 kB
.art private dirty: 1696 kB

After:
LOS shared dirty 13672 kB
Zygote space shared dirty: 1072 kB
Zygote space private dirty: 496 kB
.art private dirty: 1432 kB

Bug: 29516968

Test: test-art-host with baker CC, debug N6P phone booting

Change-Id: Ia37ce2c11217cf56885bd1d1dc084332fcbb7843

8 years agoMerge "jni: Fast path for @FastNative annotated java methods"
Treehugger Robot [Tue, 16 Aug 2016 21:51:02 +0000 (21:51 +0000)]
Merge "jni: Fast path for @FastNative annotated java methods"

8 years agojni: Fast path for @FastNative annotated java methods
Igor Murashkin [Fri, 29 Jul 2016 16:51:58 +0000 (09:51 -0700)]
jni: Fast path for @FastNative annotated java methods

Adds a faster path for java methods annotated with
dalvik.annotation.optimization.FastNative .

Intended to replace usage of fast JNI (registering with "!(FOO)BAR" descriptors).

Performance Microbenchmark Results (Angler):
* Regular JNI cost in nanoseconds: 115
* Fast JNI cost in nanoseconds: 60
* @FastNative cost in nanoseconds: 36

Summary: Up to 67% faster (vs fast jni) JNI transition cost

Change-Id: Ic23823ae0f232270c068ec999fd89aa993894b0e

8 years agoMerge "Update ahat README and manifest for release 0.7."
Treehugger Robot [Tue, 16 Aug 2016 19:53:15 +0000 (19:53 +0000)]
Merge "Update ahat README and manifest for release 0.7."

8 years agoMerge "Remove unused GetDalvikCacheFilenameOrDie."
Treehugger Robot [Tue, 16 Aug 2016 17:59:51 +0000 (17:59 +0000)]
Merge "Remove unused GetDalvikCacheFilenameOrDie."

8 years agoMerge "Welcome to JavaFuzz as our latest A[a]rt tools team member!"
Treehugger Robot [Tue, 16 Aug 2016 16:34:36 +0000 (16:34 +0000)]
Merge "Welcome to JavaFuzz as our latest A[a]rt tools team member!"

8 years agoWelcome to JavaFuzz as our latest A[a]rt tools team member!
Aart Bik [Tue, 9 Aug 2016 17:49:54 +0000 (10:49 -0700)]
Welcome to JavaFuzz as our latest A[a]rt tools team member!

Rationale:
JavaFuzz is tool for generating random Java programs with
the objective of fuzz testing the ART infrastructure. Each
randomly generated Java program can be run under various
modes of execution, such as using the interpreter, using
the optimizing compiler, using an external reference
implementation, or using various target architectures.
Any difference between the outputs (a divergence) may
indicate a bug in one of the execution modes.

Test: tbd

Bug=30610121

Change-Id: I92dcac35f5229996936d01a0ba7f5acf6dc7b433

8 years agoRemove unused GetDalvikCacheFilenameOrDie.
Richard Uhler [Mon, 15 Aug 2016 23:12:57 +0000 (16:12 -0700)]
Remove unused GetDalvikCacheFilenameOrDie.

Change-Id: I8987fa488a89865d4a5fb56dd00cc396ee33bcce
Test: m test-art-host-gtest-utils_test32
Test: m build-art-host-tests
Test: m build-art-target-tests

8 years agoMerge "Change gcstress runtest option" am: 36bf3a2d28
Mathieu Chartier [Mon, 15 Aug 2016 22:41:57 +0000 (22:41 +0000)]
Merge "Change gcstress runtest option" am: 36bf3a2d28
am: 939587df2e

Change-Id: I90ba0504b4190520d74925266c7d9f2140cc5eec

8 years agoMerge "Change gcstress runtest option"
Mathieu Chartier [Mon, 15 Aug 2016 22:37:59 +0000 (22:37 +0000)]
Merge "Change gcstress runtest option"
am: 36bf3a2d28

Change-Id: I5e76005cbbfbeb659d5bc8455fd260131c5fffcd

8 years agoMerge "Change gcstress runtest option"
Mathieu Chartier [Mon, 15 Aug 2016 22:28:19 +0000 (22:28 +0000)]
Merge "Change gcstress runtest option"

8 years agoMerge "ART: Refactor ImageSpace loading" am: b23e3b2156
Andreas Gampe [Mon, 15 Aug 2016 21:45:24 +0000 (21:45 +0000)]
Merge "ART: Refactor ImageSpace loading" am: b23e3b2156
am: 8501d9a9a2

Change-Id: I6fe8cdcb3d0d23ba26afbb7008b40a694612c86a

8 years agoMerge "ART: Refactor ImageSpace loading"
Andreas Gampe [Mon, 15 Aug 2016 21:41:26 +0000 (21:41 +0000)]
Merge "ART: Refactor ImageSpace loading"
am: b23e3b2156

Change-Id: I38e37a7f88ffc79705fe4acc6e6a27ec48e48a38

8 years agoMerge "ART: Refactor ImageSpace loading"
Treehugger Robot [Mon, 15 Aug 2016 21:32:30 +0000 (21:32 +0000)]
Merge "ART: Refactor ImageSpace loading"

8 years agoUpdate ahat README and manifest for release 0.7.
Richard Uhler [Mon, 15 Aug 2016 18:01:01 +0000 (11:01 -0700)]
Update ahat README and manifest for release 0.7.

Change-Id: Iccc5db7112cb92e24e9e294273a3ce2b0d4b7aba
Test: Launch ahat and verify it reports 0.7 as the version.

8 years agoART: Refactor ImageSpace loading
Andreas Gampe [Sat, 13 Aug 2016 04:53:32 +0000 (21:53 -0700)]
ART: Refactor ImageSpace loading

Make the code more straightforward so it is easier to reason
about and extend.

Also change return types to unique pointers so it's clear that
it is the caller's responsibility to free those when necessary.

Bug: 30832951
Test: m test-art-host
Test: device booting
Change-Id: I3216eb702e45357a48af5158dacbe40e79bd1ae9

8 years agoMerge "Clean up use of GetDalvikCache." am: 882c0e4899
Richard Uhler [Mon, 15 Aug 2016 17:22:06 +0000 (17:22 +0000)]
Merge "Clean up use of GetDalvikCache." am: 882c0e4899
am: 77501abe6f

Change-Id: I37ca675b32912840d9e8fd5d6cee5591e428f084

8 years agoMerge "Clean up use of GetDalvikCache."
Richard Uhler [Mon, 15 Aug 2016 17:18:10 +0000 (17:18 +0000)]
Merge "Clean up use of GetDalvikCache."
am: 882c0e4899

Change-Id: Ifac13144494305120408b7981f8fbe7a5ada9314

8 years agoMerge "Clean up use of GetDalvikCache."
Treehugger Robot [Mon, 15 Aug 2016 17:12:02 +0000 (17:12 +0000)]
Merge "Clean up use of GetDalvikCache."

8 years agoMerge "Improve READ_BARRIER_MARK_REG for arm32" am: 9e0d58b20c
Mathieu Chartier [Mon, 15 Aug 2016 17:02:33 +0000 (17:02 +0000)]
Merge "Improve READ_BARRIER_MARK_REG for arm32" am: 9e0d58b20c
am: 8324ab368f

Change-Id: Ife4ea61bc66dd94b74c5df9e9a68e1f182d1e1fd

8 years agoMerge "Improve READ_BARRIER_MARK_REG for arm32"
Mathieu Chartier [Mon, 15 Aug 2016 16:58:36 +0000 (16:58 +0000)]
Merge "Improve READ_BARRIER_MARK_REG for arm32"
am: 9e0d58b20c

Change-Id: I745d271177e260a487e3eac5dd3d92f0ec7168a5

8 years agoMerge "Improve READ_BARRIER_MARK_REG for arm32"
Mathieu Chartier [Mon, 15 Aug 2016 16:50:11 +0000 (16:50 +0000)]
Merge "Improve READ_BARRIER_MARK_REG for arm32"

8 years agoMerge "Revert "Enable IntermediateAddress for primitive arrays with read barriers...
Roland Levillain [Mon, 15 Aug 2016 14:48:27 +0000 (14:48 +0000)]
Merge "Revert "Enable IntermediateAddress for primitive arrays with read barriers."" am: 554b6fb875
am: c753c44fa9

Change-Id: I0be89231f0fb7d4318d1e107488aebaf5c9fecfd

8 years agoMerge "Revert "Enable IntermediateAddress for primitive arrays with read barriers.""
Roland Levillain [Mon, 15 Aug 2016 14:44:29 +0000 (14:44 +0000)]
Merge "Revert "Enable IntermediateAddress for primitive arrays with read barriers.""
am: 554b6fb875

Change-Id: Iebee937e50aa7943afc7fcfc3acbc3f2414c666d

8 years agoMerge "Revert "Enable IntermediateAddress for primitive arrays with read barriers.""
Treehugger Robot [Mon, 15 Aug 2016 14:35:48 +0000 (14:35 +0000)]
Merge "Revert "Enable IntermediateAddress for primitive arrays with read barriers.""

8 years agoRevert "Enable IntermediateAddress for primitive arrays with read barriers."
Roland Levillain [Mon, 15 Aug 2016 13:17:06 +0000 (13:17 +0000)]
Revert "Enable IntermediateAddress for primitive arrays with read barriers."

This CL breaks the angler-userdebug build with
`ART_USE_READ_BARRIER=true`.

Test: Build angler-userdebug with `ART_USE_READ_BARRIER=true`.
Bug: 30762467
Bug: 26601270
Bug: 12687968

This reverts commit 12ecf0800d465acdaa3deccd383ff8ed3428a183.

Change-Id: Ia2069ac9436d2336311dd8d0f183c02e587586ae

8 years agoMerge "ARM64: VIXL: Support a newer version of VIXL." am: fe74ba9ea6
Roland Levillain [Mon, 15 Aug 2016 10:13:11 +0000 (10:13 +0000)]
Merge "ARM64: VIXL: Support a newer version of VIXL." am: fe74ba9ea6
am: f13e9b37dc

Change-Id: If736bd3fe27be66e7450b4bdaa20d2a17c5c94f0

8 years agoMerge "ARM64: VIXL: Support a newer version of VIXL."
Roland Levillain [Mon, 15 Aug 2016 10:08:44 +0000 (10:08 +0000)]
Merge "ARM64: VIXL: Support a newer version of VIXL."
am: fe74ba9ea6

Change-Id: I5ff0142506107668ea9010a34c4e21f1b0e0533d

8 years agoMerge "ARM64: VIXL: Support a newer version of VIXL."
Roland Levillain [Mon, 15 Aug 2016 10:03:32 +0000 (10:03 +0000)]
Merge "ARM64: VIXL: Support a newer version of VIXL."