OSDN Git Service

android-x86/art.git
9 years agoam 125d7324: Merge "Let classloader provide correct LD_LIBRARY_PATH" into mnc-dev
Dmitriy Ivanov [Thu, 11 Jun 2015 22:16:29 +0000 (22:16 +0000)]
am 125d7324: Merge "Let classloader provide correct LD_LIBRARY_PATH" into mnc-dev

* commit '125d7324f1f75698ed20b2f64c36345d7f0bcabf':
  Let classloader provide correct LD_LIBRARY_PATH

9 years agoam fa5fc150: (-s ours) Merge "Move image intern table into image" into mnc-dev
Mathieu Chartier [Thu, 11 Jun 2015 22:16:28 +0000 (22:16 +0000)]
am fa5fc150: (-s ours) Merge "Move image intern table into image" into mnc-dev

* commit 'fa5fc150aa80c7472c6c2199a5ee21136dc43d5d':
  Move image intern table into image

9 years agoam b2b9c191: am cff58550: Merge "Reset GC performance stats at zygote fork."
Hiroshi Yamauchi [Thu, 11 Jun 2015 22:09:05 +0000 (22:09 +0000)]
am b2b9c191: am cff58550: Merge "Reset GC performance stats at zygote fork."

* commit 'b2b9c1912c57b3b5f0545801074ba0a1989de073':
  Reset GC performance stats at zygote fork.

9 years agoam cff58550: Merge "Reset GC performance stats at zygote fork."
Hiroshi Yamauchi [Thu, 11 Jun 2015 21:55:30 +0000 (21:55 +0000)]
am cff58550: Merge "Reset GC performance stats at zygote fork."

* commit 'cff585503ff45a75315b00bdedd4db4bce7b426f':
  Reset GC performance stats at zygote fork.

9 years agoMerge "Let classloader provide correct LD_LIBRARY_PATH" into mnc-dev
Dmitriy Ivanov [Thu, 11 Jun 2015 21:54:53 +0000 (21:54 +0000)]
Merge "Let classloader provide correct LD_LIBRARY_PATH" into mnc-dev

9 years agoMerge "Reset GC performance stats at zygote fork."
Hiroshi Yamauchi [Thu, 11 Jun 2015 21:46:50 +0000 (21:46 +0000)]
Merge "Reset GC performance stats at zygote fork."

9 years agoMerge "Move image intern table into image" into mnc-dev
Mathieu Chartier [Thu, 11 Jun 2015 21:45:53 +0000 (21:45 +0000)]
Merge "Move image intern table into image" into mnc-dev

9 years agoMove image intern table into image
Mathieu Chartier [Wed, 10 Jun 2015 00:50:29 +0000 (17:50 -0700)]
Move image intern table into image

Previously we recreated this intern table during runtime startup.
This added 50-100ms of boot time.

Fixed bug where we didn't copy over hashcodes into the image.

Deleted some stale code.

Bug: 20727525
Bug: 19569780
Change-Id: I08959e9aa2a73cedb52f393033e2ffea3a26e76b

9 years agoReset GC performance stats at zygote fork.
Hiroshi Yamauchi [Thu, 11 Jun 2015 00:20:54 +0000 (17:20 -0700)]
Reset GC performance stats at zygote fork.

So GCs before a zygote fork won't be attributed to an app.

(cherry pick commit  Ib37bc587e0f039ef8faeabe63dec19de49501863)

Bug: 21491908
Change-Id: Ib37bc587e0f039ef8faeabe63dec19de49501863

9 years agoam 1c0451c6: am 15306dcd: Merge "Add hprof accounting for Class IMT, VTable"
Mathieu Chartier [Thu, 11 Jun 2015 20:43:27 +0000 (20:43 +0000)]
am 1c0451c6: am 15306dcd: Merge "Add hprof accounting for Class IMT, VTable"

* commit '1c0451c62730de67590999da89b340f5cffb0e87':
  Add hprof accounting for Class IMT, VTable

9 years agoam 15306dcd: Merge "Add hprof accounting for Class IMT, VTable"
Mathieu Chartier [Thu, 11 Jun 2015 20:29:52 +0000 (20:29 +0000)]
am 15306dcd: Merge "Add hprof accounting for Class IMT, VTable"

* commit '15306dcd03208f062737239753ab1eccfe91403f':
  Add hprof accounting for Class IMT, VTable

9 years agoMerge "Add hprof accounting for Class IMT, VTable"
Mathieu Chartier [Thu, 11 Jun 2015 20:23:23 +0000 (20:23 +0000)]
Merge "Add hprof accounting for Class IMT, VTable"

9 years agoAdd hprof accounting for Class IMT, VTable
Mathieu Chartier [Wed, 3 Jun 2015 23:51:09 +0000 (16:51 -0700)]
Add hprof accounting for Class IMT, VTable

These are now included in the classOverhead field which used to be
the staticOverhead field.

