OSDN Git Service

android-x86/art.git
9 years agoam 3989e089: am 2d795eb4: am c4a12419: Merge "Disable host testing for now."
Nicolas Geoffray [Mon, 30 Mar 2015 18:50:31 +0000 (18:50 +0000)]
am 3989e089: am 2d795eb4: am c4a12419: Merge "Disable host testing for now."

* commit '3989e0896d26269c6129f09ec8b371b44f5ec0c6':
  Disable host testing for now.

9 years agoam 2d795eb4: am c4a12419: Merge "Disable host testing for now."
Nicolas Geoffray [Mon, 30 Mar 2015 18:36:43 +0000 (18:36 +0000)]
am 2d795eb4: am c4a12419: Merge "Disable host testing for now."

* commit '2d795eb43ad672474a830f2b786c24016c6496cf':
  Disable host testing for now.

9 years agoam 89626869: am 318636cd: am c06ff145: Merge "On host, say the debuggee needs to...
Nicolas Geoffray [Mon, 30 Mar 2015 18:33:40 +0000 (18:33 +0000)]
am 89626869: am 318636cd: am c06ff145: Merge "On host, say the debuggee needs to be run through bash."

* commit '8962686904b6718bf137616aa3690f7d3f0bcb42':
  On host, say the debuggee needs to be run through bash.

9 years agoam c4a12419: Merge "Disable host testing for now."
Nicolas Geoffray [Mon, 30 Mar 2015 18:19:43 +0000 (18:19 +0000)]
am c4a12419: Merge "Disable host testing for now."

* commit 'c4a12419a3a607716de7f3c9f4c3e004d9362484':
  Disable host testing for now.

9 years agoMerge "Disable host testing for now."
Nicolas Geoffray [Mon, 30 Mar 2015 18:15:00 +0000 (18:15 +0000)]
Merge "Disable host testing for now."

9 years agoDisable host testing for now.
Nicolas Geoffray [Mon, 30 Mar 2015 18:14:09 +0000 (19:14 +0100)]
Disable host testing for now.

Buildbot machines hare not happy with gethostbyname.

Change-Id: I9dd878b442686a3d1dbcad54dbca7aabc4adbdf3

9 years agoam 318636cd: am c06ff145: Merge "On host, say the debuggee needs to be run through...
Nicolas Geoffray [Mon, 30 Mar 2015 17:30:18 +0000 (17:30 +0000)]
am 318636cd: am c06ff145: Merge "On host, say the debuggee needs to be run through bash."

* commit '318636cd5c5b3ccc0ced20a44e1bfb7fb86cf8c5':
  On host, say the debuggee needs to be run through bash.

9 years agoam c06ff145: Merge "On host, say the debuggee needs to be run through bash."
Nicolas Geoffray [Mon, 30 Mar 2015 17:24:27 +0000 (17:24 +0000)]
am c06ff145: Merge "On host, say the debuggee needs to be run through bash."

* commit 'c06ff145cfdd8019fbcb68c0554e21df5f95fe27':
  On host, say the debuggee needs to be run through bash.

9 years agoMerge "On host, say the debuggee needs to be run through bash."
Nicolas Geoffray [Mon, 30 Mar 2015 17:15:26 +0000 (17:15 +0000)]
Merge "On host, say the debuggee needs to be run through bash."

9 years agoOn host, say the debuggee needs to be run through bash.
Nicolas Geoffray [Mon, 30 Mar 2015 15:34:16 +0000 (16:34 +0100)]
On host, say the debuggee needs to be run through bash.

Change-Id: I2cf7d3123e9d184f40cbaf49f8ac69e1481cc7a4

9 years agoam 2b568d7c: am 7a7d2d2b: am 392351a8: Merge "[optimizing] Do not inline intrinsics"
Nicolas Geoffray [Mon, 30 Mar 2015 15:50:44 +0000 (15:50 +0000)]
am 2b568d7c: am 7a7d2d2b: am 392351a8: Merge "[optimizing] Do not inline intrinsics"

* commit '2b568d7c559155511f8144d844977c71abefe9ea':
  [optimizing] Do not inline intrinsics

9 years agoam 7a7d2d2b: am 392351a8: Merge "[optimizing] Do not inline intrinsics"
Nicolas Geoffray [Mon, 30 Mar 2015 15:37:22 +0000 (15:37 +0000)]
am 7a7d2d2b: am 392351a8: Merge "[optimizing] Do not inline intrinsics"

* commit '7a7d2d2be90c3a8b82d95456099f6b39be4b0d2d':
  [optimizing] Do not inline intrinsics

9 years agoam 392351a8: Merge "[optimizing] Do not inline intrinsics"
Nicolas Geoffray [Mon, 30 Mar 2015 15:30:18 +0000 (15:30 +0000)]
am 392351a8: Merge "[optimizing] Do not inline intrinsics"

* commit '392351a8aa9c6aec288050ef3f1f5471305b27c1':
  [optimizing] Do not inline intrinsics

