OSDN Git Service

android-x86/art.git
9 years agoFix a cts crash around proxy class fields.
Hiroshi Yamauchi [Wed, 20 May 2015 22:51:29 +0000 (15:51 -0700)]
Fix a cts crash around proxy class fields.

org.apache.harmony.tests.java.io.SerializationStressTest4#test_writeObject_Proxy

As the static fields of proxy classes share the dex file indices, they
shouldn't be resolved in the dex cache or else Field::GetArtField()
may return a wrong art field that belong to a different proxy class.

Bug: 20557050

Change-Id: If672c0e67bc49e672e34d75ffbe29c65f5a423b9

9 years agoMerge "Test and fix bug checking status of secondary multidex files." into mnc-dev
Richard Uhler [Mon, 18 May 2015 15:18:55 +0000 (15:18 +0000)]
Merge "Test and fix bug checking status of secondary multidex files." into mnc-dev

9 years agoTest and fix bug checking status of secondary multidex files.
Richard Uhler [Thu, 14 May 2015 20:21:13 +0000 (13:21 -0700)]
Test and fix bug checking status of secondary multidex files.

We were accidentally returning 'false' instead of 'true' to indicate a native
multidex file with an up-to-date primary dex file checksum but out-of-date
secondary dex file checksum is out of date.

Bug: 21022815
Change-Id: I43d360ca9251d0df38ad7f8289f6ef339c0a3280

9 years agoJDWP: more GC safety
Sebastien Hertz [Wed, 8 Apr 2015 07:36:07 +0000 (09:36 +0200)]
JDWP: more GC safety

Ensures GC safety when keeping references that may be moved by GC:
- SingleStepControl: stores ArtMethod* in a GcRoot
- ModBasket: stores references in a StackHandleScope

Bug: 18166750

(cherry picked from commit 261bc044a3575512869586593e99e97cd8b1c321)

Change-Id: I35971a901537956739d1f089d61cb4ea9dc6c93d

9 years agoMerge "Undo arm64 workaround." into mnc-dev
Chih-Hung Hsieh [Fri, 15 May 2015 23:09:19 +0000 (23:09 +0000)]
Merge "Undo arm64 workaround." into mnc-dev

9 years agoUndo arm64 workaround.
Chih-Hung Hsieh [Tue, 12 May 2015 19:06:57 +0000 (12:06 -0700)]
Undo arm64 workaround.

Now we have new llvm to compile art for arm64 without -fno-vectorize.
BUG: 21080674

Change-Id: Id1b3a88ab9d4cf78b7f0dfd8cb435ed6e7ab7cb2
(cherry picked from commit b6cee946d44dc1e961c9656830b567e38104f896)

9 years agoMerge "Print more info on mark sweep invalid ref crash." into mnc-dev
Hiroshi Yamauchi [Fri, 15 May 2015 22:47:18 +0000 (22:47 +0000)]
Merge "Print more info on mark sweep invalid ref crash." into mnc-dev

9 years agoPrint more info on mark sweep invalid ref crash.
Hiroshi Yamauchi [Fri, 15 May 2015 22:23:30 +0000 (15:23 -0700)]
Print more info on mark sweep invalid ref crash.

- Add extra info about the field holder.
- Suspend threads when verifying roots.

Bug: 20557050
Change-Id: Ia1f2269aaa3b1a81d0594e781e439a5decfb82f9

9 years agoAdd new style String operations during compilation init, part 2
Kenny Root [Thu, 14 May 2015 22:58:17 +0000 (15:58 -0700)]
Add new style String operations during compilation init, part 2

This allows some class initializers that deal with Strings to run during
compilation. However, java.lang.Character.toUpperCase() is blocking
initialization for some parts.

(cherry picked from commit 57f91e8956f4496391bff028a1b990540cc91c22)

Bug: 21036900
Change-Id: Ia969c6a643f510bc798f94fb10bca1a68fe2ae67

9 years agoStop wrapping close(2) with TEMP_FAILURE_RETRY in art.
Elliott Hughes [Fri, 15 May 2015 15:25:58 +0000 (08:25 -0700)]
Stop wrapping close(2) with TEMP_FAILURE_RETRY in art.