Bug: 20726205
Change-Id: I648db1bcaa393e3e907b1878f29631ad6b14a6e7

9 years agoam 81624f76: am 79b08e69: Merge "runtime: Minor cleanup and extra comments around...
Igor Murashkin [Thu, 11 Jun 2015 19:12:39 +0000 (19:12 +0000)]
am 81624f76: am 79b08e69: Merge "runtime: Minor cleanup and extra comments around interpreter"

* commit '81624f76fb8c4b7ddde8dc35a85b5636e203c9e2':
  runtime: Minor cleanup and extra comments around interpreter

9 years agoam 79b08e69: Merge "runtime: Minor cleanup and extra comments around interpreter"
Igor Murashkin [Thu, 11 Jun 2015 18:55:10 +0000 (18:55 +0000)]
am 79b08e69: Merge "runtime: Minor cleanup and extra comments around interpreter"

* commit '79b08e69b71a53beb3f053b304c34ea88bfb9a47':
  runtime: Minor cleanup and extra comments around interpreter

9 years agoMerge "runtime: Minor cleanup and extra comments around interpreter"
Igor Murashkin [Thu, 11 Jun 2015 18:46:20 +0000 (18:46 +0000)]
Merge "runtime: Minor cleanup and extra comments around interpreter"

9 years agoruntime: Minor cleanup and extra comments around interpreter
Igor Murashkin [Wed, 10 Jun 2015 22:56:42 +0000 (15:56 -0700)]
runtime: Minor cleanup and extra comments around interpreter

Change-Id: I24c0b261de8cf737babd9d01bf679482d48c8bc9

9 years agoam caad0e2b: am 9fb3e66a: Merge "Fix buildbot failure for 098-ddmc test"
Mathieu Chartier [Thu, 11 Jun 2015 17:25:46 +0000 (17:25 +0000)]
am caad0e2b: am 9fb3e66a: Merge "Fix buildbot failure for 098-ddmc test"

* commit 'caad0e2b722e2c6b8733e016aa87eb9af51cc55d':
  Fix buildbot failure for 098-ddmc test

9 years agoam 9fb3e66a: Merge "Fix buildbot failure for 098-ddmc test"
Mathieu Chartier [Thu, 11 Jun 2015 17:19:09 +0000 (17:19 +0000)]
am 9fb3e66a: Merge "Fix buildbot failure for 098-ddmc test"

* commit '9fb3e66a08c779f55d22174d079ecd58fd8b8bc3':
  Fix buildbot failure for 098-ddmc test

9 years agoMerge "Fix buildbot failure for 098-ddmc test"
Mathieu Chartier [Thu, 11 Jun 2015 17:12:07 +0000 (17:12 +0000)]
Merge "Fix buildbot failure for 098-ddmc test"

9 years agoam 3aac9245: am 18af0bf1: Merge "Revert "art/tools: add new tests in security package...
Sergio Giro [Thu, 11 Jun 2015 16:20:48 +0000 (16:20 +0000)]
am 3aac9245: am 18af0bf1: Merge "Revert "art/tools: add new tests in security packages to the build bot""

* commit '3aac9245fe4d22088e05c2a09adbb869d0edf24e':
  Revert "art/tools: add new tests in security packages to the build bot"

9 years agoam 18af0bf1: Merge "Revert "art/tools: add new tests in security packages to the...
Sergio Giro [Thu, 11 Jun 2015 16:07:54 +0000 (16:07 +0000)]
am 18af0bf1: Merge "Revert "art/tools: add new tests in security packages to the build bot""

* commit '18af0bf15a43c0a358971d370194f18b09e87c99':
  Revert "art/tools: add new tests in security packages to the build bot"

9 years agoMerge "Revert "art/tools: add new tests in security packages to the build bot""
Sergio Giro [Thu, 11 Jun 2015 16:00:54 +0000 (16:00 +0000)]
Merge "Revert "art/tools: add new tests in security packages to the build bot""

9 years agoRevert "art/tools: add new tests in security packages to the build bot"
Sergio Giro [Thu, 11 Jun 2015 16:00:11 +0000 (16:00 +0000)]
Revert "art/tools: add new tests in security packages to the build bot"

This reverts commit 7904aba5f8ab73c12e83f8e786556c0c77306810.

Change-Id: I06d81bbe415999933cc73d8431a1ceb72bbdc132

9 years agoam 0e34ccc0: am cb0c4c38: Merge "art/tools: add new tests in security packages to...
Sergio Giro [Thu, 11 Jun 2015 14:58:28 +0000 (14:58 +0000)]
am 0e34ccc0: am cb0c4c38: Merge "art/tools: add new tests in security packages to the build bot"

* commit '0e34ccc0e9a08c1a0cfa09949a27bad868d3206a':
  art/tools: add new tests in security packages to the build bot