9 years agoMerge "[optimizing] Do not inline intrinsics"
Nicolas Geoffray [Mon, 30 Mar 2015 15:24:45 +0000 (15:24 +0000)]
Merge "[optimizing] Do not inline intrinsics"

9 years agoam 749df8ae: am 9a9b2488: am cf8b2c21: Merge "ART: Arm32 optimizing compiler backend...
Andreas Gampe [Mon, 30 Mar 2015 15:23:43 +0000 (15:23 +0000)]
am 749df8ae: am 9a9b2488: am cf8b2c21: Merge "ART: Arm32 optimizing compiler backend should honor sdiv"

* commit '749df8ae8f60c05898c371489e55c0b33def2834':
  ART: Arm32 optimizing compiler backend should honor sdiv

9 years agoam 8e772d9b: am 11b9c1b8: am acb4ea0a: Merge "Implement a proper solution for temps."
Nicolas Geoffray [Mon, 30 Mar 2015 15:10:23 +0000 (15:10 +0000)]
am 8e772d9b: am 11b9c1b8: am acb4ea0a: Merge "Implement a proper solution for temps."

* commit '8e772d9b778bbce51f4f038570afa49ea802089f':
  Implement a proper solution for temps.

9 years agoam 9a9b2488: am cf8b2c21: Merge "ART: Arm32 optimizing compiler backend should honor...
Andreas Gampe [Mon, 30 Mar 2015 15:10:20 +0000 (15:10 +0000)]
am 9a9b2488: am cf8b2c21: Merge "ART: Arm32 optimizing compiler backend should honor sdiv"

* commit '9a9b2488590b1126544232d101d752e843cee455':
  ART: Arm32 optimizing compiler backend should honor sdiv

9 years agoam cf8b2c21: Merge "ART: Arm32 optimizing compiler backend should honor sdiv"
Andreas Gampe [Mon, 30 Mar 2015 15:06:16 +0000 (15:06 +0000)]
am cf8b2c21: Merge "ART: Arm32 optimizing compiler backend should honor sdiv"

* commit 'cf8b2c21a81959db7fae0868ad02e9234db751c4':
  ART: Arm32 optimizing compiler backend should honor sdiv

9 years agoam 5f949173: am f60b482b: am 5bb214b6: Merge "Please vogar by not giving a vm-command...
Nicolas Geoffray [Mon, 30 Mar 2015 15:03:23 +0000 (15:03 +0000)]
am 5f949173: am f60b482b: am 5bb214b6: Merge "Please vogar by not giving a vm-command on host."

* commit '5f949173ff00663b4e348d34b928d2a98aa4cf10':
  Please vogar by not giving a vm-command on host.

9 years agoam f3a637f0: am 654831fc: am 618cc856: Merge "ART: Refactor callbacks_ in common_runt...
Andreas Gampe [Mon, 30 Mar 2015 15:03:21 +0000 (15:03 +0000)]
am f3a637f0: am 654831fc: am 618cc856: Merge "ART: Refactor callbacks_ in common_runtime_test"

* commit 'f3a637f0b3587cd136cc799187254336ed672703':
  ART: Refactor callbacks_ in common_runtime_test

9 years agoam 11b9c1b8: am acb4ea0a: Merge "Implement a proper solution for temps."
Nicolas Geoffray [Mon, 30 Mar 2015 15:02:43 +0000 (15:02 +0000)]
am 11b9c1b8: am acb4ea0a: Merge "Implement a proper solution for temps."

* commit '11b9c1b8cd3064f937194088b7a8e1274ce529f1':
  Implement a proper solution for temps.

9 years agoMerge "ART: Arm32 optimizing compiler backend should honor sdiv"
Andreas Gampe [Mon, 30 Mar 2015 15:02:04 +0000 (15:02 +0000)]
Merge "ART: Arm32 optimizing compiler backend should honor sdiv"

9 years agoART: Arm32 optimizing compiler backend should honor sdiv
Andreas Gampe [Mon, 30 Mar 2015 00:32:48 +0000 (17:32 -0700)]
ART: Arm32 optimizing compiler backend should honor sdiv

We still support architectures that do not have sdiv.

Issue: https://code.google.com/p/android/issues/detail?id=162257
Change-Id: I6d43620b7599f70a630668791a796a1703b62912

9 years agoam acb4ea0a: Merge "Implement a proper solution for temps."
Nicolas Geoffray [Mon, 30 Mar 2015 14:59:16 +0000 (14:59 +0000)]
am acb4ea0a: Merge "Implement a proper solution for temps."

* commit 'acb4ea0a7f7a0b75cf6eddd619a3e6002b46347e':
  Implement a proper solution for temps.

9 years agoMerge "Implement a proper solution for temps."
Nicolas Geoffray [Mon, 30 Mar 2015 14:53:42 +0000 (14:53 +0000)]
Merge "Implement a proper solution for temps."