Note that all the TEMP_FAILURE_RETRY([A-Z] calls in this file are
wrong. The member functions return -errno, so only an EPERM failure
will return -1 (but errno should be EPERM, so you won't loop).

Bug: http://b/20501816
Change-Id: Ibde6a2c7bf92469d008d6d510f9391669ae37a84
(cherry picked from commit 6a887d6a1d1ca089b48663a5ae11f973b98785a9)

9 years agoMerge "In hprof, use an address within string for char array of empty string." into...
Jeff Hao [Fri, 15 May 2015 00:56:57 +0000 (00:56 +0000)]
Merge "In hprof, use an address within string for char array of empty string." into mnc-dev

9 years agoMerge changes I2ea008b7,Ibd7a643d into mnc-dev
Kenny Root [Fri, 15 May 2015 00:26:26 +0000 (00:26 +0000)]
Merge changes I2ea008b7,Ibd7a643d into mnc-dev

* changes:
  Add new style String operations during compilation init
  Fix non-range String init calls

9 years agoIn hprof, use an address within string for char array of empty string.
Jeff Hao [Fri, 15 May 2015 00:19:15 +0000 (17:19 -0700)]
In hprof, use an address within string for char array of empty string.

Bug: 21089461
Change-Id: I203345caf74fba2e9bf0549256147d84d1bb829e

9 years agoAdd new style String operations during compilation init
Kenny Root [Thu, 14 May 2015 22:58:17 +0000 (15:58 -0700)]
Add new style String operations during compilation init

This allows some class initializers that deal with Strings to run during
compilation. This includes the current implementation of
java.security.Security because it reads the "java.security" resource.

Bug: 21036900
Change-Id: I2ea008b774d4ed359e155318e0d06c1566186c34

9 years agoFix non-range String init calls
Kenny Root [Thu, 14 May 2015 23:48:22 +0000 (16:48 -0700)]
Fix non-range String init calls

When the String constructor was called via invoke-direct, it is changed
to the new StringFactory which is static. That means that the args need
to be shifted by one to deal with the change from non-static to static.
However, the non-range version of the invoke-direct was not shifted
correctly causing unstarted runtime initialization to get the wrong
first_dest_reg argument.

Bug: 21036900
Change-Id: Ibd7a643d877514ea396d7e4ab0dea327207cb78f

9 years agoRemove doublequoted command to adb sh -c.
Hiroshi Yamauchi [Thu, 14 May 2015 20:42:06 +0000 (13:42 -0700)]
Remove doublequoted command to adb sh -c.

(cherry pick commit 0a4c61db049f7ddcd9cbebb54e67a1285d621da9)

Change-Id: I0e0fceedf927df25b8d6b0cf235f43f928cb3534

9 years agoMerge "In hprof, set string class instance size to that of an empty string." into...
Jeff Hao [Thu, 14 May 2015 21:49:08 +0000 (21:49 +0000)]
Merge "In hprof, set string class instance size to that of an empty string." into mnc-dev

9 years agoIn hprof, set string class instance size to that of an empty string.
Jeff Hao [Wed, 13 May 2015 01:58:32 +0000 (18:58 -0700)]
In hprof, set string class instance size to that of an empty string.

Bug: 21066704
Change-Id: Ic52193f5801117ca642055ea700fc4bc21b690e8

9 years agoPrint field info on mark sweep invalid ref crash.
Hiroshi Yamauchi [Thu, 14 May 2015 04:14:22 +0000 (21:14 -0700)]
Print field info on mark sweep invalid ref crash.

(cherry pick commit eb2baaf20d9059c0fc38141780ec05bea0486c40)

Bug: 20557050
Change-Id: I3abb7a44e3b7ed3256653824fd1705aac5f7d72c

9 years agoQuick: Fix marking high words in DCE.
Vladimir Marko [Thu, 14 May 2015 10:47:39 +0000 (11:47 +0100)]
Quick: Fix marking high words in DCE.

This CL properly fixes the high word marking and reverts
    https://android-review.googlesource.com/150352
which was just covering up the underlying issue. A unit test
for the encountered issue is provided, though it does not
expose the deficiency in the cover-up CL.

Bug: 20640451

(cherry picked from commit 9cacef6e811940c2f21e7e54055379a2c43f0d06)

Change-Id: I4c4ca82fe4b2e34feb38090d88a5d5c754914f89

9 years agoART: Do not relocate app program headers in patchoat.
Vladimir Marko [Wed, 13 May 2015 18:06:30 +0000 (19:06 +0100)]
ART: Do not relocate app program headers in patchoat.

Change the check whether to relocate program headers in
patchoat to simply look whether there is a PT_LOAD section
with p_vaddr == 0. If there is, don't relocate the headers,
it should be an app. Otherwise, it's a boot image and needs
to be relocated.

Add overflow checking to ElfFileImpl<>::GetLoadedSize().

Bug: 21047854

(cherry picked from commit 3fc9903407c6e89ffbbc92ded9e272d9de58e9b6)

Change-Id: Ib3e1295fc06993bcfbaadd8f253ee4f5498f52e9

9 years agoAlso print class for NoSuchFieldException
Mathieu Chartier [Wed, 13 May 2015 20:13:24 +0000 (13:13 -0700)]
Also print class for NoSuchFieldException

Example message:
Caused by: java.lang.NoSuchFieldException: No field value in class Ljava/lang/String;

Added test.

Bug: 20881251

Change-Id: I4043cbf26c3077952b6c151da0d0edd980da26b1

9 years agoART: Rediscover loops after deleting blocks in DCE
David Brazdil [Thu, 7 May 2015 08:59:30 +0000 (09:59 +0100)]
ART: Rediscover loops after deleting blocks in DCE

The way DCE currently updates loop information does not cover all
cases. This patch removes the logic, resets loop information of live
blocks to pre-SSA state and reanalyzes the affected loops.

Change-Id: I0b996a70235b95a8db0de9a23a03f71db57a21b8
(cherry picked from commit a4b8c21dae70ae34aee13628632c39a675c06022)

9 years agoMerge "ART: arm indexOf intrinsics for the optimizing compiler" into mnc-dev
Andreas Gampe [Tue, 12 May 2015 23:11:41 +0000 (23:11 +0000)]
Merge "ART: arm indexOf intrinsics for the optimizing compiler" into mnc-dev

9 years agoMerge "Hold heap bitmap lock in Heap::GetObjectsAllocated" into mnc-dev
Mathieu Chartier [Tue, 12 May 2015 21:58:54 +0000 (21:58 +0000)]
Merge "Hold heap bitmap lock in Heap::GetObjectsAllocated" into mnc-dev

9 years agoQuick: Fix DCE, clear high word flag in RemoveChange().
Vladimir Marko [Tue, 12 May 2015 21:27:21 +0000 (22:27 +0100)]
Quick: Fix DCE, clear high word flag in RemoveChange().

Bug: 20640451

(cherry picked from commit ade58e14582c6ab81978e9cfcbbf5e54cc23fe18)

Change-Id: I8ac7fea3d9d2a434ee79fb917e68a4dc96e5482f

9 years agoMerge "Add notes about fast JNI calls." into mnc-dev
Hiroshi Yamauchi [Tue, 12 May 2015 21:37:35 +0000 (21:37 +0000)]
Merge "Add notes about fast JNI calls." into mnc-dev

9 years agoAdd notes about fast JNI calls.
Hiroshi Yamauchi [Tue, 12 May 2015 21:21:34 +0000 (14:21 -0700)]
Add notes about fast JNI calls.

(cherry pick commit 36bce58f01a6b37e4d07ff9544c03a3238be087f)

Bug: 19665903
Change-Id: I7cc37ab572d2e9ff86f6388c80a3c453a2bca046

9 years agoMerge "Fix bug in removal of *.flock files." into mnc-dev
Richard Uhler [Tue, 12 May 2015 21:21:20 +0000 (21:21 +0000)]
Merge "Fix bug in removal of *.flock files." into mnc-dev

9 years agoHold heap bitmap lock in Heap::GetObjectsAllocated
Mathieu Chartier [Tue, 12 May 2015 17:47:11 +0000 (10:47 -0700)]
Hold heap bitmap lock in Heap::GetObjectsAllocated

Fixes a race condition where add and remove space could cause a crash
when we iterated over the spaces.

TODO: Add a spaces lock or something to guard against this.

Bug: 21031927

Change-Id: I7f0d558316f8e9d9f22ffd182e8666355bf50d47

9 years agoFix bug in removal of *.flock files.
Richard Uhler [Thu, 7 May 2015 17:19:35 +0000 (10:19 -0700)]
Fix bug in removal of *.flock files.

Bug: 20816098
(cherry picked from commit 581f4e9065b9b7f788315d3ea1a45e51ae168589)

Change-Id: Ib7bd394a9dd0299f09d386ae010972b461217550

9 years agoART: arm indexOf intrinsics for the optimizing compiler
Andreas Gampe [Fri, 8 May 2015 05:31:55 +0000 (22:31 -0700)]
ART: arm indexOf intrinsics for the optimizing compiler

Add intrinsics implementations for indexOf in the optimizing
compiler. These are mostly ported from Quick.

Bug: 20889065

(cherry picked from commit ba6fdbcb764d5a8972f5ff2d7147e4d78226b347)

Change-Id: I18ee849d41187a381f99529669e6f97040aaacf6

9 years agoQuick: Fix DCE to mark wide register overlaps correctly.
Vladimir Marko [Tue, 12 May 2015 17:27:20 +0000 (18:27 +0100)]
Quick: Fix DCE to mark wide register overlaps correctly.

Previously we missed some cases of overlap with registers
coming from previous blocks.

Bug: 20640451

(cherry picked from commit 83d46ef1eaa8fdecadfdb9564d80e50b42646c37)

Change-Id: I1be879edfbc900b70cee411d9e31e5a4b524530a

9 years agoAdd test for String init called from unresolvable class.
Jeff Hao [Tue, 12 May 2015 01:39:28 +0000 (18:39 -0700)]
Add test for String init called from unresolvable class.

Bug: 20971268
Change-Id: I0cb027f5e29667e9d522eb01a6b966cd69abb104

9 years agoMerge art project from goog/master into goog/mnc-dev.
Jeff Hao [Mon, 11 May 2015 20:38:14 +0000 (13:38 -0700)]
Merge art project from goog/master into goog/mnc-dev.

9 years agoam d0d3b974: am 1774ca95: am bdd9f2d8: Merge "Remove unused StackHandleScope"
Sebastien Hertz [Mon, 11 May 2015 19:36:17 +0000 (19:36 +0000)]
am d0d3b974: am 1774ca95: am bdd9f2d8: Merge "Remove unused StackHandleScope"

* commit 'd0d3b974998111ee4b0c6692590f6b05a765bacc':
  Remove unused StackHandleScope

9 years agoam 1774ca95: am bdd9f2d8: Merge "Remove unused StackHandleScope"
Sebastien Hertz [Mon, 11 May 2015 19:20:12 +0000 (19:20 +0000)]
am 1774ca95: am bdd9f2d8: Merge "Remove unused StackHandleScope"

* commit '1774ca95e2cae05eeb312567a68dd93eaf792acb':
  Remove unused StackHandleScope

9 years agoam bdd9f2d8: Merge "Remove unused StackHandleScope"
Sebastien Hertz [Mon, 11 May 2015 19:08:27 +0000 (19:08 +0000)]
am bdd9f2d8: Merge "Remove unused StackHandleScope"

* commit 'bdd9f2d870099e326a281ac90993b37b999c35ea':
  Remove unused StackHandleScope

9 years agoMerge "Remove unused StackHandleScope"
Sebastien Hertz [Mon, 11 May 2015 18:58:31 +0000 (18:58 +0000)]
Merge "Remove unused StackHandleScope"

9 years agoam f3713fbe: am cbfc2b94: am 1d316ada: Merge "Insert a read barrier in the JNI bridge."
Hiroshi Yamauchi [Mon, 11 May 2015 18:38:22 +0000 (18:38 +0000)]
am f3713fbe: am cbfc2b94: am 1d316ada: Merge "Insert a read barrier in the JNI bridge."

* commit 'f3713fbe906c9aa1196382602cb870ae3f3e12d7':
  Insert a read barrier in the JNI bridge.

9 years agoam cbfc2b94: am 1d316ada: Merge "Insert a read barrier in the JNI bridge."
Hiroshi Yamauchi [Mon, 11 May 2015 18:26:37 +0000 (18:26 +0000)]
am cbfc2b94: am 1d316ada: Merge "Insert a read barrier in the JNI bridge."

* commit 'cbfc2b9443e4d18948d5bbd054b5dd3569d8943c':
  Insert a read barrier in the JNI bridge.

9 years agoam a34ea222: am 1ed3ab7c: am bd0cfef5: Merge "Fix typo in VLOG message."
Richard Uhler [Mon, 11 May 2015 18:14:15 +0000 (18:14 +0000)]
am a34ea222: am 1ed3ab7c: am bd0cfef5: Merge "Fix typo in VLOG message."

* commit 'a34ea222385996d9b6c6e057bad3ca7dae79cfba':
  Fix typo in VLOG message.

9 years agoam c6c4b52d: am fa389ffa: am c55efc73: Merge "Add more diagnostics info to flaky...
Richard Uhler [Mon, 11 May 2015 18:14:14 +0000 (18:14 +0000)]
am c6c4b52d: am fa389ffa: am c55efc73: Merge "Add more diagnostics info to flaky oat file assistant test."

* commit 'c6c4b52dfa8d4883338e922cd7200062d3e5c735':
  Add more diagnostics info to flaky oat file assistant test.

9 years agoam a57a8f86: am 2f8a04dc: am 9dfba720: Merge "ART: x86 indexOf intrinsics for the...
Andreas Gampe [Mon, 11 May 2015 18:14:13 +0000 (18:14 +0000)]
am a57a8f86: am 2f8a04dc: am 9dfba720: Merge "ART: x86 indexOf intrinsics for the optimizing compiler"

* commit 'a57a8f86c9f6c5c3667df7d87e0ee49ef184fd61':
  ART: x86 indexOf intrinsics for the optimizing compiler

9 years agoam 1d316ada: Merge "Insert a read barrier in the JNI bridge."
Hiroshi Yamauchi [Mon, 11 May 2015 18:13:39 +0000 (18:13 +0000)]
am 1d316ada: Merge "Insert a read barrier in the JNI bridge."

* commit '1d316adafda81cb2f30e210d3d108b97c7c11f15':
  Insert a read barrier in the JNI bridge.

9 years agoMerge "Insert a read barrier in the JNI bridge."
Hiroshi Yamauchi [Mon, 11 May 2015 18:04:09 +0000 (18:04 +0000)]
Merge "Insert a read barrier in the JNI bridge."

9 years agoam 1ed3ab7c: am bd0cfef5: Merge "Fix typo in VLOG message."
Richard Uhler [Mon, 11 May 2015 18:00:14 +0000 (18:00 +0000)]
am 1ed3ab7c: am bd0cfef5: Merge "Fix typo in VLOG message."

* commit '1ed3ab7c07ff2ff281ae8bc960ce31bba37f8d67':
  Fix typo in VLOG message.

9 years agoam fa389ffa: am c55efc73: Merge "Add more diagnostics info to flaky oat file assistan...
Richard Uhler [Mon, 11 May 2015 18:00:13 +0000 (18:00 +0000)]
am fa389ffa: am c55efc73: Merge "Add more diagnostics info to flaky oat file assistant test."

* commit 'fa389ffa36e0c6ad74b5f01adce733e502efc992':
  Add more diagnostics info to flaky oat file assistant test.

9 years agoam 2f8a04dc: am 9dfba720: Merge "ART: x86 indexOf intrinsics for the optimizing compiler"
Andreas Gampe [Mon, 11 May 2015 18:00:11 +0000 (18:00 +0000)]
am 2f8a04dc: am 9dfba720: Merge "ART: x86 indexOf intrinsics for the optimizing compiler"

* commit '2f8a04dca06c417c6c8cd4eb74025aba1d49020b':
  ART: x86 indexOf intrinsics for the optimizing compiler

9 years agoam bd0cfef5: Merge "Fix typo in VLOG message."
Richard Uhler [Mon, 11 May 2015 17:52:44 +0000 (17:52 +0000)]
am bd0cfef5: Merge "Fix typo in VLOG message."

* commit 'bd0cfef567012fa6c75243d9157ddceaab7cdaac':
  Fix typo in VLOG message.

9 years agoam c55efc73: Merge "Add more diagnostics info to flaky oat file assistant test."
Richard Uhler [Mon, 11 May 2015 17:52:42 +0000 (17:52 +0000)]
am c55efc73: Merge "Add more diagnostics info to flaky oat file assistant test."

* commit 'c55efc7335e35f6731b04afc3a1db838c086beb3':
  Add more diagnostics info to flaky oat file assistant test.

9 years agoam 9dfba720: Merge "ART: x86 indexOf intrinsics for the optimizing compiler"
Andreas Gampe [Mon, 11 May 2015 17:52:40 +0000 (17:52 +0000)]
am 9dfba720: Merge "ART: x86 indexOf intrinsics for the optimizing compiler"

* commit '9dfba7202b3777a14792759f097fe4da37264988':
  ART: x86 indexOf intrinsics for the optimizing compiler

9 years agoMerge "Fix typo in VLOG message."
Richard Uhler [Mon, 11 May 2015 17:46:44 +0000 (17:46 +0000)]
Merge "Fix typo in VLOG message."

9 years agoMerge "Add more diagnostics info to flaky oat file assistant test."
Richard Uhler [Mon, 11 May 2015 17:46:06 +0000 (17:46 +0000)]
Merge "Add more diagnostics info to flaky oat file assistant test."

9 years agoMerge "ART: x86 indexOf intrinsics for the optimizing compiler"
Andreas Gampe [Mon, 11 May 2015 17:42:21 +0000 (17:42 +0000)]
Merge "ART: x86 indexOf intrinsics for the optimizing compiler"

9 years agoART: x86 indexOf intrinsics for the optimizing compiler
Andreas Gampe [Thu, 7 May 2015 21:46:15 +0000 (14:46 -0700)]
ART: x86 indexOf intrinsics for the optimizing compiler

Add intrinsics implementations for indexOf in the optimizing
compiler. These are mostly ported from Quick. Add instruction
support to assemblers where necessary.

Change-Id: Ife90ed0245532a5c436a26fe84715dc357f353c8

9 years agoRemove unused StackHandleScope
Sebastien Hertz [Mon, 11 May 2015 15:53:27 +0000 (17:53 +0200)]
Remove unused StackHandleScope

It is causing crashes when there is no current thread (because it has
been detached from the runtime). It happens when we sanity check the
stack during runtime shutdown after stopping method tracing.

Bug: 20993343
Change-Id: I549664932f513a01339e5b1c34b3ddc5744888c3

9 years agoFix typo in VLOG message.
Richard Uhler [Mon, 11 May 2015 16:36:57 +0000 (09:36 -0700)]
Fix typo in VLOG message.

Change-Id: Iaf4ce1787816afce947c6e963df19d20ef5f5e1b

9 years agoAdd more diagnostics info to flaky oat file assistant test.
Richard Uhler [Mon, 11 May 2015 16:32:47 +0000 (09:32 -0700)]
Add more diagnostics info to flaky oat file assistant test.

Change-Id: Ifd0029d389ba7585a819c01fc9cc846681d0a349

9 years agoam ee623ea4: am 1c324341: am 6108ed86: Merge "Add a flag to StackVisitor for inlining."
Nicolas Geoffray [Mon, 11 May 2015 15:56:33 +0000 (15:56 +0000)]
am ee623ea4: am 1c324341: am 6108ed86: Merge "Add a flag to StackVisitor for inlining."

* commit 'ee623ea4432a393d0bab6918829356f63c5d8716':
  Add a flag to StackVisitor for inlining.

9 years agoam 1c324341: am 6108ed86: Merge "Add a flag to StackVisitor for inlining."
Nicolas Geoffray [Mon, 11 May 2015 15:49:47 +0000 (15:49 +0000)]
am 1c324341: am 6108ed86: Merge "Add a flag to StackVisitor for inlining."

* commit '1c3243416088c2f2072f6db413cfb3c8bf2dacfb':
  Add a flag to StackVisitor for inlining.

9 years agoam 6108ed86: Merge "Add a flag to StackVisitor for inlining."
Nicolas Geoffray [Mon, 11 May 2015 15:39:50 +0000 (15:39 +0000)]
am 6108ed86: Merge "Add a flag to StackVisitor for inlining."

* commit '6108ed86bb2663e73262e290463f014e2698abc1':
  Add a flag to StackVisitor for inlining.

9 years agoMerge "Add a flag to StackVisitor for inlining."
Nicolas Geoffray [Mon, 11 May 2015 15:29:41 +0000 (15:29 +0000)]
Merge "Add a flag to StackVisitor for inlining."

9 years agoAdd a flag to StackVisitor for inlining.
Nicolas Geoffray [Wed, 6 May 2015 10:34:34 +0000 (11:34 +0100)]
Add a flag to StackVisitor for inlining.

The flag tells whether the stack walk needs to include inlined
Java frames.

This does not do anything just yet, as we're not inlining anyways.

Change-Id: I716e25094fe56fa335ca1f9a398c1bcdba478e73

9 years agoam 2a9c047d: am e2243670: am 119b21a6: Merge "[optimizing] Improve 32 bit long shift...
Roland Levillain [Mon, 11 May 2015 14:08:33 +0000 (14:08 +0000)]
am 2a9c047d: am e2243670: am 119b21a6: Merge "[optimizing] Improve 32 bit long shift by 1."

* commit '2a9c047ddc6e411df1dcd8d00ab5a701d530569f':
  [optimizing] Improve 32 bit long shift by 1.

9 years agoam e2243670: am 119b21a6: Merge "[optimizing] Improve 32 bit long shift by 1."
Roland Levillain [Mon, 11 May 2015 13:57:08 +0000 (13:57 +0000)]
am e2243670: am 119b21a6: Merge "[optimizing] Improve 32 bit long shift by 1."

* commit 'e2243670d3acae8556b47be8bbd9bae3e340541f':
  [optimizing] Improve 32 bit long shift by 1.

9 years agoam ec696e7f: am 796008a3: am 0e4c27e5: Merge "Add a parent environment to HEnvironment."
Nicolas Geoffray [Mon, 11 May 2015 13:46:48 +0000 (13:46 +0000)]
am ec696e7f: am 796008a3: am 0e4c27e5: Merge "Add a parent environment to HEnvironment."

* commit 'ec696e7fcdf1e519ad6710222975619d3ddb3e48':
  Add a parent environment to HEnvironment.

9 years agoam 119b21a6: Merge "[optimizing] Improve 32 bit long shift by 1."
Roland Levillain [Mon, 11 May 2015 13:46:34 +0000 (13:46 +0000)]
am 119b21a6: Merge "[optimizing] Improve 32 bit long shift by 1."

* commit '119b21a6dfdb09d983a9e56a837fbf5c98e57096':
  [optimizing] Improve 32 bit long shift by 1.

9 years agoMerge "[optimizing] Improve 32 bit long shift by 1."
Roland Levillain [Mon, 11 May 2015 13:37:09 +0000 (13:37 +0000)]
Merge "[optimizing] Improve 32 bit long shift by 1."

9 years agoam 796008a3: am 0e4c27e5: Merge "Add a parent environment to HEnvironment."
Nicolas Geoffray [Mon, 11 May 2015 13:33:47 +0000 (13:33 +0000)]
am 796008a3: am 0e4c27e5: Merge "Add a parent environment to HEnvironment."

* commit '796008a32b19d7ce5f49c8e2981f641ba3c28664':
  Add a parent environment to HEnvironment.

9 years agoam 0e4c27e5: Merge "Add a parent environment to HEnvironment."
Nicolas Geoffray [Mon, 11 May 2015 13:26:40 +0000 (13:26 +0000)]
am 0e4c27e5: Merge "Add a parent environment to HEnvironment."

* commit '0e4c27e555d854f00185603138a6434358d07757':
  Add a parent environment to HEnvironment.

9 years agoMerge "Add a parent environment to HEnvironment."
Nicolas Geoffray [Mon, 11 May 2015 13:18:05 +0000 (13:18 +0000)]
Merge "Add a parent environment to HEnvironment."

9 years agoAdd a parent environment to HEnvironment.
Nicolas Geoffray [Thu, 7 May 2015 10:57:35 +0000 (11:57 +0100)]
Add a parent environment to HEnvironment.

This code has no functionality change. It adds a placeholder
for chaining inlined frames.

Change-Id: I5ec57335af76ee406052345b947aad98a6a4423a

9 years ago[optimizing] Improve 32 bit long shift by 1.
Mark Mendell [Wed, 6 May 2015 01:34:03 +0000 (21:34 -0400)]
[optimizing] Improve 32 bit long shift by 1.

Also change FOO << 1 to FOO+FOO in the instruction simplifier.  This is
an architecture independent simplification, which helps 'long << 1' for
32 bit architectures.

Generate an add/adc for long << 1 in x86, in case something is generated
after the simplifier.

Add test cases for the simplification.

Change-Id: I0d512331ef13cc4ccf10c80f11c370a10ed02294
Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
9 years agoam b4fa99ea: am b4833e52: am cdeb0b5f: Merge "[optimizing] Tune some x86_64 moves"
Nicolas Geoffray [Sat, 9 May 2015 14:43:07 +0000 (14:43 +0000)]
am b4fa99ea: am b4833e52: am cdeb0b5f: Merge "[optimizing] Tune some x86_64 moves"

* commit 'b4fa99ea723393d014bab6aae25eeb78e3ed05e6':
  [optimizing] Tune some x86_64 moves

9 years agoam b4833e52: am cdeb0b5f: Merge "[optimizing] Tune some x86_64 moves"
Nicolas Geoffray [Sat, 9 May 2015 14:36:11 +0000 (14:36 +0000)]
am b4833e52: am cdeb0b5f: Merge "[optimizing] Tune some x86_64 moves"

* commit 'b4833e528a9b638b435ed5f61317ac3b4bb0a40a':
  [optimizing] Tune some x86_64 moves

9 years agoam cdeb0b5f: Merge "[optimizing] Tune some x86_64 moves"
Nicolas Geoffray [Sat, 9 May 2015 14:25:48 +0000 (14:25 +0000)]
am cdeb0b5f: Merge "[optimizing] Tune some x86_64 moves"

* commit 'cdeb0b5fede4c06488f43a212591e661d946bc78':
  [optimizing] Tune some x86_64 moves

9 years agoMerge "[optimizing] Tune some x86_64 moves"
Nicolas Geoffray [Sat, 9 May 2015 14:17:51 +0000 (14:17 +0000)]
Merge "[optimizing] Tune some x86_64 moves"

9 years agoam f93dbb45: am 56869c1f: Don\'t allow JIT to compile native methods
Mathieu Chartier [Sat, 9 May 2015 01:50:20 +0000 (01:50 +0000)]
am f93dbb45: am 56869c1f: Don\'t allow JIT to compile native methods

* commit 'f93dbb455b03a3eac151a616f72a9fa9067d7a64':
  Don't allow JIT to compile native methods

9 years agoam 56869c1f: Don\'t allow JIT to compile native methods
Mathieu Chartier [Sat, 9 May 2015 01:37:23 +0000 (01:37 +0000)]
am 56869c1f: Don\'t allow JIT to compile native methods

* commit '56869c1f6441f5ba05ee155c5d8fcf4b821e0be2':
  Don't allow JIT to compile native methods

9 years agoam 3e130a77: am c628cc9a: am 775b7b88: Merge "Don\'t allow JIT to compile native...
Mathieu Chartier [Sat, 9 May 2015 00:33:31 +0000 (00:33 +0000)]
am 3e130a77: am c628cc9a: am 775b7b88: Merge "Don\'t allow JIT to compile native methods"

* commit '3e130a77fdc701253c81c1a1602521394c026c8b':
  Don't allow JIT to compile native methods

9 years agoam c628cc9a: am 775b7b88: Merge "Don\'t allow JIT to compile native methods"
Mathieu Chartier [Sat, 9 May 2015 00:27:18 +0000 (00:27 +0000)]
am c628cc9a: am 775b7b88: Merge "Don\'t allow JIT to compile native methods"

* commit 'c628cc9a45ea2d50e95bab9084b590500c371b24':
  Don't allow JIT to compile native methods

9 years agoam 775b7b88: Merge "Don\'t allow JIT to compile native methods"
Mathieu Chartier [Sat, 9 May 2015 00:17:33 +0000 (00:17 +0000)]
am 775b7b88: Merge "Don\'t allow JIT to compile native methods"

* commit '775b7b888a13315b8b7722564c2824baabb98221':
  Don't allow JIT to compile native methods

9 years agoDon't allow JIT to compile native methods
Mathieu Chartier [Sat, 9 May 2015 00:05:01 +0000 (17:05 -0700)]
Don't allow JIT to compile native methods

Change-Id: I12722309ba52c430e23ab862b29f7a48383f00d2

9 years agoMerge "Don't allow JIT to compile native methods"
Mathieu Chartier [Sat, 9 May 2015 00:07:34 +0000 (00:07 +0000)]
Merge "Don't allow JIT to compile native methods"

9 years agoDon't allow JIT to compile native methods
Mathieu Chartier [Sat, 9 May 2015 00:05:01 +0000 (17:05 -0700)]
Don't allow JIT to compile native methods

Change-Id: I12722309ba52c430e23ab862b29f7a48383f00d2

9 years agoam 623f0882: am dc5b620f: am 591d8e4e: Merge "Add stub_test implementation for mips...
Andreas Gampe [Fri, 8 May 2015 23:55:40 +0000 (23:55 +0000)]
am 623f0882: am dc5b620f: am 591d8e4e: Merge "Add stub_test implementation for mips & mips64"

* commit '623f0882c0f0f756512aa010060960e571751bdf':
  Add stub_test implementation for mips & mips64

9 years agoam 11f663fc: am 05c67f03: am e20df2a6: Merge "Fix stub_test for Mips64"
Andreas Gampe [Fri, 8 May 2015 23:55:39 +0000 (23:55 +0000)]
am 11f663fc: am 05c67f03: am e20df2a6: Merge "Fix stub_test for Mips64"

* commit '11f663fc3c7737cb99399b2de2ea219de9b22034':
  Fix stub_test for Mips64

9 years agoam 74388c53: am 8515f6a5: am 0172c5b0: Merge "Check IsReferenceVReg during deopt"
Mathieu Chartier [Fri, 8 May 2015 23:55:38 +0000 (23:55 +0000)]
am 74388c53: am 8515f6a5: am 0172c5b0: Merge "Check IsReferenceVReg during deopt"

* commit '74388c530621556f93530d7b0e334bd5ae904f3b':
  Check IsReferenceVReg during deopt

9 years agoam dc5b620f: am 591d8e4e: Merge "Add stub_test implementation for mips & mips64"
Andreas Gampe [Fri, 8 May 2015 23:42:59 +0000 (23:42 +0000)]
am dc5b620f: am 591d8e4e: Merge "Add stub_test implementation for mips & mips64"

* commit 'dc5b620fa1ad60b81c8fdcf81bff058fc1e0aab6':
  Add stub_test implementation for mips & mips64

9 years agoam 05c67f03: am e20df2a6: Merge "Fix stub_test for Mips64"
Andreas Gampe [Fri, 8 May 2015 23:42:57 +0000 (23:42 +0000)]
am 05c67f03: am e20df2a6: Merge "Fix stub_test for Mips64"

* commit '05c67f03fe14cbc8cff58353fd35984b84225df5':
  Fix stub_test for Mips64

9 years agoam 8515f6a5: am 0172c5b0: Merge "Check IsReferenceVReg during deopt"
Mathieu Chartier [Fri, 8 May 2015 23:42:56 +0000 (23:42 +0000)]
am 8515f6a5: am 0172c5b0: Merge "Check IsReferenceVReg during deopt"

* commit '8515f6a55c7f010cde743c8ace5c218173c0dc9b':
  Check IsReferenceVReg during deopt

9 years agoam 591d8e4e: Merge "Add stub_test implementation for mips & mips64"
Andreas Gampe [Fri, 8 May 2015 23:31:20 +0000 (23:31 +0000)]
am 591d8e4e: Merge "Add stub_test implementation for mips & mips64"

* commit '591d8e4e6a171c2cc7417bec55f48858ffc1e677':
  Add stub_test implementation for mips & mips64

9 years agoam e20df2a6: Merge "Fix stub_test for Mips64"
Andreas Gampe [Fri, 8 May 2015 23:31:19 +0000 (23:31 +0000)]
am e20df2a6: Merge "Fix stub_test for Mips64"

* commit 'e20df2a6a48ca4e35289459354dc25247aad7406':
  Fix stub_test for Mips64

9 years agoam 0172c5b0: Merge "Check IsReferenceVReg during deopt"
Mathieu Chartier [Fri, 8 May 2015 23:31:18 +0000 (23:31 +0000)]
am 0172c5b0: Merge "Check IsReferenceVReg during deopt"

* commit '0172c5b0a4baae0c1eb05555dabf56bc4c08f5b0':
  Check IsReferenceVReg during deopt

9 years agoMerge "Add stub_test implementation for mips & mips64"
Andreas Gampe [Fri, 8 May 2015 23:22:24 +0000 (23:22 +0000)]
Merge "Add stub_test implementation for mips & mips64"

9 years agoMerge "Fix stub_test for Mips64"
Andreas Gampe [Fri, 8 May 2015 23:21:03 +0000 (23:21 +0000)]
Merge "Fix stub_test for Mips64"

9 years agoFix stub_test for Mips64
Goran Jakovljevic [Thu, 23 Apr 2015 13:27:23 +0000 (15:27 +0200)]
Fix stub_test for Mips64

Force ENTRY macro to load GP. Instead .cpload (used for o32 abi,
not working for n64) use .cpsetup to set up GP and save previous
GP value.

Fix expectations in GetSet32Static.

Change-Id: Ie97e32fa2fee7a6e8bae6bc36e78976b8be62b79

9 years agoMerge "Check IsReferenceVReg during deopt"
Mathieu Chartier [Fri, 8 May 2015 23:19:41 +0000 (23:19 +0000)]
Merge "Check IsReferenceVReg during deopt"

9 years agoam e4102105: am b39cc9d6: Merge "Check IsReferenceVReg during deopt" into mnc-dev
Mathieu Chartier [Fri, 8 May 2015 23:00:21 +0000 (23:00 +0000)]
am e4102105: am b39cc9d6: Merge "Check IsReferenceVReg during deopt" into mnc-dev

* commit 'e4102105b0293662ec4a9b1abd1fcd955e588e30':
  Check IsReferenceVReg during deopt