9 years agoam cb0c4c38: Merge "art/tools: add new tests in security packages to the build bot"
Sergio Giro [Thu, 11 Jun 2015 14:04:32 +0000 (14:04 +0000)]
am cb0c4c38: Merge "art/tools: add new tests in security packages to the build bot"

* commit 'cb0c4c38a0a991ffceab23546674cde084851805':
  art/tools: add new tests in security packages to the build bot

9 years agoMerge "art/tools: add new tests in security packages to the build bot"
Sergio Giro [Thu, 11 Jun 2015 13:54:59 +0000 (13:54 +0000)]
Merge "art/tools: add new tests in security packages to the build bot"

9 years agoart/tools: add new tests in security packages to the build bot
Sergio Giro [Wed, 10 Jun 2015 12:32:07 +0000 (13:32 +0100)]
art/tools: add new tests in security packages to the build bot

Otherwise, it's difficult to know when they start to fail

Test packages added:
com.android.org.conscrypt
libcore.java.security
libcore.javax.net

Bug: 21722374
Change-Id: I45e91239c5f8633943c515cc39978e4ee652ec3c

9 years agoam 6a262882: am 8d868430: Merge "Fix build breakage in dwarf_test."
Narayan Kamath [Thu, 11 Jun 2015 09:48:34 +0000 (09:48 +0000)]
am 6a262882: am 8d868430: Merge "Fix build breakage in dwarf_test."

* commit '6a2628829936b53a7b3eb23a4396036a0deac31c':
  Fix build breakage in dwarf_test.

9 years agoam 8d868430: Merge "Fix build breakage in dwarf_test."
Narayan Kamath [Thu, 11 Jun 2015 09:40:35 +0000 (09:40 +0000)]
am 8d868430: Merge "Fix build breakage in dwarf_test."

* commit '8d86843064912299b71191eabe65ce16fa7f3099':
  Fix build breakage in dwarf_test.

9 years agoMerge "Fix build breakage in dwarf_test."
Narayan Kamath [Thu, 11 Jun 2015 07:59:46 +0000 (07:59 +0000)]
Merge "Fix build breakage in dwarf_test."

9 years agoFix build breakage in dwarf_test.
Narayan Kamath [Thu, 11 Jun 2015 07:49:57 +0000 (08:49 +0100)]
Fix build breakage in dwarf_test.

Define a variable only if it's going to be used.

Change-Id: Id293f79bf986c79fb33daa3242388303c0fb1f08

9 years agoFix buildbot failure for 098-ddmc test
Man Cao [Thu, 11 Jun 2015 03:02:42 +0000 (20:02 -0700)]
Fix buildbot failure for 098-ddmc test

The test only failed on buildbot but not on my local machine. It is
possibly caused by GC reclaiming dead objects and associated allocation
records.

More importantly, the CL 153435 changes the behavior of recent allocation
tracking for DDMS, so that it now reports allocation records of not-yet-
garbaged-collected objects. They are a superset of live objects, but not
a precise set of the most recent allocations.

Bug: 20037135
Change-Id: I200a6c8baaeb98207845049902d59efa2f4ea11e

9 years agoam fdd0d353: am e257ee43: Merge "ART: Fix BCE lint issue"
Andreas Gampe [Thu, 11 Jun 2015 02:31:56 +0000 (02:31 +0000)]
am fdd0d353: am e257ee43: Merge "ART: Fix BCE lint issue"

* commit 'fdd0d3539664a91d086b963a0ff68893c2adbc68':
  ART: Fix BCE lint issue

9 years agoam f5ab4be1: am bc8a8eea: Merge "Generate debug info for core.oat files."
David Srbecky [Thu, 11 Jun 2015 02:31:51 +0000 (02:31 +0000)]
am f5ab4be1: am bc8a8eea: Merge "Generate debug info for core.oat files."

* commit 'f5ab4be17fd8cbb6b7d46715938cc40928b129ee':
  Generate debug info for core.oat files.

9 years agoam 07782251: am 92540564: Merge "[MIPS] Fix method tracing for mips64"
Andreas Gampe [Thu, 11 Jun 2015 02:31:47 +0000 (02:31 +0000)]
am 07782251: am 92540564: Merge "[MIPS] Fix method tracing for mips64"

* commit '077822510e3b328e5b9a22940c586faee11182a6':
  [MIPS] Fix method tracing for mips64

9 years agoam 388b4335: am 2ce3fe3b: Merge "Fix premature deoptimization if the loop body isn...
Mingyao Yang [Thu, 11 Jun 2015 02:31:40 +0000 (02:31 +0000)]
am 388b4335: am 2ce3fe3b: Merge "Fix premature deoptimization if the loop body isn\'t entered."

* commit '388b4335de564d679b71e5cc0c4facf1e62ed1ff':
  Fix premature deoptimization if the loop body isn't entered.