9 years agoam f60b482b: am 5bb214b6: Merge "Please vogar by not giving a vm-command on host."
Nicolas Geoffray [Mon, 30 Mar 2015 14:49:31 +0000 (14:49 +0000)]
am f60b482b: am 5bb214b6: Merge "Please vogar by not giving a vm-command on host."

* commit 'f60b482bbce6ccd61d685912ef9df163c8be7027':
  Please vogar by not giving a vm-command on host.

9 years agoam 654831fc: am 618cc856: Merge "ART: Refactor callbacks_ in common_runtime_test"
Andreas Gampe [Mon, 30 Mar 2015 14:49:29 +0000 (14:49 +0000)]
am 654831fc: am 618cc856: Merge "ART: Refactor callbacks_ in common_runtime_test"

* commit '654831fcffe0d0b466f50708cdc32d8f5110fc05':
  ART: Refactor callbacks_ in common_runtime_test

9 years agoam 5bb214b6: Merge "Please vogar by not giving a vm-command on host."
Nicolas Geoffray [Mon, 30 Mar 2015 14:45:28 +0000 (14:45 +0000)]
am 5bb214b6: Merge "Please vogar by not giving a vm-command on host."

* commit '5bb214b6cd25809de2a4d62607ce69cd16587678':
  Please vogar by not giving a vm-command on host.

9 years agoam 618cc856: Merge "ART: Refactor callbacks_ in common_runtime_test"
Andreas Gampe [Mon, 30 Mar 2015 14:45:27 +0000 (14:45 +0000)]
am 618cc856: Merge "ART: Refactor callbacks_ in common_runtime_test"

* commit '618cc856c0af05ea3b162bd8490999e54a2abc1b':
  ART: Refactor callbacks_ in common_runtime_test

9 years agoMerge "Please vogar by not giving a vm-command on host."
Nicolas Geoffray [Mon, 30 Mar 2015 14:40:26 +0000 (14:40 +0000)]
Merge "Please vogar by not giving a vm-command on host."

9 years agoMerge "ART: Refactor callbacks_ in common_runtime_test"
Andreas Gampe [Mon, 30 Mar 2015 14:39:32 +0000 (14:39 +0000)]
Merge "ART: Refactor callbacks_ in common_runtime_test"

9 years agoam 620c3ea1: am aa7f5849: am 547bfb87: Merge "[optimizing] Only print full stats...
Nicolas Geoffray [Mon, 30 Mar 2015 14:37:13 +0000 (14:37 +0000)]
am 620c3ea1: am aa7f5849: am 547bfb87: Merge "[optimizing] Only print full stats in VLOG(compiler)"

* commit '620c3ea10f9800cd05fe9c5cd13b055d25fe55e7':
  [optimizing] Only print full stats in VLOG(compiler)

9 years agoPlease vogar by not giving a vm-command on host.
Nicolas Geoffray [Mon, 30 Mar 2015 14:30:26 +0000 (15:30 +0100)]
Please vogar by not giving a vm-command on host.

If the host is configured with shell (and not bash or mksh), the 'art'
script cannot be run by vogar.

Change-Id: Ib88cea2e45de1ff54477ae8ec3a8e831155d86df

9 years agoam aa7f5849: am 547bfb87: Merge "[optimizing] Only print full stats in VLOG(compiler)"
Nicolas Geoffray [Mon, 30 Mar 2015 14:25:28 +0000 (14:25 +0000)]
am aa7f5849: am 547bfb87: Merge "[optimizing] Only print full stats in VLOG(compiler)"

* commit 'aa7f5849f99843b6a3f96fa4a80a3474f6c3c1a8':
  [optimizing] Only print full stats in VLOG(compiler)

9 years agoam 547bfb87: Merge "[optimizing] Only print full stats in VLOG(compiler)"
Nicolas Geoffray [Mon, 30 Mar 2015 14:22:06 +0000 (14:22 +0000)]
am 547bfb87: Merge "[optimizing] Only print full stats in VLOG(compiler)"

* commit '547bfb87696fb53a87d4f4418da86938179af9cd':
  [optimizing] Only print full stats in VLOG(compiler)

9 years agoMerge "[optimizing] Only print full stats in VLOG(compiler)"
Nicolas Geoffray [Mon, 30 Mar 2015 14:17:10 +0000 (14:17 +0000)]
Merge "[optimizing] Only print full stats in VLOG(compiler)"

9 years ago[optimizing] Only print full stats in VLOG(compiler)
Nicolas Geoffray [Mon, 30 Mar 2015 12:29:08 +0000 (13:29 +0100)]
[optimizing] Only print full stats in VLOG(compiler)

Also add a kCompiledQuick stat.

bug:19956318

Change-Id: I0c6c0ac256362824eb9f1418216ab7e2c289a17b

9 years agoam 325f9941: am 43ed3947: am 69aea147: Merge "Fix user-build on fugu."
Nicolas Geoffray [Mon, 30 Mar 2015 13:58:52 +0000 (13:58 +0000)]
am 325f9941: am 43ed3947: am 69aea147: Merge "Fix user-build on fugu."

