OSDN Git Service

android-x86/art.git
10 years agoam 4f31242c: am 96fd240b: am 0a3b13fc: Merge "Add heap reference size to the checks...
Andreas Gampe [Thu, 1 May 2014 01:47:28 +0000 (01:47 +0000)]
am 4f31242c: am 96fd240b: am 0a3b13fc: Merge "Add heap reference size to the checks in arch_test"

* commit '4f31242ccb3601ec0b32220934653f78e6561a7a':
  Add heap reference size to the checks in arch_test

10 years agoam 96fd240b: am 0a3b13fc: Merge "Add heap reference size to the checks in arch_test"
Andreas Gampe [Thu, 1 May 2014 01:45:20 +0000 (01:45 +0000)]
am 96fd240b: am 0a3b13fc: Merge "Add heap reference size to the checks in arch_test"

* commit '96fd240be74668ee9a29f24f12a1950fba211654':
  Add heap reference size to the checks in arch_test

10 years agoam 0a3b13fc: Merge "Add heap reference size to the checks in arch_test"
Andreas Gampe [Thu, 1 May 2014 01:43:26 +0000 (01:43 +0000)]
am 0a3b13fc: Merge "Add heap reference size to the checks in arch_test"

* commit '0a3b13fc401bcf21225e30654012fe98806b0873':
  Add heap reference size to the checks in arch_test

10 years agoam 9450ba43: am 6967c844: am c9ebc98a: Merge "Implement art_quick_aput_object stubs...
Andreas Gampe [Thu, 1 May 2014 01:42:56 +0000 (01:42 +0000)]
am 9450ba43: am 6967c844: am c9ebc98a: Merge "Implement art_quick_aput_object stubs for X86-64 and ARM64"

* commit '9450ba4367359312c97d1523072ee64db8ba1abd':
  Implement art_quick_aput_object stubs for X86-64 and ARM64

10 years agoMerge "Add heap reference size to the checks in arch_test"
Andreas Gampe [Thu, 1 May 2014 01:41:37 +0000 (01:41 +0000)]
Merge "Add heap reference size to the checks in arch_test"

10 years agoam 6967c844: am c9ebc98a: Merge "Implement art_quick_aput_object stubs for X86-64...
Andreas Gampe [Thu, 1 May 2014 01:39:50 +0000 (01:39 +0000)]
am 6967c844: am c9ebc98a: Merge "Implement art_quick_aput_object stubs for X86-64 and ARM64"

* commit '6967c844ac4f0b4a38df8472dfeffa14b1d0281a':
  Implement art_quick_aput_object stubs for X86-64 and ARM64

10 years agoam c9ebc98a: Merge "Implement art_quick_aput_object stubs for X86-64 and ARM64"
Andreas Gampe [Thu, 1 May 2014 01:36:11 +0000 (01:36 +0000)]
am c9ebc98a: Merge "Implement art_quick_aput_object stubs for X86-64 and ARM64"

* commit 'c9ebc98a65c180af3916d49ba61423d1285f71af':
  Implement art_quick_aput_object stubs for X86-64 and ARM64

10 years agoMerge "Implement art_quick_aput_object stubs for X86-64 and ARM64"
Andreas Gampe [Thu, 1 May 2014 01:33:51 +0000 (01:33 +0000)]
Merge "Implement art_quick_aput_object stubs for X86-64 and ARM64"

10 years agoAdd heap reference size to the checks in arch_test
Andreas Gampe [Thu, 1 May 2014 01:28:55 +0000 (18:28 -0700)]
Add heap reference size to the checks in arch_test

As we will potentially make heap references larger than 32b on 64b
systems at some point, add a constant to the .h files that describes
what the current assembly implementation assumes about the size of
heap references, and check whether that agrees with sizeof.

Change-Id: I75ffd7e2b59891ec36977fd831a8d5faac69c76d

10 years agoImplement art_quick_aput_object stubs for X86-64 and ARM64
Andreas Gampe [Tue, 29 Apr 2014 23:55:52 +0000 (16:55 -0700)]
Implement art_quick_aput_object stubs for X86-64 and ARM64

Implement the aput_object stubs for 64b architectures and enable
their testing in stub_test.

Fix missing @PLT for x86.

Add automatic _local labels in function definitions in x86-64 so we
can make local jumps (instead of PLT hoops).

Change-Id: I614b88fd5966acd8a564b87c47d4c50ee605320c

10 years agoam 3b53e7fa: am 77e37979: am adcfc69a: Merge "Don\'t allow allocating finalizable...
Mathieu Chartier [Wed, 30 Apr 2014 23:44:45 +0000 (23:44 +0000)]
am 3b53e7fa: am 77e37979: am adcfc69a: Merge "Don\'t allow allocating finalizable objects during transactions."

* commit '3b53e7fa7b52f208ae1cb4e051ddd7562f0f0224':
  Don't allow allocating finalizable objects during transactions.

10 years agoam 80574ad7: am 5f9301a1: am 3c541e34: Merge "Simplify GenConstString"
Mingyao Yang [Wed, 30 Apr 2014 23:44:44 +0000 (23:44 +0000)]
am 80574ad7: am 5f9301a1: am 3c541e34: Merge "Simplify GenConstString"