9 years agoam 088bba97: am ae63ea96: Merge "Revert "Revert "Test that we can unwind framework...
David Srbecky [Thu, 11 Jun 2015 02:15:51 +0000 (02:15 +0000)]
am 088bba97: am ae63ea96: Merge "Revert "Revert "Test that we can unwind framework code."""

* commit '088bba97544ff6fed8f484b91baf846957cf42c8':
  Revert "Revert "Test that we can unwind framework code.""

9 years agoam 53fd0612: am 1297660a: Merge "run-test: add --never-clean option"
Igor Murashkin [Thu, 11 Jun 2015 02:15:50 +0000 (02:15 +0000)]
am 53fd0612: am 1297660a: Merge "run-test: add --never-clean option"

* commit '53fd061289782278859081e9877979b709eaebe2':
  run-test: add --never-clean option

9 years agoam 2351c7be: Merge "Reset GC performance stats at zygote fork." into mnc-dev
Hiroshi Yamauchi [Thu, 11 Jun 2015 01:49:28 +0000 (01:49 +0000)]
am 2351c7be: Merge "Reset GC performance stats at zygote fork." into mnc-dev

* commit '2351c7be90e6cd94b46a6cfb407942f33427283d':
  Reset GC performance stats at zygote fork.

9 years agoam 618fdff9: [MIPS] Fix method tracing for mips64
Lazar Trsic [Thu, 11 Jun 2015 01:49:26 +0000 (01:49 +0000)]
am 618fdff9: [MIPS] Fix method tracing for mips64

* commit '618fdff93cec53c0ed234898f2d42f38a25e3b66':
  [MIPS] Fix method tracing for mips64

9 years agoam e257ee43: Merge "ART: Fix BCE lint issue"
Andreas Gampe [Thu, 11 Jun 2015 01:48:33 +0000 (01:48 +0000)]
am e257ee43: Merge "ART: Fix BCE lint issue"

* commit 'e257ee4397e0ca45ff627486ccaeecbf26245c86':
  ART: Fix BCE lint issue

9 years agoMerge "ART: Fix BCE lint issue"
Andreas Gampe [Thu, 11 Jun 2015 01:38:38 +0000 (01:38 +0000)]
Merge "ART: Fix BCE lint issue"

9 years agoART: Fix BCE lint issue
Andreas Gampe [Thu, 11 Jun 2015 01:33:26 +0000 (18:33 -0700)]
ART: Fix BCE lint issue

Change-Id: I7f382a3124955eff5c0b96ca39ec67fb658fa3d0

9 years agoam bc8a8eea: Merge "Generate debug info for core.oat files."
David Srbecky [Thu, 11 Jun 2015 01:01:31 +0000 (01:01 +0000)]
am bc8a8eea: Merge "Generate debug info for core.oat files."

* commit 'bc8a8eeac27e9681fc89f6c819d7296a2b007e73':
  Generate debug info for core.oat files.

9 years agoMerge "Generate debug info for core.oat files."
David Srbecky [Thu, 11 Jun 2015 00:50:29 +0000 (00:50 +0000)]
Merge "Generate debug info for core.oat files."

9 years agoMerge "Reset GC performance stats at zygote fork." into mnc-dev
Hiroshi Yamauchi [Thu, 11 Jun 2015 00:46:10 +0000 (00:46 +0000)]
Merge "Reset GC performance stats at zygote fork." into mnc-dev

9 years agoam 92540564: Merge "[MIPS] Fix method tracing for mips64"
Andreas Gampe [Thu, 11 Jun 2015 00:30:48 +0000 (00:30 +0000)]
am 92540564: Merge "[MIPS] Fix method tracing for mips64"

* commit '925405641e550d015ff5fb32ed5dc8f4fb174649':
  [MIPS] Fix method tracing for mips64

9 years agoGenerate debug info for core.oat files.
David Srbecky [Thu, 11 Jun 2015 00:27:56 +0000 (01:27 +0100)]
Generate debug info for core.oat files.

The debug info is needed for CFI unwinding tests.

I am adding this as part of investigating build bot failure,
I suspect the it might not be generating the debug info by default.

Change-Id: Ic0cdda345355161d44949308d6d70ff59542cc1e

9 years ago[MIPS] Fix method tracing for mips64
Lazar Trsic [Wed, 10 Jun 2015 14:05:46 +0000 (16:05 +0200)]
[MIPS] Fix method tracing for mips64

Reg $v0 is being clobbered on using
SETUP_REFS_ONLY_CALLEE_SAVE_FRAME inside instrumentation_exit()
trampoline, when falling through from instrumentation_entry().

To fix, use $t1 for ArtMethod* fetching inside SETUP_ macros.

Also fix some unrelated comment errors.

Bug: 21555893

(cherry picked from commit 84bc06e30ba12c3ff07e577c52b63b9df162af7e)

Change-Id: I4ab169f75988c4f0d924416a30196f21c1a043a3