* commit '325f994119059822f5e57774a2e69c37a0597356':
  Fix user-build on fugu.

9 years agoam 43ed3947: am 69aea147: Merge "Fix user-build on fugu."
Nicolas Geoffray [Mon, 30 Mar 2015 13:45:53 +0000 (13:45 +0000)]
am 43ed3947: am 69aea147: Merge "Fix user-build on fugu."

* commit '43ed3947d4b80854dfb133c3d57856eaaa6ec761':
  Fix user-build on fugu.

9 years agoam 69aea147: Merge "Fix user-build on fugu."
Nicolas Geoffray [Mon, 30 Mar 2015 13:41:49 +0000 (13:41 +0000)]
am 69aea147: Merge "Fix user-build on fugu."

* commit '69aea147263055e5fd4cc63f643999883aa5c88a':
  Fix user-build on fugu.

9 years agoMerge "Fix user-build on fugu."
Nicolas Geoffray [Mon, 30 Mar 2015 13:35:53 +0000 (13:35 +0000)]
Merge "Fix user-build on fugu."

9 years agoam 6534d575: am 5f42ccb5: am fcee9d4a: Merge "Tweak test script while investigating...
Nicolas Geoffray [Mon, 30 Mar 2015 11:58:56 +0000 (11:58 +0000)]
am 6534d575: am 5f42ccb5: am fcee9d4a: Merge "Tweak test script while investigating failures."

* commit '6534d575c3c9357f03cd5e28039a8be809c89d7e':
  Tweak test script while investigating failures.

9 years agoFix user-build on fugu.
Nicolas Geoffray [Fri, 27 Mar 2015 10:27:22 +0000 (10:27 +0000)]
Fix user-build on fugu.

Calling Delete on an array shifts the elements, so when iterating
over inactives and removing entries we need to decrement for
the found interval, but also its potential other half. The code
used to not decrement for the other half

Change-Id: Idcb1533643c11a37ed4f459fe88aaef208a4bfd6

9 years agoam 5f42ccb5: am fcee9d4a: Merge "Tweak test script while investigating failures."
Nicolas Geoffray [Mon, 30 Mar 2015 11:45:47 +0000 (11:45 +0000)]
am 5f42ccb5: am fcee9d4a: Merge "Tweak test script while investigating failures."

* commit '5f42ccb5914ab7ea61dd2f890248e2d6de60e6c3':
  Tweak test script while investigating failures.

9 years agoam fcee9d4a: Merge "Tweak test script while investigating failures."
Nicolas Geoffray [Mon, 30 Mar 2015 11:39:10 +0000 (11:39 +0000)]
am fcee9d4a: Merge "Tweak test script while investigating failures."

* commit 'fcee9d4ad44b70cb85aafa9056c08a194c5582e6':
  Tweak test script while investigating failures.

9 years agoMerge "Tweak test script while investigating failures."
Nicolas Geoffray [Mon, 30 Mar 2015 11:32:18 +0000 (11:32 +0000)]
Merge "Tweak test script while investigating failures."

9 years agoTweak test script while investigating failures.
Nicolas Geoffray [Mon, 30 Mar 2015 11:28:26 +0000 (12:28 +0100)]
Tweak test script while investigating failures.

- Disable runs on devices failing,
- Add verbose for host failures.

Change-Id: I4efecfbc40f6666e62fd0835257d5b6c3cdcc798

9 years agoam d2e87235: am 0d5c4f45: am 4bf34ade: Merge "JDWP: more checking for StackFrame...
Sebastien Hertz [Mon, 30 Mar 2015 09:20:45 +0000 (09:20 +0000)]
am d2e87235: am 0d5c4f45: am 4bf34ade: Merge "JDWP: more checking for StackFrame commands"

* commit 'd2e87235141d9bf87c1cb3a4e11449fa64d7c768':
  JDWP: more checking for StackFrame commands

9 years agoam 0d5c4f45: am 4bf34ade: Merge "JDWP: more checking for StackFrame commands"
Sebastien Hertz [Mon, 30 Mar 2015 07:56:46 +0000 (07:56 +0000)]
am 0d5c4f45: am 4bf34ade: Merge "JDWP: more checking for StackFrame commands"

* commit '0d5c4f45afa441156fa6d4e40121e9a126325e18':
  JDWP: more checking for StackFrame commands

9 years agoam 4bf34ade: Merge "JDWP: more checking for StackFrame commands"
Sebastien Hertz [Mon, 30 Mar 2015 07:49:43 +0000 (07:49 +0000)]
am 4bf34ade: Merge "JDWP: more checking for StackFrame commands"

* commit '4bf34ade61a5dd1537781764aa38acbde5be6fc9':
  JDWP: more checking for StackFrame commands

9 years agoMerge "JDWP: more checking for StackFrame commands"
Sebastien Hertz [Mon, 30 Mar 2015 07:44:45 +0000 (07:44 +0000)]
Merge "JDWP: more checking for StackFrame commands"