* commit '80574ad74e0ae541514d3709bb024b113d7ee152':
  Simplify GenConstString

10 years agoam 77e37979: am adcfc69a: Merge "Don\'t allow allocating finalizable objects during...
Mathieu Chartier [Wed, 30 Apr 2014 22:29:07 +0000 (22:29 +0000)]
am 77e37979: am adcfc69a: Merge "Don\'t allow allocating finalizable objects during transactions."

* commit '77e37979aa45955956ef789689efd449498251ec':
  Don't allow allocating finalizable objects during transactions.

10 years agoam adcfc69a: Merge "Don\'t allow allocating finalizable objects during transactions."
Mathieu Chartier [Wed, 30 Apr 2014 22:26:10 +0000 (22:26 +0000)]
am adcfc69a: Merge "Don\'t allow allocating finalizable objects during transactions."

* commit 'adcfc69aa94cc1d406ef78e194b1ac36e389ad95':
  Don't allow allocating finalizable objects during transactions.

10 years agoMerge "Don't allow allocating finalizable objects during transactions."
Mathieu Chartier [Wed, 30 Apr 2014 22:22:55 +0000 (22:22 +0000)]
Merge "Don't allow allocating finalizable objects during transactions."

10 years agoam 5f9301a1: am 3c541e34: Merge "Simplify GenConstString"
Mingyao Yang [Wed, 30 Apr 2014 22:20:22 +0000 (22:20 +0000)]
am 5f9301a1: am 3c541e34: Merge "Simplify GenConstString"

* commit '5f9301a124fb78720adfffa23ad0c575e014ccf7':
  Simplify GenConstString

10 years agoam 3c541e34: Merge "Simplify GenConstString"
Mingyao Yang [Wed, 30 Apr 2014 22:16:28 +0000 (22:16 +0000)]
am 3c541e34: Merge "Simplify GenConstString"

* commit '3c541e3438c2ec4f0acc9c9023a1f8644e2458ee':
  Simplify GenConstString

10 years agoMerge "Simplify GenConstString"
Mingyao Yang [Wed, 30 Apr 2014 22:13:39 +0000 (22:13 +0000)]
Merge "Simplify GenConstString"

10 years agoDon't allow allocating finalizable objects during transactions.
Mathieu Chartier [Tue, 29 Apr 2014 18:13:16 +0000 (11:13 -0700)]
Don't allow allocating finalizable objects during transactions.

It doesn't make sense to allocate finalizable objects during a
transcation since they will never get finalized without a started
runtime.

Before StatusInitialized in core.host.oatdump.txt: 3564
After StatusInitialized in core.host.oatdump.txt: 3564

Bug: 14078487

Change-Id: I7070536f7bb87bfc691d4268bd39a3eca492f48e

10 years agoFix errno checking for dalvik-cache creation.
Narayan Kamath [Wed, 30 Apr 2014 16:25:23 +0000 (17:25 +0100)]
Fix errno checking for dalvik-cache creation.

On the host, it's possible for /tmp/foo/dalvik-cache/<isa> to
not exist, but for /tmp/foo/dalvik-cache to be already present.
In this scenario, the first mkdir() can fail with EEXIST.

Change-Id: Ia99f35a28f5ce4e3ac6c47933b79369240683091

10 years agoam a649d580: am 5a3d76f5: Merge commit \'1b78967ba3d6cd8cfebbbb899625795295db6f16...
Bill Yi [Wed, 30 Apr 2014 12:50:56 +0000 (12:50 +0000)]
am a649d580: am 5a3d76f5: Merge commit \'1b78967ba3d6cd8cfebbbb899625795295db6f16\' into HEAD

* commit 'a649d5809dc080c091b21085029d1a5450ff8270':
  Fix build.

10 years agoUse instruction specific dalvik cache dirs.
Narayan Kamath [Wed, 23 Apr 2014 19:24:57 +0000 (20:24 +0100)]
Use instruction specific dalvik cache dirs.

- All oat & art files are now placed under /data/dalvik-cache/<isa>/.
- GetDalvikCacheOrDie now requires a mandatory subdirectory argument,
  and is implicitly rooted under /data/.
- Added helper methods to convert InstructionSet enums into strings
  and vice versa.

Change-Id: I9bff2e2ca534e0b93842a50d5b272ddf6d5745f3

10 years agoam 5a3d76f5: Merge commit \'1b78967ba3d6cd8cfebbbb899625795295db6f16\' into HEAD
Bill Yi [Wed, 30 Apr 2014 01:13:19 +0000 (01:13 +0000)]
am 5a3d76f5: Merge commit \'1b78967ba3d6cd8cfebbbb899625795295db6f16\' into HEAD

* commit '5a3d76f52e3fff256cd80479f5f5f8c7da727d1b':
  Fix build.