9 years agoReset GC performance stats at zygote fork.
Hiroshi Yamauchi [Thu, 11 Jun 2015 00:20:54 +0000 (17:20 -0700)]
Reset GC performance stats at zygote fork.

So GCs before a zygote fork won't be attributed to an app.

Bug: 21491908
Change-Id: Ib37bc587e0f039ef8faeabe63dec19de49501863

9 years agoMerge "[MIPS] Fix method tracing for mips64"
Andreas Gampe [Thu, 11 Jun 2015 00:20:44 +0000 (00:20 +0000)]
Merge "[MIPS] Fix method tracing for mips64"

9 years agoam 2ce3fe3b: Merge "Fix premature deoptimization if the loop body isn\'t entered."
Mingyao Yang [Thu, 11 Jun 2015 00:07:51 +0000 (00:07 +0000)]
am 2ce3fe3b: Merge "Fix premature deoptimization if the loop body isn\'t entered."

* commit '2ce3fe3be7745048a1b43edae8a80cd42055e5da':
  Fix premature deoptimization if the loop body isn't entered.

9 years agoMerge "Fix premature deoptimization if the loop body isn't entered."
Mingyao Yang [Wed, 10 Jun 2015 23:53:07 +0000 (23:53 +0000)]
Merge "Fix premature deoptimization if the loop body isn't entered."

9 years agoFix premature deoptimization if the loop body isn't entered.
Mingyao Yang [Tue, 19 May 2015 23:01:59 +0000 (16:01 -0700)]
Fix premature deoptimization if the loop body isn't entered.

Add a test between initial_ and end_ to see if the loop body is entered.
If the loop body isn't entered at all, we jump to the loop header. Loop header is
still executed and is going to test the condition again and loop body won't be
entered. This makes sure no deoptimization is triggered if the loop body isn't
even entered.

Bug: 21034044
Change-Id: I2b6de1f22fbc4568ca419f76382ebd87806d9694

9 years agoam ae63ea96: Merge "Revert "Revert "Test that we can unwind framework code."""
David Srbecky [Wed, 10 Jun 2015 23:25:46 +0000 (23:25 +0000)]
am ae63ea96: Merge "Revert "Revert "Test that we can unwind framework code."""

* commit 'ae63ea96c36472a7b3f7ed26083a30b25b352270':
  Revert "Revert "Test that we can unwind framework code.""

9 years agoam 1297660a: Merge "run-test: add --never-clean option"
Igor Murashkin [Wed, 10 Jun 2015 23:25:44 +0000 (23:25 +0000)]
am 1297660a: Merge "run-test: add --never-clean option"

* commit '1297660a4f5c08def2a13019b167a582471f695c':
  run-test: add --never-clean option

9 years agoMerge "Revert "Revert "Test that we can unwind framework code."""
David Srbecky [Wed, 10 Jun 2015 23:12:32 +0000 (23:12 +0000)]
Merge "Revert "Revert "Test that we can unwind framework code."""

9 years agoMerge "run-test: add --never-clean option"
Igor Murashkin [Wed, 10 Jun 2015 23:10:56 +0000 (23:10 +0000)]
Merge "run-test: add --never-clean option"

9 years agoam b535fa8b: am cbc1e2ed: Merge "Add more log output to the CFI test."
David Srbecky [Wed, 10 Jun 2015 22:59:14 +0000 (22:59 +0000)]
am b535fa8b: am cbc1e2ed: Merge "Add more log output to the CFI test."

* commit 'b535fa8bc116fc5d166155006c62c293e316f80e':
  Add more log output to the CFI test.

9 years agorun-test: add --never-clean option
Igor Murashkin [Wed, 10 Jun 2015 22:57:17 +0000 (15:57 -0700)]
run-test: add --never-clean option

The --never-clean option forces the temporary directory created for
running the test to be retained after run-test finishes execution.

This is useful to help with debugging problems in your run, build,
run-test-jar, etc scripts.

Change-Id: Idc6c767521581deaa80674b583834af05bf027da

9 years agoam f7c7cb42: am bb076e59: Merge "Add allocation stack traces for HPROF dump."
Mathieu Chartier [Wed, 10 Jun 2015 22:47:59 +0000 (22:47 +0000)]
am f7c7cb42: am bb076e59: Merge "Add allocation stack traces for HPROF dump."

* commit 'f7c7cb42554c7628a62be25ff4aca182757dcc42':
  Add allocation stack traces for HPROF dump.

9 years agoam cbc1e2ed: Merge "Add more log output to the CFI test."
David Srbecky [Wed, 10 Jun 2015 22:45:31 +0000 (22:45 +0000)]
am cbc1e2ed: Merge "Add more log output to the CFI test."

* commit 'cbc1e2ed4a7d3d43d59c20713888058097c8188f':
  Add more log output to the CFI test.

9 years agoMerge "Add more log output to the CFI test."
David Srbecky [Wed, 10 Jun 2015 22:34:34 +0000 (22:34 +0000)]
Merge "Add more log output to the CFI test."