9 years agoART: Refactor callbacks_ in common_runtime_test
Andreas Gampe [Sun, 29 Mar 2015 20:56:36 +0000 (13:56 -0700)]
ART: Refactor callbacks_ in common_runtime_test

The callback is now important for some runtime checks, and just
resetting callbacks_ is not correct anymore.

Change-Id: I2cb806f1916fd5ea190911a833ce460be557a428

9 years agoam a74a980a: am 9e6be435: am a3d40d5f: Merge "Fix some reflection errors"
Mathieu Chartier [Mon, 30 Mar 2015 02:31:26 +0000 (02:31 +0000)]
am a74a980a: am 9e6be435: am a3d40d5f: Merge "Fix some reflection errors"

* commit 'a74a980a0609e32faaee972d089b963cdee00f01':
  Fix some reflection errors

9 years agoam 9e6be435: am a3d40d5f: Merge "Fix some reflection errors"
Mathieu Chartier [Mon, 30 Mar 2015 02:07:49 +0000 (02:07 +0000)]
am 9e6be435: am a3d40d5f: Merge "Fix some reflection errors"

* commit '9e6be4359e7e3cb44c9ac3957dc9e8d0bbce11c3':
  Fix some reflection errors

9 years agoam a3d40d5f: Merge "Fix some reflection errors"
Mathieu Chartier [Mon, 30 Mar 2015 02:00:37 +0000 (02:00 +0000)]
am a3d40d5f: Merge "Fix some reflection errors"

* commit 'a3d40d5f764adfde8fa40d826cd93ba36cd15437':
  Fix some reflection errors

9 years agoam 19e33759: am 23e9c7b4: am af38d896: Merge "ART: Use enums in Trace"
Andreas Gampe [Mon, 30 Mar 2015 01:59:51 +0000 (01:59 +0000)]
am 19e33759: am 23e9c7b4: am af38d896: Merge "ART: Use enums in Trace"

* commit '19e3375944ca80eb74ff19fca9106b52acb19459':
  ART: Use enums in Trace

9 years agoMerge "Fix some reflection errors"
Mathieu Chartier [Mon, 30 Mar 2015 01:57:02 +0000 (01:57 +0000)]
Merge "Fix some reflection errors"

9 years agoFix some reflection errors
Mathieu Chartier [Mon, 30 Mar 2015 01:27:50 +0000 (18:27 -0700)]
Fix some reflection errors

Fixed incorrectly using 2nd frame instead of 1st in VerifyAccess.
Added regression test to ART. Fixed broken setShort,
getDeclaredFieldInternal.

Change-Id: I4b21d52d998cb768fe9503b8bccec506b7b972e5

9 years agoam 23e9c7b4: am af38d896: Merge "ART: Use enums in Trace"
Andreas Gampe [Mon, 30 Mar 2015 01:15:51 +0000 (01:15 +0000)]
am 23e9c7b4: am af38d896: Merge "ART: Use enums in Trace"

* commit '23e9c7b4971b6ca61d3837da66f70b43d4a024ad':
  ART: Use enums in Trace

9 years agoam af38d896: Merge "ART: Use enums in Trace"
Andreas Gampe [Mon, 30 Mar 2015 01:08:52 +0000 (01:08 +0000)]
am af38d896: Merge "ART: Use enums in Trace"

* commit 'af38d89634edbef394b3ef2cb3390d08dfb8d939':
  ART: Use enums in Trace

9 years agoMerge "ART: Use enums in Trace"
Andreas Gampe [Mon, 30 Mar 2015 01:04:12 +0000 (01:04 +0000)]
Merge "ART: Use enums in Trace"

9 years agoam e3de4f65: am a19ae45b: am f381645a: Merge "Add AccessibleObject and Field to mirror"
Mathieu Chartier [Mon, 30 Mar 2015 00:36:45 +0000 (00:36 +0000)]
am e3de4f65: am a19ae45b: am f381645a: Merge "Add AccessibleObject and Field to mirror"

* commit 'e3de4f659c3fc07a9a1cccdbd3eaa9b03df2cfab':
  Add AccessibleObject and Field to mirror

9 years agoam 03fcbb60: am 5234418c: am 68e22f3b: Merge "ART: Some runtime cleanup"
Andreas Gampe [Mon, 30 Mar 2015 00:36:43 +0000 (00:36 +0000)]
am 03fcbb60: am 5234418c: am 68e22f3b: Merge "ART: Some runtime cleanup"

* commit '03fcbb60ac76eeab9f92a2f12519a7cb66777f8e':
  ART: Some runtime cleanup

9 years agoam a19ae45b: am f381645a: Merge "Add AccessibleObject and Field to mirror"
Mathieu Chartier [Sun, 29 Mar 2015 22:42:47 +0000 (22:42 +0000)]
am a19ae45b: am f381645a: Merge "Add AccessibleObject and Field to mirror"

* commit 'a19ae45b96580614b48d49616eeb77e4584a6813':
  Add AccessibleObject and Field to mirror