10 years agoMerge commit '1b78967ba3d6cd8cfebbbb899625795295db6f16' into HEAD
Bill Yi [Tue, 29 Apr 2014 23:07:17 +0000 (16:07 -0700)]
Merge commit '1b78967ba3d6cd8cfebbbb899625795295db6f16' into HEAD

10 years agoSimplify GenConstString
Mingyao Yang [Tue, 29 Apr 2014 22:55:37 +0000 (15:55 -0700)]
Simplify GenConstString

Now it's the same code for all platforms.

Bug: 13506069
Change-Id: I42c08a9dc99a3079caad01602de84296c9357dd8

10 years agoam ce324245: am be470690: Merge "Force inlining on trivial accessors."
Ian Rogers [Tue, 29 Apr 2014 22:06:02 +0000 (22:06 +0000)]
am ce324245: am be470690: Merge "Force inlining on trivial accessors."

* commit 'ce324245b1a7821bacf781bb9935ed2d659e09ed':
  Force inlining on trivial accessors.

10 years agoam be470690: Merge "Force inlining on trivial accessors."
Ian Rogers [Tue, 29 Apr 2014 22:02:56 +0000 (22:02 +0000)]
am be470690: Merge "Force inlining on trivial accessors."

* commit 'be4706907e226959623c0fb4937cf3979f440a97':
  Force inlining on trivial accessors.

10 years agoMerge "Force inlining on trivial accessors."
Ian Rogers [Tue, 29 Apr 2014 21:57:01 +0000 (21:57 +0000)]
Merge "Force inlining on trivial accessors."

10 years agoam 9580af54: am c5d59464: Merge "Rewrite suspend test check with LIRSlowPath."
Mingyao Yang [Tue, 29 Apr 2014 21:54:41 +0000 (21:54 +0000)]
am 9580af54: am c5d59464: Merge "Rewrite suspend test check with LIRSlowPath."

* commit '9580af54c369b8803fa656bc075d3a9e89d5d556':
  Rewrite suspend test check with LIRSlowPath.

10 years agoam c5d59464: Merge "Rewrite suspend test check with LIRSlowPath."
Mingyao Yang [Tue, 29 Apr 2014 21:51:41 +0000 (21:51 +0000)]
am c5d59464: Merge "Rewrite suspend test check with LIRSlowPath."

* commit 'c5d59464e1b97c3008b0c4e0c8114ea132c3f65f':
  Rewrite suspend test check with LIRSlowPath.

10 years agoMerge "Rewrite suspend test check with LIRSlowPath."
Mingyao Yang [Tue, 29 Apr 2014 21:46:03 +0000 (21:46 +0000)]
Merge "Rewrite suspend test check with LIRSlowPath."

10 years agoForce inlining on trivial accessors.
Ian Rogers [Mon, 28 Apr 2014 23:47:08 +0000 (16:47 -0700)]
Force inlining on trivial accessors.

Make volatility for GetFieldObject a template parameter.
Move some trivial mirror::String routines to a -inl.h.

Bug: 14285442

Change-Id: Ie23b11d4f18cb15a62c3bbb42837a8aaf6b68f92

10 years agoRewrite suspend test check with LIRSlowPath.
Mingyao Yang [Fri, 25 Apr 2014 18:06:00 +0000 (11:06 -0700)]
Rewrite suspend test check with LIRSlowPath.

Change-Id: I2dc17d079655586bfc588349c7a04afc2c6879af

10 years agoam a7c685f7: am 948740c1: Merge "Enable concurrent sweeping for non-concurrent GC."
Mathieu Chartier [Tue, 29 Apr 2014 20:13:11 +0000 (20:13 +0000)]
am a7c685f7: am 948740c1: Merge "Enable concurrent sweeping for non-concurrent GC."

* commit 'a7c685f75aac90bafffc22915a0945b56c0cdf0c':
  Enable concurrent sweeping for non-concurrent GC.

10 years agoam 948740c1: Merge "Enable concurrent sweeping for non-concurrent GC."
Mathieu Chartier [Tue, 29 Apr 2014 20:10:11 +0000 (20:10 +0000)]
am 948740c1: Merge "Enable concurrent sweeping for non-concurrent GC."

* commit '948740c1938860df055ddc801f20fd1707331e38':
  Enable concurrent sweeping for non-concurrent GC.

10 years agoMerge "Enable concurrent sweeping for non-concurrent GC."
Mathieu Chartier [Tue, 29 Apr 2014 20:02:20 +0000 (20:02 +0000)]
Merge "Enable concurrent sweeping for non-concurrent GC."

10 years agoEnable concurrent sweeping for non-concurrent GC.
Mathieu Chartier [Wed, 23 Apr 2014 19:42:27 +0000 (12:42 -0700)]
Enable concurrent sweeping for non-concurrent GC.

Refactored the GarbageCollector to let all of the phases be run by
the collector's RunPhases virtual method. This lets the GC decide
which phases should be concurrent and reduces how much baked in GC
logic resides in GarbageCollector.

Enabled concurrent sweeping in the semi space and non concurrent
mark sweep GCs. Changed the semi-space collector to have a swap semi
spaces boolean which can be changed with a setter.