9 years agoam bb076e59: Merge "Add allocation stack traces for HPROF dump."
Mathieu Chartier [Wed, 10 Jun 2015 22:12:32 +0000 (22:12 +0000)]
am bb076e59: Merge "Add allocation stack traces for HPROF dump."

* commit 'bb076e59aa3fcaa6c80a68ab388e4b082c119c3b':
  Add allocation stack traces for HPROF dump.

9 years agoMerge "Add allocation stack traces for HPROF dump."
Mathieu Chartier [Wed, 10 Jun 2015 22:04:49 +0000 (22:04 +0000)]
Merge "Add allocation stack traces for HPROF dump."

9 years agoAdd allocation stack traces for HPROF dump.
Man Cao [Thu, 28 May 2015 00:25:30 +0000 (17:25 -0700)]
Add allocation stack traces for HPROF dump.

This feature is currently only enabled when DDMS's allocation tracking
is enabled. In the future there should be a way to enable this feature
before an application starts.

Also updates DDMS's recent allocation tracking to use a new backend
data structure that is shared with this feature.

The following system properties controls customizable parameters:
dalvik.vm.allocTrackerMax: max number of objects that have allocation
                           records, default 512K;

dalvik.vm.recentAllocMax:  max number of records that are sent to DDMS
                           when clicking "Get allocation" button,
                           default 64K-1 (limit of the protocol);

dalvik.vm.allocStackDepth: max number of stack frames in an allocation
                           record, default 4.

Bug: 20037135
Change-Id: I26ed378a5613678bd3c43e846025f90470a8e059

9 years agoRevert "Revert "Test that we can unwind framework code.""
David Srbecky [Wed, 10 Jun 2015 21:52:06 +0000 (21:52 +0000)]
Revert "Revert "Test that we can unwind framework code.""

This reverts commit 2c4733d647b24860e074aac4722d803da182adde.

Change-Id: I16a1eebe4b80363621edc1fcb55cdcf40fc3ac84

9 years agoAdd more log output to the CFI test.
David Srbecky [Wed, 10 Jun 2015 21:43:11 +0000 (22:43 +0100)]
Add more log output to the CFI test.

Change-Id: Iff2674eb9c889db4bbed4bd8af85b6df2cdd1da3

9 years agoam d5494b23: am 6dbf5a5a: Merge "Revert "Revert "Support for inlining virtual and...
Nicolas Geoffray [Wed, 10 Jun 2015 20:36:19 +0000 (20:36 +0000)]
am d5494b23: am 6dbf5a5a: Merge "Revert "Revert "Support for inlining virtual and interface calls."""

* commit 'd5494b232de9793612b4c2329598c9f0c1abcb42':
  Revert "Revert "Support for inlining virtual and interface calls.""

9 years agoam c4d2a70d: am 57ae6c3f: Merge "Revert "art/tools: add new tests for the build bot""
Sergio Giro [Wed, 10 Jun 2015 20:36:14 +0000 (20:36 +0000)]
am c4d2a70d: am 57ae6c3f: Merge "Revert "art/tools: add new tests for the build bot""

* commit 'c4d2a70d0d011f7509fca535ad7e8666e5ca7239':
  Revert "art/tools: add new tests for the build bot"

9 years agoam 1cf73107: am bebf6bdf: Merge "Add optimizations for instanceof/checkcast."
Nicolas Geoffray [Wed, 10 Jun 2015 20:36:12 +0000 (20:36 +0000)]
am 1cf73107: am bebf6bdf: Merge "Add optimizations for instanceof/checkcast."

* commit '1cf731074e432624c8c1cbe2266b26cb346f6dcd':
  Add optimizations for instanceof/checkcast.

9 years agoam c92ea53c: am 8241f718: Merge "Revert "art/tools: add new tests for the build bot""
Nicolas Geoffray [Wed, 10 Jun 2015 20:36:11 +0000 (20:36 +0000)]
am c92ea53c: am 8241f718: Merge "Revert "art/tools: add new tests for the build bot""

* commit 'c92ea53c06d29cdabe50d52325b3c468b6c7047e':
  Revert "art/tools: add new tests for the build bot"

9 years agoam 3ea5cd7f: am 7c0efe18: Merge "art/tools: add new tests for the build bot"
Sergio Giro [Wed, 10 Jun 2015 20:36:07 +0000 (20:36 +0000)]
am 3ea5cd7f: am 7c0efe18: Merge "art/tools: add new tests for the build bot"

* commit '3ea5cd7f4c40dc4d2f2018c8f47087fe6a84dd8f':
  art/tools: add new tests for the build bot

9 years agoam 1ccb726b: am 5a176fb8: Merge "Add boilerplate code for architecture-specific HInst...
Nicolas Geoffray [Wed, 10 Jun 2015 20:36:06 +0000 (20:36 +0000)]
am 1ccb726b: am 5a176fb8: Merge "Add boilerplate code for architecture-specific HInstructions."