9 years agoam f381645a: Merge "Add AccessibleObject and Field to mirror"
Mathieu Chartier [Sun, 29 Mar 2015 22:36:01 +0000 (22:36 +0000)]
am f381645a: Merge "Add AccessibleObject and Field to mirror"

* commit 'f381645a336f7092ab6f5900c0a2cf183a9dbdf7':
  Add AccessibleObject and Field to mirror

9 years agoMerge "Add AccessibleObject and Field to mirror"
Mathieu Chartier [Sun, 29 Mar 2015 22:30:55 +0000 (22:30 +0000)]
Merge "Add AccessibleObject and Field to mirror"

9 years agoART: Use enums in Trace
Andreas Gampe [Sun, 29 Mar 2015 22:26:23 +0000 (15:26 -0700)]
ART: Use enums in Trace

Move away from booleans. Will make introduction of streaming mode
a bit easier / obvious.

Change-Id: Id7ae92f6b97f627e848510d473931537d7db0db8

9 years agoAdd AccessibleObject and Field to mirror
Mathieu Chartier [Tue, 24 Mar 2015 20:30:28 +0000 (13:30 -0700)]
Add AccessibleObject and Field to mirror

Main motivation is to remove all the functionality / field access on
java side to ArtField. Also comes with some reflection speedups /
slowdowns.

Summary results:
getDeclaredField/getField are slower mostly due to JNI overhead.
However, there is a large speedup in getInt, setInt,
GetInstanceField, and GetStaticField.

Before timings (N5 --compiler-filter=everything):

                       benchmark      ns linear runtime
          Class_getDeclaredField  782.86 ===
                  Class_getField  832.77 ===
                    Field_getInt  160.17 =
                    Field_setInt  195.88 =
                GetInstanceField 3214.38 ==============
                  GetStaticField 6809.49 ==============================

After:
          Class_getDeclaredField 1068.15 ============
                  Class_getField 1180.00 ==============
                    Field_getInt  121.85 =
                    Field_setInt  139.98 =
                GetInstanceField 1986.15 =======================
                  GetStaticField 2523.63 ==============================

Bug: 19264997

Change-Id: Ic0d0fc1b56b95cd6d60f8e76f19caeaa23045c77

9 years agoam 5234418c: am 68e22f3b: Merge "ART: Some runtime cleanup"
Andreas Gampe [Sun, 29 Mar 2015 21:05:58 +0000 (21:05 +0000)]
am 5234418c: am 68e22f3b: Merge "ART: Some runtime cleanup"

* commit '5234418cae7341d7745a9b4e54f20162f7d9d039':
  ART: Some runtime cleanup

9 years agoam 68e22f3b: Merge "ART: Some runtime cleanup"
Andreas Gampe [Sun, 29 Mar 2015 21:00:06 +0000 (21:00 +0000)]
am 68e22f3b: Merge "ART: Some runtime cleanup"

* commit '68e22f3b982ff9ccbdfb3b65b7cfc16fcae907ba':
  ART: Some runtime cleanup

9 years agoMerge "ART: Some runtime cleanup"
Andreas Gampe [Sun, 29 Mar 2015 20:52:57 +0000 (20:52 +0000)]
Merge "ART: Some runtime cleanup"

9 years agoam 2838ea79: am 51675b96: am d6c93101: Merge "Fix typos spotted by Andreas."
Nicolas Geoffray [Sat, 28 Mar 2015 14:31:36 +0000 (14:31 +0000)]
am 2838ea79: am 51675b96: am d6c93101: Merge "Fix typos spotted by Andreas."

* commit '2838ea7971e42bf9a9db394b704ab50707b84a9e':
  Fix typos spotted by Andreas.

9 years agoam 51675b96: am d6c93101: Merge "Fix typos spotted by Andreas."
Nicolas Geoffray [Sat, 28 Mar 2015 14:18:34 +0000 (14:18 +0000)]
am 51675b96: am d6c93101: Merge "Fix typos spotted by Andreas."

* commit '51675b96d1386caaaf1cb16901eb040ddbda1336':
  Fix typos spotted by Andreas.

9 years agoam d6c93101: Merge "Fix typos spotted by Andreas."
Nicolas Geoffray [Sat, 28 Mar 2015 14:11:36 +0000 (14:11 +0000)]
am d6c93101: Merge "Fix typos spotted by Andreas."

* commit 'd6c93101f81fbdcd68b0fa2965d8af3877d15ea4':
  Fix typos spotted by Andreas.

9 years agoMerge "Fix typos spotted by Andreas."
Nicolas Geoffray [Sat, 28 Mar 2015 14:04:56 +0000 (14:04 +0000)]
Merge "Fix typos spotted by Andreas."

9 years agoam 49449461: am bd52a1e3: am e2c29f4a: Merge "ART: Use instrumented Alloc in Class...
Andreas Gampe [Sat, 28 Mar 2015 06:46:49 +0000 (06:46 +0000)]
am 49449461: am bd52a1e3: am e2c29f4a: Merge "ART: Use instrumented Alloc in Class-Linker"