Fixed tests to pass with GSS collector, there was an error related to
the large object space limit.

Before (EvaluateAndApplyChanges):
GSS paused GC time 7.81s/7.81s, score: 3920

After (EvaluateAndApplyChanges):
GSS paused GC time 6.94s/7.71s, score: 3900

Benchmark score doesn't go up since the GC happens in the allocating
thread. There is a slight reduction in pause times experienced by
other threads (0.8s total).

Added options for pre sweeping GC heap verification and pre sweeping
rosalloc verification.

Bug: 14226004
Bug: 14250892
Bug: 14386356

Change-Id: Ib557d0590c1ed82a639d0f0281ba67cf8cae938c

10 years agoam 1faf9b73: am 66613042: Merge "Disable StubTest.APutObj if heap poisoning is enabled."
Hiroshi Yamauchi [Tue, 29 Apr 2014 19:09:11 +0000 (19:09 +0000)]
am 1faf9b73: am 66613042: Merge "Disable StubTest.APutObj if heap poisoning is enabled."

* commit '1faf9b73dd01974867777c553145cfd305b5e64e':
  Disable StubTest.APutObj if heap poisoning is enabled.

10 years agoam 66613042: Merge "Disable StubTest.APutObj if heap poisoning is enabled."
Hiroshi Yamauchi [Tue, 29 Apr 2014 19:06:04 +0000 (19:06 +0000)]
am 66613042: Merge "Disable StubTest.APutObj if heap poisoning is enabled."

* commit '66613042dfadfdba75286aac751f7ed534c4e5f7':
  Disable StubTest.APutObj if heap poisoning is enabled.

10 years agoMerge "Disable StubTest.APutObj if heap poisoning is enabled."
Hiroshi Yamauchi [Tue, 29 Apr 2014 19:01:53 +0000 (19:01 +0000)]
Merge "Disable StubTest.APutObj if heap poisoning is enabled."

10 years agoam 16e31bba: am 6b4855c7: Merge "Add ARM64 & X86_64 Assembly, plus tests"
Andreas Gampe [Tue, 29 Apr 2014 18:26:13 +0000 (18:26 +0000)]
am 16e31bba: am 6b4855c7: Merge "Add ARM64 & X86_64 Assembly, plus tests"

* commit '16e31bbaf2a16b5cfac491d9cb32deb2f11eac07':
  Add ARM64 & X86_64 Assembly, plus tests

10 years agoam 6b4855c7: Merge "Add ARM64 & X86_64 Assembly, plus tests"
Andreas Gampe [Tue, 29 Apr 2014 18:23:18 +0000 (18:23 +0000)]
am 6b4855c7: Merge "Add ARM64 & X86_64 Assembly, plus tests"

* commit '6b4855c7fc7f6faf108e9a18ae8e625fee00c146':
  Add ARM64 & X86_64 Assembly, plus tests

10 years agoMerge "Add ARM64 & X86_64 Assembly, plus tests"
Andreas Gampe [Tue, 29 Apr 2014 18:17:14 +0000 (18:17 +0000)]
Merge "Add ARM64 & X86_64 Assembly, plus tests"

10 years agoAdd ARM64 & X86_64 Assembly, plus tests
Andreas Gampe [Fri, 25 Apr 2014 22:47:13 +0000 (15:47 -0700)]
Add ARM64 & X86_64 Assembly, plus tests

This adds assembly code or removes UNTESTED annotation from
TWO_ARG_DOWNCALLand THREE_ARG_DOWNCALL macros and supporting code,
generating working allocation stubs.

Some object and array allocation tests are added to the stub_test.

Change-Id: I5e93b7543c1e6dbd33b0d4cf564c7cbd963e74ef

10 years agoam b10fe478: am becc3724: Merge "ART: Initialization of RegLocation and API for Growa...
Vladimir Marko [Tue, 29 Apr 2014 15:21:22 +0000 (15:21 +0000)]
am b10fe478: am becc3724: Merge "ART: Initialization of RegLocation and API for GrowableArray Iterator"

* commit 'b10fe47833e8144550d5b3e2a8018abf219b6f47':
  ART: Initialization of RegLocation and API for GrowableArray Iterator

10 years agoam becc3724: Merge "ART: Initialization of RegLocation and API for GrowableArray...
Vladimir Marko [Tue, 29 Apr 2014 15:18:14 +0000 (15:18 +0000)]
am becc3724: Merge "ART: Initialization of RegLocation and API for GrowableArray Iterator"

* commit 'becc37249b652ae9fecb6a23ced708cdacb7effd':
  ART: Initialization of RegLocation and API for GrowableArray Iterator

10 years agoMerge "ART: Initialization of RegLocation and API for GrowableArray Iterator"
Vladimir Marko [Tue, 29 Apr 2014 15:11:54 +0000 (15:11 +0000)]
Merge "ART: Initialization of RegLocation and API for GrowableArray Iterator"

10 years agoART: Initialization of RegLocation and API for GrowableArray Iterator
Jean Christophe Beyler [Tue, 15 Apr 2014 23:18:48 +0000 (16:18 -0700)]
ART: Initialization of RegLocation and API for GrowableArray Iterator