* commit '1ccb726b1a2b31529434bafd2397276e73f63eb1':
  Add boilerplate code for architecture-specific HInstructions.

9 years agoam 6dbf5a5a: Merge "Revert "Revert "Support for inlining virtual and interface calls."""
Nicolas Geoffray [Wed, 10 Jun 2015 15:28:07 +0000 (15:28 +0000)]
am 6dbf5a5a: Merge "Revert "Revert "Support for inlining virtual and interface calls."""

* commit '6dbf5a5a075a371cb2ff3659058e93a985485baa':
  Revert "Revert "Support for inlining virtual and interface calls.""

9 years agoMerge "Revert "Revert "Support for inlining virtual and interface calls."""
Nicolas Geoffray [Wed, 10 Jun 2015 15:14:46 +0000 (15:14 +0000)]
Merge "Revert "Revert "Support for inlining virtual and interface calls."""

9 years agoRevert "Revert "Support for inlining virtual and interface calls.""
Nicolas Geoffray [Tue, 9 Jun 2015 09:37:32 +0000 (10:37 +0100)]
Revert "Revert "Support for inlining virtual and interface calls.""

It now works thanks to:
- https://android-review.googlesource.com/#/c/154016/ where
  the invoke type is changed.
- The new FindMethodIndexIn method in this change, that
  locates the right method index relative to the caller's
  dex file.

This reverts commit 6e4758615308bb525b6350c30468e33a2e1f2274.

Change-Id: Iddba11664a9241e210fec211cd2aed9f4b90d118

9 years agoam 57ae6c3f: Merge "Revert "art/tools: add new tests for the build bot""
Sergio Giro [Wed, 10 Jun 2015 14:24:23 +0000 (14:24 +0000)]
am 57ae6c3f: Merge "Revert "art/tools: add new tests for the build bot""

* commit '57ae6c3f01d194a7efe8a1837ffbd05914c587c6':
  Revert "art/tools: add new tests for the build bot"

9 years agoam bebf6bdf: Merge "Add optimizations for instanceof/checkcast."
Nicolas Geoffray [Wed, 10 Jun 2015 14:17:49 +0000 (14:17 +0000)]
am bebf6bdf: Merge "Add optimizations for instanceof/checkcast."

* commit 'bebf6bdf833ea9e090171303200bd8adc9321762':
  Add optimizations for instanceof/checkcast.

9 years agoam 8241f718: Merge "Revert "art/tools: add new tests for the build bot""
Nicolas Geoffray [Wed, 10 Jun 2015 14:17:48 +0000 (14:17 +0000)]
am 8241f718: Merge "Revert "art/tools: add new tests for the build bot""

* commit '8241f7188b2c2b0feb330403e6178ee7b3ed31f1':
  Revert "art/tools: add new tests for the build bot"

9 years ago[MIPS] Fix method tracing for mips64
Lazar Trsic [Wed, 10 Jun 2015 14:05:46 +0000 (16:05 +0200)]
[MIPS] Fix method tracing for mips64

Reg $v0 is being clobbered on using
SETUP_REFS_ONLY_CALLEE_SAVE_FRAME inside instrumentation_exit()
trampoline, when falling through from instrumentation_entry().

To fix, use $t1 for ArtMethod* fetching inside SETUP_ macros.

Also fix some unrelated comment errors.

Change-Id: I4ab169f75988c4f0d924416a30196f21c1a043a3

9 years agoMerge "Revert "art/tools: add new tests for the build bot""
Sergio Giro [Wed, 10 Jun 2015 14:16:29 +0000 (14:16 +0000)]
Merge "Revert "art/tools: add new tests for the build bot""

9 years agoRevert "art/tools: add new tests for the build bot"
Sergio Giro [Wed, 10 Jun 2015 14:16:13 +0000 (14:16 +0000)]
Revert "art/tools: add new tests for the build bot"

This reverts commit 10ec4f937e351bc21c0eebada30c6df3f8570406.

Was breaking many tests in the test environment.

Change-Id: I96cdbfe9620e4daff19ab448dc44e5315d89ebb7

9 years agoMerge "Add optimizations for instanceof/checkcast."
Nicolas Geoffray [Wed, 10 Jun 2015 14:14:42 +0000 (14:14 +0000)]
Merge "Add optimizations for instanceof/checkcast."

9 years agoMerge "Revert "art/tools: add new tests for the build bot""
Nicolas Geoffray [Wed, 10 Jun 2015 14:06:47 +0000 (14:06 +0000)]
Merge "Revert "art/tools: add new tests for the build bot""

9 years agoRevert "art/tools: add new tests for the build bot"
Nicolas Geoffray [Wed, 10 Jun 2015 14:06:31 +0000 (14:06 +0000)]
Revert "art/tools: add new tests for the build bot"

Unfortunately too many "localhost" netd failures.