* commit '494494611c89b9034c7392a4df49367441567710':
  ART: Use instrumented Alloc in Class-Linker

9 years agoART: Some runtime cleanup
Andreas Gampe [Sat, 28 Mar 2015 06:45:15 +0000 (23:45 -0700)]
ART: Some runtime cleanup

Use an enum for the compiler-callback mode.

Refactor and remove some unnecessary includes in runtime.h.

Change-Id: If2245fa470171311b8e05b677cf6bb28f209585a

9 years agoam bd52a1e3: am e2c29f4a: Merge "ART: Use instrumented Alloc in Class-Linker"
Andreas Gampe [Sat, 28 Mar 2015 06:31:58 +0000 (06:31 +0000)]
am bd52a1e3: am e2c29f4a: Merge "ART: Use instrumented Alloc in Class-Linker"

* commit 'bd52a1e359be8cc1dce41c0b13e0d77124dc899c':
  ART: Use instrumented Alloc in Class-Linker

9 years agoam e2c29f4a: Merge "ART: Use instrumented Alloc in Class-Linker"
Andreas Gampe [Sat, 28 Mar 2015 06:25:40 +0000 (06:25 +0000)]
am e2c29f4a: Merge "ART: Use instrumented Alloc in Class-Linker"

* commit 'e2c29f4a2717923f190c944a06e02f7d8c3ddcb6':
  ART: Use instrumented Alloc in Class-Linker

9 years agoMerge "ART: Use instrumented Alloc in Class-Linker"
Andreas Gampe [Sat, 28 Mar 2015 06:20:07 +0000 (06:20 +0000)]
Merge "ART: Use instrumented Alloc in Class-Linker"

9 years agoART: Use instrumented Alloc in Class-Linker
Andreas Gampe [Sat, 28 Mar 2015 06:18:07 +0000 (23:18 -0700)]
ART: Use instrumented Alloc in Class-Linker

To support Valgrind over dex2oat and gtests, CreatePathClassLoader
must use instrumented allocation.

Change-Id: I9dc2d009d37bec598c5de67688ebf9810da6e899

9 years agoam d30a0457: am 955ec5d7: am 86787d0b: Merge "ART: PathClassLoader for compiler"
Andreas Gampe [Sat, 28 Mar 2015 05:06:53 +0000 (05:06 +0000)]
am d30a0457: am 955ec5d7: am 86787d0b: Merge "ART: PathClassLoader for compiler"

* commit 'd30a0457867aace27cdbc95fff1b61d66c08d146':
  ART: PathClassLoader for compiler

9 years agoam 955ec5d7: am 86787d0b: Merge "ART: PathClassLoader for compiler"
Andreas Gampe [Sat, 28 Mar 2015 04:53:46 +0000 (04:53 +0000)]
am 955ec5d7: am 86787d0b: Merge "ART: PathClassLoader for compiler"

* commit '955ec5d7c08d85a1d583164534cd6995c51a53a6':
  ART: PathClassLoader for compiler

9 years agoam eaf8ec8f: am bdb0e80d: am 5c7acfc0: Merge "[MIPS] Refactoring code for quick compiler"
Andreas Gampe [Sat, 28 Mar 2015 04:51:45 +0000 (04:51 +0000)]
am eaf8ec8f: am bdb0e80d: am 5c7acfc0: Merge "[MIPS] Refactoring code for quick compiler"

* commit 'eaf8ec8f1a0d24bb03f91b5f638ccb9fd749acc8':
  [MIPS] Refactoring code for quick compiler

9 years agoam 86787d0b: Merge "ART: PathClassLoader for compiler"
Andreas Gampe [Sat, 28 Mar 2015 04:49:42 +0000 (04:49 +0000)]
am 86787d0b: Merge "ART: PathClassLoader for compiler"

* commit '86787d0bc2c5ad3b9c3b880b0fe2325d2b8bd672':
  ART: PathClassLoader for compiler

9 years agoMerge "ART: PathClassLoader for compiler"
Andreas Gampe [Sat, 28 Mar 2015 04:44:36 +0000 (04:44 +0000)]
Merge "ART: PathClassLoader for compiler"

9 years agoART: PathClassLoader for compiler
Andreas Gampe [Thu, 26 Mar 2015 00:19:53 +0000 (17:19 -0700)]
ART: PathClassLoader for compiler

Use an actual PathClassLoader when compiling apps, instead of a
side structure and cutout.

This CL sets up a minimal object 'cluster' that recreates the Java
side of a regular ClassLoader such that the Class-Linker will
recognize it and use the internal native fast-path.

This CL removes the now unnecessary compile-time-classpath and
replaces it with a single 'compiling-the-boot-image' flag in the
compiler callbacks.

Note: This functionality is *only* intended for the compiler, as
the objects have not been completely initialized.

Bug: 19781184

Change-Id: I7f36af12dd7852d21281110a25c119e8c0669c1d