Two things:

- Added a default initialization for the RegLocation.
- Added a default constructor and Reset for the GrowableArray's Iterator class.

Change-Id: I74d9c584304c77add42e0d66e4037ac45b890142
Signed-off-by: Jean Christophe Beyler <jean.christophe.beyler@intel.com>
Signed-off-by: Razvan A Lupusoru <razvan.a.lupusoru@intel.com>
Signed-off-by: Yixin Shou <yixin.shou@intel.com>
Signed-off-by: Chao-ying Fu <chao-ying.fu@intel.com>
Signed-off-by: Udayan Banerji <udayan.banerji@intel.com>
10 years agoam 7c37a11b: am 5108b677: Merge "Quick compiler: debugging assists"
buzbee [Tue, 29 Apr 2014 13:22:03 +0000 (13:22 +0000)]
am 7c37a11b: am 5108b677: Merge "Quick compiler: debugging assists"

* commit '7c37a11bd38f3be902e2fb014914a959769d4833':
  Quick compiler: debugging assists

10 years agoam 5108b677: Merge "Quick compiler: debugging assists"
buzbee [Tue, 29 Apr 2014 13:19:46 +0000 (13:19 +0000)]
am 5108b677: Merge "Quick compiler: debugging assists"

* commit '5108b6774ad12f4b74a7e2e2a1c6e8fc58db073e':
  Quick compiler: debugging assists

10 years agoMerge "Quick compiler: debugging assists"
buzbee [Tue, 29 Apr 2014 13:13:24 +0000 (13:13 +0000)]
Merge "Quick compiler: debugging assists"

10 years agoQuick compiler: debugging assists
buzbee [Tue, 29 Apr 2014 03:02:38 +0000 (20:02 -0700)]
Quick compiler: debugging assists

A few minor assists to ease A/B debugging in the Quick
compiler:
   1.  To save time, the assemblers for some targets only
update the object code offsets on instructions involved with
pc-relative fixups.  We add code to fix up all offsets when
doing a verbose codegen listing.
   2.  Temp registers are normally allocated in a round-robin
fashion.  When disabling liveness tracking, we now reset the
round-robin pool to 0 on each instruction boundary.  This makes
it easier to spot real codegen differences.
   3.  Self-register copies were previously emitted, but
marked as nops.  Minor change to avoid generating them in the
first place and reduce clutter.

Change-Id: I7954bba3b9f16ee690d663be510eac7034c93723

10 years agoam 079e50f7: am 26db7837: Merge "Setup policies for register allocation."
Nicolas Geoffray [Tue, 29 Apr 2014 10:11:32 +0000 (10:11 +0000)]
am 079e50f7: am 26db7837: Merge "Setup policies for register allocation."

* commit '079e50f722d978a2ae66ee30b33179db413d47e8':
  Setup policies for register allocation.

10 years agoam 26db7837: Merge "Setup policies for register allocation."
Nicolas Geoffray [Tue, 29 Apr 2014 10:08:02 +0000 (10:08 +0000)]
am 26db7837: Merge "Setup policies for register allocation."

* commit '26db78377ad287bc925fc00ab2fa2cbffae20c52':
  Setup policies for register allocation.

10 years agoMerge "Setup policies for register allocation."
Nicolas Geoffray [Tue, 29 Apr 2014 10:01:15 +0000 (10:01 +0000)]
Merge "Setup policies for register allocation."

10 years agoSetup policies for register allocation.
Nicolas Geoffray [Mon, 28 Apr 2014 16:47:12 +0000 (17:47 +0100)]
Setup policies for register allocation.

Change-Id: I857e77530fca3e2fb872fc142a916af1b48400dc

10 years agoam 4a1a82da: am 8ab560e4: Merge "Fix DDM recent allocations"
Sebastien Hertz [Tue, 29 Apr 2014 09:26:05 +0000 (09:26 +0000)]
am 4a1a82da: am 8ab560e4: Merge "Fix DDM recent allocations"

* commit '4a1a82da7acf7b19071a0b35f6e7ee5a908b5581':
  Fix DDM recent allocations

10 years agoam 08cc3d25: am deeb21bb: Merge "Visit deoptimized shadow frames as roots"
Sebastien Hertz [Tue, 29 Apr 2014 09:26:04 +0000 (09:26 +0000)]
am 08cc3d25: am deeb21bb: Merge "Visit deoptimized shadow frames as roots"

* commit '08cc3d25d3c0a11c36a64401cd304b9d7122f9e4':
  Visit deoptimized shadow frames as roots

10 years agoam 8ab560e4: Merge "Fix DDM recent allocations"
Sebastien Hertz [Tue, 29 Apr 2014 09:15:14 +0000 (09:15 +0000)]
am 8ab560e4: Merge "Fix DDM recent allocations"

* commit '8ab560e4b2d8b20e42fc92040e8a12dbe77fed30':
  Fix DDM recent allocations