This reverts commit 10ec4f937e351bc21c0eebada30c6df3f8570406.

Change-Id: Ibe28977e1e9f207f00a24f4c3167d08aa36cce5f

9 years agoAdd optimizations for instanceof/checkcast.
Guillaume Sanchez [Tue, 9 Jun 2015 17:33:02 +0000 (18:33 +0100)]
Add optimizations for instanceof/checkcast.

The optimizations try to statically determine the outcome of the
type tests, replacing/removing the instructions when possible.

This required to fix the is_exact flag for ReferenceTypePropagation.

Change-Id: I6cea29b6c351d118b62060e8420333085e9383fb

9 years agoam 7c0efe18: Merge "art/tools: add new tests for the build bot"
Sergio Giro [Wed, 10 Jun 2015 11:48:46 +0000 (11:48 +0000)]
am 7c0efe18: Merge "art/tools: add new tests for the build bot"

* commit '7c0efe186dff1dd457fd1f7932021fa7cfdf9d6f':
  art/tools: add new tests for the build bot

9 years agoMerge "art/tools: add new tests for the build bot"
Sergio Giro [Wed, 10 Jun 2015 11:40:08 +0000 (11:40 +0000)]
Merge "art/tools: add new tests for the build bot"

9 years agoart/tools: add new tests for the build bot
Sergio Giro [Fri, 5 Jun 2015 10:17:18 +0000 (11:17 +0100)]
art/tools: add new tests for the build bot

Otherwise, it's difficult to know when they start to fail

Bug: 21722374
Change-Id: I599e62ebafc28cf0dd60104c156f09ada8868bdc

9 years agoam 5a176fb8: Merge "Add boilerplate code for architecture-specific HInstructions."
Nicolas Geoffray [Wed, 10 Jun 2015 09:57:43 +0000 (09:57 +0000)]
am 5a176fb8: Merge "Add boilerplate code for architecture-specific HInstructions."

* commit '5a176fb8738f20fbbac0b65d65f82b23e0be5d18':
  Add boilerplate code for architecture-specific HInstructions.

9 years agoMerge "Add boilerplate code for architecture-specific HInstructions."
Nicolas Geoffray [Wed, 10 Jun 2015 09:46:53 +0000 (09:46 +0000)]
Merge "Add boilerplate code for architecture-specific HInstructions."

9 years agoAdd boilerplate code for architecture-specific HInstructions.
Alexandre Rames [Tue, 9 Jun 2015 09:29:30 +0000 (10:29 +0100)]
Add boilerplate code for architecture-specific HInstructions.

Change-Id: I2723cd96e5f03012c840863dd38d7b2168117db8

9 years agoam 8ea581a0: am 864a2d95: Merge "Revert "Test that we can unwind framework code.""
David Srbecky [Wed, 10 Jun 2015 05:56:43 +0000 (05:56 +0000)]
am 8ea581a0: am 864a2d95: Merge "Revert "Test that we can unwind framework code.""

* commit '8ea581a04fdb39f180557974425a18c1045d9bce':
  Revert "Test that we can unwind framework code."

9 years agoam 864a2d95: Merge "Revert "Test that we can unwind framework code.""
David Srbecky [Wed, 10 Jun 2015 04:02:41 +0000 (04:02 +0000)]
am 864a2d95: Merge "Revert "Test that we can unwind framework code.""

* commit '864a2d955aa85ab989c86d7f1eeacbe0b11f8b0f':
  Revert "Test that we can unwind framework code."

9 years agoMerge "Revert "Test that we can unwind framework code.""
David Srbecky [Wed, 10 Jun 2015 03:53:10 +0000 (03:53 +0000)]
Merge "Revert "Test that we can unwind framework code.""

9 years agoRevert "Test that we can unwind framework code."
David Srbecky [Wed, 10 Jun 2015 03:51:48 +0000 (03:51 +0000)]
Revert "Test that we can unwind framework code."

This reverts commit 5c40961dc2c7aa80a183e2eaa828580e0e89e2dd.

Change-Id: Ib4d827623fe76c9c3b639e7d1e205c7033fc2bc7

9 years agoam 41d6ea73: am 2ecc308d: Merge "Test that we can unwind framework code."
David Srbecky [Tue, 9 Jun 2015 23:39:53 +0000 (23:39 +0000)]
am 41d6ea73: am 2ecc308d: Merge "Test that we can unwind framework code."

* commit '41d6ea73cfd6d525395f579c9a8425b29d1ae492':
  Test that we can unwind framework code.

9 years agoam 2ecc308d: Merge "Test that we can unwind framework code."
David Srbecky [Tue, 9 Jun 2015 23:28:46 +0000 (23:28 +0000)]
am 2ecc308d: Merge "Test that we can unwind framework code."

* commit '2ecc308d8a02c3ba59b5a7a5431c0c9b1146bd47':
  Test that we can unwind framework code.