9 years agoam bdb0e80d: am 5c7acfc0: Merge "[MIPS] Refactoring code for quick compiler"
Andreas Gampe [Sat, 28 Mar 2015 04:37:04 +0000 (04:37 +0000)]
am bdb0e80d: am 5c7acfc0: Merge "[MIPS] Refactoring code for quick compiler"

* commit 'bdb0e80dd7d30c81acb102199b4f9179d5d63621':
  [MIPS] Refactoring code for quick compiler

9 years agoam 5c7acfc0: Merge "[MIPS] Refactoring code for quick compiler"
Andreas Gampe [Sat, 28 Mar 2015 04:31:03 +0000 (04:31 +0000)]
am 5c7acfc0: Merge "[MIPS] Refactoring code for quick compiler"

* commit '5c7acfc0b5acc50c60c57934341750f7c776d57e':
  [MIPS] Refactoring code for quick compiler

9 years agoMerge "[MIPS] Refactoring code for quick compiler"
Andreas Gampe [Sat, 28 Mar 2015 04:26:22 +0000 (04:26 +0000)]
Merge "[MIPS] Refactoring code for quick compiler"

9 years ago[optimizing] Do not inline intrinsics
Razvan A Lupusoru [Fri, 27 Mar 2015 20:44:44 +0000 (13:44 -0700)]
[optimizing] Do not inline intrinsics

The intrinsics generally have specialized code and the code for them
may be faster than what can be achieved with inlining. Thus inliner
should skip intrinsics.

At the same time, easy methods are not worth intrinsifying: ie String
length and isEmpty. Those can be handled by inliner with no problem
and can actually lead to better code since call is not kept around
through all of the optimizations.

Change-Id: Iab38e6c33f79efa54d845d4871cf26fa9b235ab0
Signed-off-by: Razvan A Lupusoru <razvan.a.lupusoru@intel.com>
9 years agoam 7bd66b32: am 198a05b8: am d68cef75: Merge "Re-enable test."
Nicolas Geoffray [Fri, 27 Mar 2015 17:40:14 +0000 (17:40 +0000)]
am 7bd66b32: am 198a05b8: am d68cef75: Merge "Re-enable test."

* commit '7bd66b323c406e44a914defe70ceabd563cf81e0':
  Re-enable test.

9 years agoam 198a05b8: am d68cef75: Merge "Re-enable test."
Nicolas Geoffray [Fri, 27 Mar 2015 17:25:44 +0000 (17:25 +0000)]
am 198a05b8: am d68cef75: Merge "Re-enable test."

* commit '198a05b83e9943aafc94bc2b1f03e0501b687248':
  Re-enable test.

9 years agoImplement a proper solution for temps.
Nicolas Geoffray [Fri, 27 Mar 2015 17:15:49 +0000 (17:15 +0000)]
Implement a proper solution for temps.

We used to play some trickery when updating locations of temps. This
change creates a proper use of the temp, and use it for updating
its location.

Change-Id: I53e9447b87a55137a3a79841db21ad3864854825

9 years agoFix typos spotted by Andreas.
Nicolas Geoffray [Fri, 27 Mar 2015 17:21:24 +0000 (17:21 +0000)]
Fix typos spotted by Andreas.

Change-Id: I564b4bc5995d91f4c6c4e4f2427ed7c279cb8740

9 years agoam d68cef75: Merge "Re-enable test."
Nicolas Geoffray [Fri, 27 Mar 2015 17:18:36 +0000 (17:18 +0000)]
am d68cef75: Merge "Re-enable test."

* commit 'd68cef75a2b57b5c5ab33065d567446b4510b143':
  Re-enable test.

9 years agoMerge "Re-enable test."
Nicolas Geoffray [Fri, 27 Mar 2015 17:13:49 +0000 (17:13 +0000)]
Merge "Re-enable test."

9 years agoRe-enable test.
Nicolas Geoffray [Fri, 27 Mar 2015 15:49:32 +0000 (15:49 +0000)]
Re-enable test.

The boot image can now be compiled with optimizing.

Change-Id: Idbdec44ccb01e3b0251914da150d9dd0854c61e6

9 years agoam 00410bff: am 3a0514e1: am 7d8c6776: Merge "GVN HClinitCheck nodes."
Nicolas Geoffray [Fri, 27 Mar 2015 15:49:14 +0000 (15:49 +0000)]
am 00410bff: am 3a0514e1: am 7d8c6776: Merge "GVN HClinitCheck nodes."

* commit '00410bff69c8f363e3981f69448910c123b58fbc':
  GVN HClinitCheck nodes.

9 years ago[MIPS] Refactoring code for quick compiler
Goran Jakovljevic [Tue, 24 Mar 2015 17:42:56 +0000 (18:42 +0100)]
[MIPS] Refactoring code for quick compiler

Code from compiler/dex/quick/mips64 is merged with code
in mips folder.

Change-Id: I785983c21549141306484647da86a0bb4815daaa