10 years agoam deeb21bb: Merge "Visit deoptimized shadow frames as roots"
Sebastien Hertz [Tue, 29 Apr 2014 09:15:13 +0000 (09:15 +0000)]
am deeb21bb: Merge "Visit deoptimized shadow frames as roots"

* commit 'deeb21bbe114193477755074a1e31595abafd5c2':
  Visit deoptimized shadow frames as roots

10 years agoMerge "Fix DDM recent allocations"
Sebastien Hertz [Tue, 29 Apr 2014 07:43:03 +0000 (07:43 +0000)]
Merge "Fix DDM recent allocations"

10 years agoFix DDM recent allocations
Sebastien Hertz [Mon, 28 Apr 2014 07:26:50 +0000 (09:26 +0200)]
Fix DDM recent allocations

A class may not have source file in which case ClassHelper::GetSourceFile
returns NULL. Adding the GetMethodSourceFile function helps us preventing
from dealing with null strings.

Bug: 14300208
Change-Id: I28707f883bacec4ee367ff703328d0f0240855f9

10 years agoMerge "Visit deoptimized shadow frames as roots"
Sebastien Hertz [Tue, 29 Apr 2014 07:25:00 +0000 (07:25 +0000)]
Merge "Visit deoptimized shadow frames as roots"

10 years agoVisit deoptimized shadow frames as roots
Sebastien Hertz [Mon, 28 Apr 2014 13:03:08 +0000 (15:03 +0200)]
Visit deoptimized shadow frames as roots

During deoptimization, we create shadow frames but do not attach them to the
stack until we transition to interpreter mode. If a GC happens before that,
these shadow frames are not visited by GC so they may contain stale references.

This CL addresses this issue by visiting the shadow frames "under contruction"
in Thread::VisitRoots so we correctly update all references they hold.

To make them visible, we now save the top shadow frame (the first one created)
in the field Thread::tls_ptr_sized_values::deoptimization_shadow_frame. This
field will then be cleared when transitioning to interpreter mode.

Bug: 14324885
Change-Id: Ib213ddc80f19cfcdfcec6f20acaa7f1a0e9ce2c1

10 years agoam 42a54ce1: am cb905718: Merge "Improve GSS reference processing."
Hiroshi Yamauchi [Tue, 29 Apr 2014 00:23:57 +0000 (00:23 +0000)]
am 42a54ce1: am cb905718: Merge "Improve GSS reference processing."

* commit '42a54ce1126edb581f58a72a9718827d4a554847':
  Improve GSS reference processing.

10 years agoDisable StubTest.APutObj if heap poisoning is enabled.
Hiroshi Yamauchi [Tue, 29 Apr 2014 00:21:48 +0000 (17:21 -0700)]
Disable StubTest.APutObj if heap poisoning is enabled.

The StubTest.APutObj test currently fails (crashes) as it runs code
that does not support heap poisoning yet. Disable it until such
support is added.

Bug: 12687968
Change-Id: I70d1f7f300e70ffae970ebeca9a29849aa7dffc6

10 years agoam cb905718: Merge "Improve GSS reference processing."
Hiroshi Yamauchi [Tue, 29 Apr 2014 00:16:37 +0000 (00:16 +0000)]
am cb905718: Merge "Improve GSS reference processing."

* commit 'cb905718826da268d8d8e09296806256f202c9f4':
  Improve GSS reference processing.

10 years agoMerge "Improve GSS reference processing."
Hiroshi Yamauchi [Tue, 29 Apr 2014 00:09:59 +0000 (00:09 +0000)]
Merge "Improve GSS reference processing."

10 years agoam 3f6c325f: am 8dd63859: Merge "Track package change."
Elliott Hughes [Mon, 28 Apr 2014 21:21:15 +0000 (21:21 +0000)]
am 3f6c325f: am 8dd63859: Merge "Track package change."

* commit '3f6c325f77e5d01bc0b0624bf52a452a383d8629':
  Track package change.

10 years agoam 5527ce7e: am 26ec6ae9: Merge "Remove unreachable JNI workaround code."
Ian Rogers [Mon, 28 Apr 2014 21:21:12 +0000 (21:21 +0000)]
am 5527ce7e: am 26ec6ae9: Merge "Remove unreachable JNI workaround code."

* commit '5527ce7e61e645680057a796ae57fb0e60c780a2':
  Remove unreachable JNI workaround code.

10 years agoam 7b61212a: am b871efe9: Merge "Always log explicit GC."
Mathieu Chartier [Mon, 28 Apr 2014 21:21:11 +0000 (21:21 +0000)]
am 7b61212a: am b871efe9: Merge "Always log explicit GC."

* commit '7b61212ae66ea1d38c0fd81c40958bf605ad16c6':
  Always log explicit GC.

10 years agoam 8dd63859: Merge "Track package change."
Elliott Hughes [Mon, 28 Apr 2014 21:02:04 +0000 (21:02 +0000)]
am 8dd63859: Merge "Track package change."

* commit '8dd63859e586afebd8f8e17a4809ecf0dcbeed62':
  Track package change.

10 years agoMerge "Track package change."
Elliott Hughes [Mon, 28 Apr 2014 20:56:16 +0000 (20:56 +0000)]
Merge "Track package change."

10 years agoam 26ec6ae9: Merge "Remove unreachable JNI workaround code."
Ian Rogers [Mon, 28 Apr 2014 20:55:34 +0000 (20:55 +0000)]
am 26ec6ae9: Merge "Remove unreachable JNI workaround code."

* commit '26ec6ae9522416cfc57070cc1f326a450670bc92':
  Remove unreachable JNI workaround code.

10 years agoam b871efe9: Merge "Always log explicit GC."
Mathieu Chartier [Mon, 28 Apr 2014 20:51:59 +0000 (20:51 +0000)]
am b871efe9: Merge "Always log explicit GC."

* commit 'b871efe994cd54ec94d1c36350d4c8e33ede15b7':
  Always log explicit GC.

10 years agoMerge "Remove unreachable JNI workaround code."
Ian Rogers [Mon, 28 Apr 2014 20:47:28 +0000 (20:47 +0000)]
Merge "Remove unreachable JNI workaround code."

10 years agoMerge "Always log explicit GC."
Mathieu Chartier [Mon, 28 Apr 2014 20:45:36 +0000 (20:45 +0000)]
Merge "Always log explicit GC."

10 years agoImprove GSS reference processing.
Hiroshi Yamauchi [Wed, 23 Apr 2014 00:10:48 +0000 (17:10 -0700)]
Improve GSS reference processing.

Support the case where the reference object is in the free list space
and the referent object is in the bump pointer space at a bump pointer
space collection.

Bug: 11650816
Change-Id: If98b08edc9e37351c74ee07cb3f2d30c2b4d0056

10 years agoAlways log explicit GC.
Mathieu Chartier [Mon, 28 Apr 2014 19:22:07 +0000 (12:22 -0700)]
Always log explicit GC.

People who use DDMS want to see that a GC actually occurs when they
press GC button.

Bug: 14325353
Change-Id: I44e0450c92abf7223d33552ed37f626fe63e1c28

10 years agoTrack package change.
Elliott Hughes [Mon, 28 Apr 2014 18:25:17 +0000 (11:25 -0700)]
Track package change.

art could keep using the "private" package, but it doesn't _need_ to
so it makes sense to switch it over to the [future] public package.

Change-Id: I715e0079fe64886ca9e4a9399bb525a7f8fadab0

10 years agoRemove unreachable JNI workaround code.
Ian Rogers [Mon, 28 Apr 2014 18:24:16 +0000 (11:24 -0700)]
Remove unreachable JNI workaround code.

Change-Id: I8d737ced8b553ed80a1fd72560e62abd78ff8b12

10 years agoam 11df4079: am ec3a2157: Merge "Fix racy DCHECKS."
Mathieu Chartier [Mon, 28 Apr 2014 17:40:10 +0000 (17:40 +0000)]
am 11df4079: am ec3a2157: Merge "Fix racy DCHECKS."

* commit '11df40794d7d1565deae7ac7debca8b9d806380e':
  Fix racy DCHECKS.

10 years agoam ec3a2157: Merge "Fix racy DCHECKS."
Mathieu Chartier [Mon, 28 Apr 2014 17:36:55 +0000 (17:36 +0000)]
am ec3a2157: Merge "Fix racy DCHECKS."

* commit 'ec3a2157d2a3e8bcfb34e9a2f2aa54254a8eec19':
  Fix racy DCHECKS.

10 years agoMerge "Fix racy DCHECKS."
Mathieu Chartier [Mon, 28 Apr 2014 17:30:04 +0000 (17:30 +0000)]
Merge "Fix racy DCHECKS."

10 years agoFix racy DCHECKS.
Mathieu Chartier [Mon, 28 Apr 2014 16:35:55 +0000 (09:35 -0700)]
Fix racy DCHECKS.

Added a size bracket lock to fix a race condition where we were
inserting into full_runs_ and non_full_runs_ holding a lock but
reading without holding a lock from a different thread.

Bug: 14326370
Change-Id: I5c492bddc4b9927e4a36603f3d787b046961675d

10 years agoam 9d28931c: am 5dee5df8: Merge "Avoid volatile 64-bit tearing on 32-bit architectures."
Ian Rogers [Mon, 28 Apr 2014 16:15:45 +0000 (16:15 +0000)]
am 9d28931c: am 5dee5df8: Merge "Avoid volatile 64-bit tearing on 32-bit architectures."

* commit '9d28931c1bcbf7aecc501ff76f32da923dca7e43':
  Avoid volatile 64-bit tearing on 32-bit architectures.

10 years agoam 5dee5df8: Merge "Avoid volatile 64-bit tearing on 32-bit architectures."
Ian Rogers [Mon, 28 Apr 2014 16:10:03 +0000 (16:10 +0000)]
am 5dee5df8: Merge "Avoid volatile 64-bit tearing on 32-bit architectures."

* commit '5dee5df89aa2cefef6c886d5b9b642cc6f1c595b':
  Avoid volatile 64-bit tearing on 32-bit architectures.

10 years agoMerge "Avoid volatile 64-bit tearing on 32-bit architectures."
Ian Rogers [Mon, 28 Apr 2014 16:02:49 +0000 (16:02 +0000)]
Merge "Avoid volatile 64-bit tearing on 32-bit architectures."

10 years agoAvoid volatile 64-bit tearing on 32-bit architectures.
Ian Rogers [Tue, 22 Apr 2014 00:01:02 +0000 (17:01 -0700)]
Avoid volatile 64-bit tearing on 32-bit architectures.

Change b122a4bbed34ab22b4c1541ee25e5cf22f12a926 removed inline assembly for
volatile 64bit read/writes. This isn't sound in the general case, reinstate.
Motivating change: https://android-review.googlesource.com/91250
Add optimizations for ARM in the case of LPAE support.

Change-Id: Ie86d8885d27c8f0da75f0c3bd50d4553a331282f

10 years agoam b3022ae1: am 53e5d100: Merge "Add a Transform to SSA phase to the optimizing compi...
Nicolas Geoffray [Mon, 28 Apr 2014 15:32:42 +0000 (15:32 +0000)]
am b3022ae1: am 53e5d100: Merge "Add a Transform to SSA phase to the optimizing compiler."

* commit 'b3022ae10c79b0bebbbf9c854ea7086c97bcb081':
  Add a Transform to SSA phase to the optimizing compiler.

10 years agoam 53e5d100: Merge "Add a Transform to SSA phase to the optimizing compiler."
Nicolas Geoffray [Mon, 28 Apr 2014 15:29:26 +0000 (15:29 +0000)]
am 53e5d100: Merge "Add a Transform to SSA phase to the optimizing compiler."

* commit '53e5d10036a5d4fdf84b32354c11dd8f2140b8ab':
  Add a Transform to SSA phase to the optimizing compiler.

10 years agoMerge "Add a Transform to SSA phase to the optimizing compiler."
Nicolas Geoffray [Mon, 28 Apr 2014 15:22:52 +0000 (15:22 +0000)]
Merge "Add a Transform to SSA phase to the optimizing compiler."

10 years agoAdd a Transform to SSA phase to the optimizing compiler.
Nicolas Geoffray [Thu, 24 Apr 2014 11:43:16 +0000 (12:43 +0100)]
Add a Transform to SSA phase to the optimizing compiler.

Change-Id: Ia9700756a0396d797a00b529896487d52c989329

10 years agoam b8dcb2d0: am 0f73e2ee: Merge "Quick compiler: fix DCHECKS"
buzbee [Mon, 28 Apr 2014 12:42:06 +0000 (12:42 +0000)]
am b8dcb2d0: am 0f73e2ee: Merge "Quick compiler: fix DCHECKS"

* commit 'b8dcb2d0951347c3750fab1ae939406b94172dc3':
  Quick compiler: fix DCHECKS

10 years agoam 0f73e2ee: Merge "Quick compiler: fix DCHECKS"
buzbee [Mon, 28 Apr 2014 12:39:25 +0000 (12:39 +0000)]
am 0f73e2ee: Merge "Quick compiler: fix DCHECKS"

* commit '0f73e2ee44977b9b5cfe42f6c4c3b6a407e92368':
  Quick compiler: fix DCHECKS

10 years agoMerge "Quick compiler: fix DCHECKS"
buzbee [Mon, 28 Apr 2014 12:33:58 +0000 (12:33 +0000)]
Merge "Quick compiler: fix DCHECKS"

10 years agoam cdea6fe9: am 6d238776: Merge "ART: Bitvector extensions for dumping and size handling"
Vladimir Marko [Mon, 28 Apr 2014 10:23:56 +0000 (10:23 +0000)]
am cdea6fe9: am 6d238776: Merge "ART: Bitvector extensions for dumping and size handling"

* commit 'cdea6fe9eab39ba44b605e09ff15cd48d1b54bde':
  ART: Bitvector extensions for dumping and size handling

10 years agoam 6d238776: Merge "ART: Bitvector extensions for dumping and size handling"
Vladimir Marko [Mon, 28 Apr 2014 10:22:09 +0000 (10:22 +0000)]
am 6d238776: Merge "ART: Bitvector extensions for dumping and size handling"

* commit '6d2387765ed0a898281d126bc3d4f9b124667d5d':
  ART: Bitvector extensions for dumping and size handling

10 years agoMerge "ART: Bitvector extensions for dumping and size handling"
Vladimir Marko [Mon, 28 Apr 2014 10:18:30 +0000 (10:18 +0000)]
Merge "ART: Bitvector extensions for dumping and size handling"

10 years agoam a9de02e9: am 990d46f3: Merge "Move mapping table and vmap table offsets to OatMeth...
Vladimir Marko [Mon, 28 Apr 2014 09:18:11 +0000 (09:18 +0000)]
am a9de02e9: am 990d46f3: Merge "Move mapping table and vmap table offsets to OatMethodHeader."

* commit 'a9de02e96f79de13084ccd869a27bd643ca02d9d':
  Move mapping table and vmap table offsets to OatMethodHeader.