OSDN Git Service

android-x86/art.git
9 years agoam e4541b66: (-s ours) am d9ce7fc1: ART: Fix swap space free list
Andreas Gampe [Fri, 19 Dec 2014 17:05:17 +0000 (17:05 +0000)]
am e4541b66: (-s ours) am d9ce7fc1: ART: Fix swap space free list

* commit 'e4541b662edd6fa8755665261eaf83430437a1aa':
  ART: Fix swap space free list

9 years agoam d9ce7fc1: ART: Fix swap space free list
Andreas Gampe [Fri, 19 Dec 2014 16:46:00 +0000 (16:46 +0000)]
am d9ce7fc1: ART: Fix swap space free list

* commit 'd9ce7fc19b061be7745d8d8a32bc954a0c62d326':
  ART: Fix swap space free list

9 years agoam 7bf97f90: am db75f3c7: Merge "Clean up dead loops before suspend check elimination."
Vladimir Marko [Fri, 19 Dec 2014 16:29:38 +0000 (16:29 +0000)]
am 7bf97f90: am db75f3c7: Merge "Clean up dead loops before suspend check elimination."

* commit '7bf97f90c3024d6b0d6cd5b402601a6cadda358a':
  Clean up dead loops before suspend check elimination.

9 years agoam db75f3c7: Merge "Clean up dead loops before suspend check elimination."
Vladimir Marko [Fri, 19 Dec 2014 16:24:13 +0000 (16:24 +0000)]
am db75f3c7: Merge "Clean up dead loops before suspend check elimination."

* commit 'db75f3c7999395eeeded417e7db06194bf2dc608':
  Clean up dead loops before suspend check elimination.

9 years agoMerge "Clean up dead loops before suspend check elimination."
Vladimir Marko [Fri, 19 Dec 2014 16:21:08 +0000 (16:21 +0000)]
Merge "Clean up dead loops before suspend check elimination."

9 years agoam 6507eeb4: am 202eaaf2: Merge "Clean up post-opt passes, perform only those we...
Vladimir Marko [Fri, 19 Dec 2014 15:47:50 +0000 (15:47 +0000)]
am 6507eeb4: am 202eaaf2: Merge "Clean up post-opt passes, perform only those we need."

* commit '6507eeb4bce520294b72f6cb2f440d90c76acdbe':
  Clean up post-opt passes, perform only those we need.

9 years agoam 202eaaf2: Merge "Clean up post-opt passes, perform only those we need."
Vladimir Marko [Fri, 19 Dec 2014 15:42:16 +0000 (15:42 +0000)]
am 202eaaf2: Merge "Clean up post-opt passes, perform only those we need."

* commit '202eaaf26ac4ec67fab479e181dbd2507737ff65':
  Clean up post-opt passes, perform only those we need.

9 years agoMerge "Clean up post-opt passes, perform only those we need."
Vladimir Marko [Fri, 19 Dec 2014 15:34:09 +0000 (15:34 +0000)]
Merge "Clean up post-opt passes, perform only those we need."

9 years agoClean up dead loops before suspend check elimination.
Vladimir Marko [Fri, 19 Dec 2014 10:29:51 +0000 (10:29 +0000)]
Clean up dead loops before suspend check elimination.

Get rid of BasicBlock::KillUnreachable() and just Kill()
unreachable blocks from the DFS order calculation.

Bug: 18718277
Change-Id: Icaf7b9c2320530e950f87e1e2e2bd1fa5f53cb98

9 years agoam 435dea07: am c146d498: Merge "Clean up MIRGraph::CanThrow()."
Vladimir Marko [Fri, 19 Dec 2014 14:43:15 +0000 (14:43 +0000)]
am 435dea07: am c146d498: Merge "Clean up MIRGraph::CanThrow()."

* commit '435dea0748bdff504e55dbb0d66d9703dd227781':
  Clean up MIRGraph::CanThrow().

9 years agoam c146d498: Merge "Clean up MIRGraph::CanThrow()."
Vladimir Marko [Fri, 19 Dec 2014 14:37:44 +0000 (14:37 +0000)]
am c146d498: Merge "Clean up MIRGraph::CanThrow()."

* commit 'c146d498a184243d9100e94861f519a7378bfa68':
  Clean up MIRGraph::CanThrow().

9 years agoMerge "Clean up MIRGraph::CanThrow()."
Vladimir Marko [Fri, 19 Dec 2014 14:32:07 +0000 (14:32 +0000)]
Merge "Clean up MIRGraph::CanThrow()."

9 years agoClean up MIRGraph::CanThrow().
Vladimir Marko [Thu, 18 Dec 2014 17:01:02 +0000 (17:01 +0000)]
Clean up MIRGraph::CanThrow().

Merge with the code from CombineBlocks().

Change-Id: I73c71286acba1b6042f85f0bd19c525450ce9c05

9 years agoClean up post-opt passes, perform only those we need.
Vladimir Marko [Thu, 18 Dec 2014 17:05:58 +0000 (17:05 +0000)]
Clean up post-opt passes, perform only those we need.

Change-Id: If802074d780d91151d236ef52236b6f33ca47258

9 years agoam a11de882: am 363bd99a: Merge "Fixed CanBeMoved for field access"
Calin Juravle [Fri, 19 Dec 2014 11:03:37 +0000 (11:03 +0000)]
am a11de882: am 363bd99a: Merge "Fixed CanBeMoved for field access"

* commit 'a11de882f2a43b5749223d2430ce5d4189661394':
  Fixed CanBeMoved for field access

9 years agoam 363bd99a: Merge "Fixed CanBeMoved for field access"
Calin Juravle [Fri, 19 Dec 2014 10:57:53 +0000 (10:57 +0000)]
am 363bd99a: Merge "Fixed CanBeMoved for field access"

* commit '363bd99a72eba9be223e45e97d5c46dda2b81580':
  Fixed CanBeMoved for field access

9 years agoMerge "Fixed CanBeMoved for field access"
Calin Juravle [Fri, 19 Dec 2014 10:51:16 +0000 (10:51 +0000)]
Merge "Fixed CanBeMoved for field access"

9 years agoFixed CanBeMoved for field access
Calin Juravle [Fri, 19 Dec 2014 10:50:19 +0000 (10:50 +0000)]
Fixed CanBeMoved for field access

Change-Id: I36a1f4a468f3701e0608d71f64d64049c54aec18

9 years agoam fcd013e5: am 86632a79: Merge "[optimizing compiler] Add support for volatile"
Calin Juravle [Fri, 19 Dec 2014 10:21:04 +0000 (10:21 +0000)]
am fcd013e5: am 86632a79: Merge "[optimizing compiler] Add support for volatile"

* commit 'fcd013e515f13fef9881837b0084b89149ea6e6f':
  [optimizing compiler] Add support for volatile

9 years agoam 86632a79: Merge "[optimizing compiler] Add support for volatile"
Calin Juravle [Fri, 19 Dec 2014 10:15:10 +0000 (10:15 +0000)]
am 86632a79: Merge "[optimizing compiler] Add support for volatile"

* commit '86632a79ae3887bc07c7c07642c7044369837d90':
  [optimizing compiler] Add support for volatile

9 years agoMerge "[optimizing compiler] Add support for volatile"
Calin Juravle [Fri, 19 Dec 2014 10:11:25 +0000 (10:11 +0000)]
Merge "[optimizing compiler] Add support for volatile"

9 years ago[optimizing compiler] Add support for volatile
Calin Juravle [Tue, 16 Dec 2014 17:02:57 +0000 (17:02 +0000)]
[optimizing compiler] Add support for volatile

- for backends: arm, x86, x86_64
- added necessary instructions to assemblies
- clean up code gen for field set/get
- fixed InstructionDataEquals for some instructions
- fixed comments in compiler_enums

* 003-opcode test verifies basic volatile functionality

Change-Id: I144393efa312dfb2c332cb84056b00edffee338a

9 years agoART: Fix swap space free list
Andreas Gampe [Fri, 19 Dec 2014 08:14:38 +0000 (00:14 -0800)]
ART: Fix swap space free list

You should look for the element's size, not the freed size, when
coalescing nodes.

Bug: 18809642
Change-Id: I0c4396d52ef68f392f1e8c76a57e3fb5587b77fb

9 years agoam e3122d36: (-s ours) am 62746d8d: ART: Swap-space in the compiler
Andreas Gampe [Fri, 19 Dec 2014 04:08:05 +0000 (04:08 +0000)]
am e3122d36: (-s ours) am 62746d8d: ART: Swap-space in the compiler

* commit 'e3122d3612ebc76ac3e9c501f3c913a6606335e9':
  ART: Swap-space in the compiler

9 years agoam 14b491b2: am 6d1a047b: Merge "Only dump suspend all histogram if we have samples"
Mathieu Chartier [Fri, 19 Dec 2014 03:52:29 +0000 (03:52 +0000)]
am 14b491b2: am 6d1a047b: Merge "Only dump suspend all histogram if we have samples"

* commit '14b491b2f19ad45cab77ace89df24a320e427ae6':
  Only dump suspend all histogram if we have samples

9 years agoam 2d51b09c: am 16b10882: Merge "ART: Fix oatdump"
Andreas Gampe [Fri, 19 Dec 2014 03:52:27 +0000 (03:52 +0000)]
am 2d51b09c: am 16b10882: Merge "ART: Fix oatdump"

* commit '2d51b09c524a56b31cbb8a6f6f30e31992378e67':
  ART: Fix oatdump

9 years agoam 6d1a047b: Merge "Only dump suspend all histogram if we have samples"
Mathieu Chartier [Fri, 19 Dec 2014 03:39:23 +0000 (03:39 +0000)]
am 6d1a047b: Merge "Only dump suspend all histogram if we have samples"

* commit '6d1a047b4b3f9707d4ee1cc19e99717ee021ef48':
  Only dump suspend all histogram if we have samples

9 years agoam 16b10882: Merge "ART: Fix oatdump"
Andreas Gampe [Fri, 19 Dec 2014 03:39:21 +0000 (03:39 +0000)]
am 16b10882: Merge "ART: Fix oatdump"

* commit '16b10882f4ce9e5822b278ef0b0adf83afa1b334':
  ART: Fix oatdump

9 years agoam 62746d8d: ART: Swap-space in the compiler
Andreas Gampe [Fri, 19 Dec 2014 03:33:09 +0000 (03:33 +0000)]
am 62746d8d: ART: Swap-space in the compiler

* commit '62746d8d9c4400e4764f162b22bfb1a32be287a9':
  ART: Swap-space in the compiler

9 years agoMerge "Only dump suspend all histogram if we have samples"
Mathieu Chartier [Fri, 19 Dec 2014 02:32:37 +0000 (02:32 +0000)]
Merge "Only dump suspend all histogram if we have samples"

9 years agoOnly dump suspend all histogram if we have samples
Mathieu Chartier [Fri, 19 Dec 2014 02:24:39 +0000 (18:24 -0800)]
Only dump suspend all histogram if we have samples

Helps fix gcstress ThreadStress.

Bug: 18576985
Change-Id: Ibebc0fed8a21e7b149f4b6e5154fb86deddcc68f

9 years agoMerge "ART: Fix oatdump"
Andreas Gampe [Fri, 19 Dec 2014 01:43:30 +0000 (01:43 +0000)]
Merge "ART: Fix oatdump"

9 years agoART: Swap-space in the compiler
Andreas Gampe [Tue, 9 Dec 2014 00:59:43 +0000 (16:59 -0800)]
ART: Swap-space in the compiler

Introduce a swap-space and corresponding allocator to transparently
switch native allocations to memory backed by a file.

Bug: 18596910
Change-Id: I131448f3907115054a592af73db86d2b9257ea33

9 years agoam 464a49c3: am 193c7a94: Merge "Fix Thumb2 Emit16BitAddSub() to keep full immediate."
Vladimir Marko [Thu, 18 Dec 2014 22:10:55 +0000 (22:10 +0000)]
am 464a49c3: am 193c7a94: Merge "Fix Thumb2 Emit16BitAddSub() to keep full immediate."

* commit '464a49c3f3e1937b1d0fa6abbc1b2d87eac8b8da':
  Fix Thumb2 Emit16BitAddSub() to keep full immediate.

9 years agoam 05e99cb5: am 6048838a: Merge "Revert "Don\'t block quick callee saved registers...
Nicolas Geoffray [Thu, 18 Dec 2014 21:50:58 +0000 (21:50 +0000)]
am 05e99cb5: am 6048838a: Merge "Revert "Don\'t block quick callee saved registers for optimizing.""

* commit '05e99cb5989c928b45f1fdcdf5dd71ec5415cc68':
  Revert "Don't block quick callee saved registers for optimizing."

9 years agoam 6e58cacf: am ca747ea9: Merge "Fix Thumb2 assembler to emit 16-bit add/sub SP,...
Vladimir Marko [Thu, 18 Dec 2014 21:50:33 +0000 (21:50 +0000)]
am 6e58cacf: am ca747ea9: Merge "Fix Thumb2 assembler to emit 16-bit add/sub SP, #imm."

* commit '6e58cacfd606b38647f81e61daa818a473f8c946':
  Fix Thumb2 assembler to emit 16-bit add/sub SP, #imm.

9 years agoam dff1fc2d: am aa94a95d: Merge "Explicitly compile core.oat with the Quick compiler."
Nicolas Geoffray [Thu, 18 Dec 2014 21:50:31 +0000 (21:50 +0000)]
am dff1fc2d: am aa94a95d: Merge "Explicitly compile core.oat with the Quick compiler."

* commit 'dff1fc2da1b9d856bd326b51042e8fa649901111':
  Explicitly compile core.oat with the Quick compiler.

9 years agoam b1ed192d: am e408f8c6: Merge "Don\'t block quick callee saved registers for optimi...
Nicolas Geoffray [Thu, 18 Dec 2014 21:50:30 +0000 (21:50 +0000)]
am b1ed192d: am e408f8c6: Merge "Don\'t block quick callee saved registers for optimizing."

* commit 'b1ed192dbd0cc83b18a2255b4e0b533c69da17b7':
  Don't block quick callee saved registers for optimizing.

9 years agoam cadfa1ac: am 452a8bec: Merge "When inlining, also look whether we can allocate...
Nicolas Geoffray [Thu, 18 Dec 2014 21:50:28 +0000 (21:50 +0000)]
am cadfa1ac: am 452a8bec: Merge "When inlining, also look whether we can allocate registers."

* commit 'cadfa1ac85c238101a5e01d96702dc0c79678da5':
  When inlining, also look whether we can allocate registers.

9 years agoam 8bd39ca5: am fcd3f33d: Merge "Use correct handle scope offset from StackVisitor"
Sebastien Hertz [Thu, 18 Dec 2014 21:50:22 +0000 (21:50 +0000)]
am 8bd39ca5: am fcd3f33d: Merge "Use correct handle scope offset from StackVisitor"

* commit '8bd39ca574c4427498b56948c9500d01aa59e5a4':
  Use correct handle scope offset from StackVisitor

9 years agoam 6a48b85b: am 58a1c07b: Merge "Cleanup JDWP event matching"
Sebastien Hertz [Thu, 18 Dec 2014 21:50:20 +0000 (21:50 +0000)]
am 6a48b85b: am 58a1c07b: Merge "Cleanup JDWP event matching"

* commit '6a48b85b0ed6094230d69fb3f36a8b9fdf66b5bd':
  Cleanup JDWP event matching

9 years agoam d8af5ce6: am 7c378e4b: Merge "Fix a race condition during the rosalloc verification."
Hiroshi Yamauchi [Thu, 18 Dec 2014 21:50:16 +0000 (21:50 +0000)]
am d8af5ce6: am 7c378e4b: Merge "Fix a race condition during the rosalloc verification."

* commit 'd8af5ce625126fc2ad297e81c36f88088d6c20fd':
  Fix a race condition during the rosalloc verification.

9 years agoam 8ba6f851: am bf7b41ff: Merge "Fix concurrent GC ergonomics"
Mathieu Chartier [Thu, 18 Dec 2014 21:50:13 +0000 (21:50 +0000)]
am 8ba6f851: am bf7b41ff: Merge "Fix concurrent GC ergonomics"

* commit '8ba6f851278edce46a6e834b1a6d8f4cdf1eadcf':
  Fix concurrent GC ergonomics

9 years agoam a1c6288c: am 55b752a8: Merge "ART: Punt to the interpreter for VerifiedMethod...
Andreas Gampe [Thu, 18 Dec 2014 21:50:12 +0000 (21:50 +0000)]
am a1c6288c: am 55b752a8: Merge "ART: Punt to the interpreter for VerifiedMethod errors"

* commit 'a1c6288cbffdc4564b39cfea91f5e172f7b141a1':
  ART: Punt to the interpreter for VerifiedMethod errors

9 years agoam 193c7a94: Merge "Fix Thumb2 Emit16BitAddSub() to keep full immediate."
Vladimir Marko [Thu, 18 Dec 2014 21:37:14 +0000 (21:37 +0000)]
am 193c7a94: Merge "Fix Thumb2 Emit16BitAddSub() to keep full immediate."

* commit '193c7a94822f765b0b6b0cecd54c9f08dfd26425':
  Fix Thumb2 Emit16BitAddSub() to keep full immediate.

9 years agoMerge "Fix Thumb2 Emit16BitAddSub() to keep full immediate."
Vladimir Marko [Thu, 18 Dec 2014 20:02:38 +0000 (20:02 +0000)]
Merge "Fix Thumb2 Emit16BitAddSub() to keep full immediate."

9 years agoFix Thumb2 Emit16BitAddSub() to keep full immediate.
Vladimir Marko [Thu, 18 Dec 2014 19:56:49 +0000 (19:56 +0000)]
Fix Thumb2 Emit16BitAddSub() to keep full immediate.

Change-Id: I2d4b44752150669119ead16e99f7d7a945d2e88f

9 years agoam 6048838a: Merge "Revert "Don\'t block quick callee saved registers for optimizing.""
Nicolas Geoffray [Thu, 18 Dec 2014 17:53:10 +0000 (17:53 +0000)]
am 6048838a: Merge "Revert "Don\'t block quick callee saved registers for optimizing.""

* commit '6048838af46f41c08c4132ba242040dc49bd5f23':
  Revert "Don't block quick callee saved registers for optimizing."

9 years agoMerge "Revert "Don't block quick callee saved registers for optimizing.""
Nicolas Geoffray [Thu, 18 Dec 2014 17:46:12 +0000 (17:46 +0000)]
Merge "Revert "Don't block quick callee saved registers for optimizing.""

9 years agoRevert "Don't block quick callee saved registers for optimizing."
Nicolas Geoffray [Thu, 18 Dec 2014 17:45:56 +0000 (17:45 +0000)]
Revert "Don't block quick callee saved registers for optimizing."

X64 has one libcore test failing, and codegen_test on
arm is failing.

This reverts commit 6004796d6c630696127df2494dcd4f30d1367a34.

Change-Id: I20e00431fa18e11ce4c0cb6fffa91977fa8e9b4f

9 years agoam ca747ea9: Merge "Fix Thumb2 assembler to emit 16-bit add/sub SP, #imm."
Vladimir Marko [Thu, 18 Dec 2014 15:58:36 +0000 (15:58 +0000)]
am ca747ea9: Merge "Fix Thumb2 assembler to emit 16-bit add/sub SP, #imm."

* commit 'ca747ea9951188dbc6f5217d49aca34aeadcc2a6':
  Fix Thumb2 assembler to emit 16-bit add/sub SP, #imm.

9 years agoam aa94a95d: Merge "Explicitly compile core.oat with the Quick compiler."
Nicolas Geoffray [Thu, 18 Dec 2014 15:53:26 +0000 (15:53 +0000)]
am aa94a95d: Merge "Explicitly compile core.oat with the Quick compiler."

* commit 'aa94a95d6174014f0ee89d4ff49bd769f44ac636':
  Explicitly compile core.oat with the Quick compiler.

9 years agoam e408f8c6: Merge "Don\'t block quick callee saved registers for optimizing."
Nicolas Geoffray [Thu, 18 Dec 2014 15:53:24 +0000 (15:53 +0000)]
am e408f8c6: Merge "Don\'t block quick callee saved registers for optimizing."

* commit 'e408f8c6ac0ee80543ee1a695695e8917e45eaf3':
  Don't block quick callee saved registers for optimizing.

9 years agoMerge "Fix Thumb2 assembler to emit 16-bit add/sub SP, #imm."
Vladimir Marko [Thu, 18 Dec 2014 15:53:02 +0000 (15:53 +0000)]
Merge "Fix Thumb2 assembler to emit 16-bit add/sub SP, #imm."

9 years agoMerge "Explicitly compile core.oat with the Quick compiler."
Nicolas Geoffray [Thu, 18 Dec 2014 15:50:20 +0000 (15:50 +0000)]
Merge "Explicitly compile core.oat with the Quick compiler."

9 years agoMerge "Don't block quick callee saved registers for optimizing."
Nicolas Geoffray [Thu, 18 Dec 2014 15:49:52 +0000 (15:49 +0000)]
Merge "Don't block quick callee saved registers for optimizing."

9 years agoDon't block quick callee saved registers for optimizing.
Nicolas Geoffray [Mon, 15 Dec 2014 00:01:18 +0000 (00:01 +0000)]
Don't block quick callee saved registers for optimizing.

This change builds on:
https://android-review.googlesource.com/#/c/118983/

- Also fix x86_64 assembler bug triggered by this change.
- Fix (and improve) x86's backend byte register usage.
- Fix a bug in baseline register allocator: a fixed
  out register must prevent inputs from allocating it.

Change-Id: I4883862e29b4e4b6470f1823cf7eab7e7863d8ad

9 years agoFix Thumb2 assembler to emit 16-bit add/sub SP, #imm.
Vladimir Marko [Tue, 16 Dec 2014 17:41:59 +0000 (17:41 +0000)]
Fix Thumb2 assembler to emit 16-bit add/sub SP, #imm.

Also allow 16-bit add rN, SP, #imm.

Change-Id: I50100ad0b0e19a1c855a2319615e86d7a2b66a69

9 years agoam 452a8bec: Merge "When inlining, also look whether we can allocate registers."
Nicolas Geoffray [Thu, 18 Dec 2014 13:04:09 +0000 (13:04 +0000)]
am 452a8bec: Merge "When inlining, also look whether we can allocate registers."

* commit '452a8bec86e7795c99f774e81c02f12f1b1e502f':
  When inlining, also look whether we can allocate registers.

9 years agoMerge "When inlining, also look whether we can allocate registers."
Nicolas Geoffray [Thu, 18 Dec 2014 12:59:03 +0000 (12:59 +0000)]
Merge "When inlining, also look whether we can allocate registers."

9 years agoWhen inlining, also look whether we can allocate registers.
Nicolas Geoffray [Wed, 17 Dec 2014 23:21:58 +0000 (23:21 +0000)]
When inlining, also look whether we can allocate registers.

arm and x86 currently don't allocate registers for floating point
and long operations, so we can't inline methods with these operations.

Change-Id: I11e4b97ddbe90f4978f2abe1081fb0f849acb811

9 years agoam fcd3f33d: Merge "Use correct handle scope offset from StackVisitor"
Sebastien Hertz [Thu, 18 Dec 2014 08:48:51 +0000 (08:48 +0000)]
am fcd3f33d: Merge "Use correct handle scope offset from StackVisitor"

* commit 'fcd3f33dde47ce13305a7dfb5a665bf832535ae4':
  Use correct handle scope offset from StackVisitor

9 years agoMerge "Use correct handle scope offset from StackVisitor"
Sebastien Hertz [Thu, 18 Dec 2014 08:43:14 +0000 (08:43 +0000)]
Merge "Use correct handle scope offset from StackVisitor"

9 years agoUse correct handle scope offset from StackVisitor
Sebastien Hertz [Wed, 17 Dec 2014 19:02:50 +0000 (20:02 +0100)]
Use correct handle scope offset from StackVisitor

Bug: 18785293
Change-Id: I10e144cffac00978e3c84d43a30caccd61559b27

9 years agoam 58a1c07b: Merge "Cleanup JDWP event matching"
Sebastien Hertz [Thu, 18 Dec 2014 08:20:37 +0000 (08:20 +0000)]
am 58a1c07b: Merge "Cleanup JDWP event matching"

* commit '58a1c07b7f01ed9b85fb89bfd4dab7ddd138cfcd':
  Cleanup JDWP event matching

9 years agoMerge "Cleanup JDWP event matching"
Sebastien Hertz [Thu, 18 Dec 2014 08:16:26 +0000 (08:16 +0000)]
Merge "Cleanup JDWP event matching"

9 years agoam 48713ecd: am 15ff1a86: Merge "JDWP: fix setting multiple breakpoints in the same...
Sebastien Hertz [Thu, 18 Dec 2014 07:08:57 +0000 (07:08 +0000)]
am 48713ecd: am 15ff1a86: Merge "JDWP: fix setting multiple breakpoints in the same method" into lmp-mr1-dev

* commit '48713ecd519b1c0ba9009eb50e87e04428922b8a':
  JDWP: fix setting multiple breakpoints in the same method

9 years agoam 15ff1a86: Merge "JDWP: fix setting multiple breakpoints in the same method" into...
Sebastien Hertz [Thu, 18 Dec 2014 07:03:29 +0000 (07:03 +0000)]
am 15ff1a86: Merge "JDWP: fix setting multiple breakpoints in the same method" into lmp-mr1-dev

* commit '15ff1a8642fbbe3fb29273f35005ccc7524bb942':
  JDWP: fix setting multiple breakpoints in the same method

9 years agoMerge "JDWP: fix setting multiple breakpoints in the same method" into lmp-mr1-dev
Sebastien Hertz [Thu, 18 Dec 2014 06:57:03 +0000 (06:57 +0000)]
Merge "JDWP: fix setting multiple breakpoints in the same method" into lmp-mr1-dev

9 years agoam 7c378e4b: Merge "Fix a race condition during the rosalloc verification."
Hiroshi Yamauchi [Thu, 18 Dec 2014 05:39:39 +0000 (05:39 +0000)]
am 7c378e4b: Merge "Fix a race condition during the rosalloc verification."

* commit '7c378e4bc3aa6928f48d235e88e652e8b82beef4':
  Fix a race condition during the rosalloc verification.

9 years agoMerge "Fix a race condition during the rosalloc verification."
Hiroshi Yamauchi [Thu, 18 Dec 2014 05:34:54 +0000 (05:34 +0000)]
Merge "Fix a race condition during the rosalloc verification."

9 years agoART: Fix oatdump
Andreas Gampe [Thu, 18 Dec 2014 04:40:11 +0000 (20:40 -0800)]
ART: Fix oatdump

Refactor and modify cmdline.h to allow oatdump to run without a
Runtime.

Bug: 18789891
Change-Id: I1d7a1585e3672d04e58dbac9a4d4bd835c1c9143

9 years agoam bf7b41ff: Merge "Fix concurrent GC ergonomics"
Mathieu Chartier [Thu, 18 Dec 2014 03:57:08 +0000 (03:57 +0000)]
am bf7b41ff: Merge "Fix concurrent GC ergonomics"

* commit 'bf7b41ff04e5cf70660b50f7b7f2c14d94b8bf6d':
  Fix concurrent GC ergonomics

9 years agoMerge "Fix concurrent GC ergonomics"
Mathieu Chartier [Thu, 18 Dec 2014 03:51:42 +0000 (03:51 +0000)]
Merge "Fix concurrent GC ergonomics"

9 years agoFix a race condition during the rosalloc verification.
Hiroshi Yamauchi [Wed, 17 Dec 2014 23:49:56 +0000 (15:49 -0800)]
Fix a race condition during the rosalloc verification.

Since an exiting thread could revoke its thread-local runs without
holding the mutator lock, when rosalloc verification is running at a
pause, the thread could concurrently modify runs and cause a race
condition/verification check failure.

Now an exiting thread acquires the mutator lock when it revokes its
thread-local runs, which should avoid the race condition.

Bug: 18734151
Bug: 18577084
Change-Id: Ic8af558b96dff6fb6f5ace65351e2824a6ff4629

9 years agoam 55b752a8: Merge "ART: Punt to the interpreter for VerifiedMethod errors"
Andreas Gampe [Thu, 18 Dec 2014 03:02:28 +0000 (03:02 +0000)]
am 55b752a8: Merge "ART: Punt to the interpreter for VerifiedMethod errors"

* commit '55b752a817a08be46b167e07d7fee3d20a8e6a9c':
  ART: Punt to the interpreter for VerifiedMethod errors

9 years agoam bc2a8456: (-s ours) am f535c69f: ART: Punt to the interpreter for VerifiedMethod...
Andreas Gampe [Thu, 18 Dec 2014 03:00:32 +0000 (03:00 +0000)]
am bc2a8456: (-s ours) am f535c69f: ART: Punt to the interpreter for VerifiedMethod errors

* commit 'bc2a8456af6a7072292436ea76ba8d165c2bffc4':
  ART: Punt to the interpreter for VerifiedMethod errors

9 years agoMerge "ART: Punt to the interpreter for VerifiedMethod errors"
Andreas Gampe [Thu, 18 Dec 2014 02:57:43 +0000 (02:57 +0000)]
Merge "ART: Punt to the interpreter for VerifiedMethod errors"

9 years agoART: Punt to the interpreter for VerifiedMethod errors
Andreas Gampe [Wed, 17 Dec 2014 22:35:46 +0000 (14:35 -0800)]
ART: Punt to the interpreter for VerifiedMethod errors

In case that the GC map can't be created (because of size restrictions),
do not fail the class. Instead punt to the interpreter.

Bug: 17791183

(cherry picked from commit f535c69f115c61ffadca1bd2706244d0aa30f9aa)

Change-Id: I348bb306dbfc85c235fa93c0c527fba6627551fe

9 years agoam f535c69f: ART: Punt to the interpreter for VerifiedMethod errors
Andreas Gampe [Thu, 18 Dec 2014 02:47:25 +0000 (02:47 +0000)]
am f535c69f: ART: Punt to the interpreter for VerifiedMethod errors

* commit 'f535c69f115c61ffadca1bd2706244d0aa30f9aa':
  ART: Punt to the interpreter for VerifiedMethod errors

9 years agoFix concurrent GC ergonomics
Mathieu Chartier [Wed, 17 Dec 2014 02:49:31 +0000 (18:49 -0800)]
Fix concurrent GC ergonomics

Fixed a race with the gc_request_pending_ boolean which would cause
two concurrent GCs to start in a row in most cases. This broke sticky
CMS ergonomics since the second GC was a sticky CMS which started way
too early resulting in low throughput. Since the throughput was low,
it switch to partial / full for the next iteration.

The race happened as follows, allocating thread would request
concurrent GC which woke up the daemon thread. The daemon thread
cleared the gc_request_pending_ boolean, but before we set the
concurrent_start_bytes_ to max in to prevent more request, the
allocating thread would call RequestConcurrentGC again. This caused
the next WaitForConcurrentGCRequest to return right away and a
concurrent GC to occur earlier than necessary.

Changed the allocation rate ergonomics to use allocation rate
during the GC instead of allocation rate inbetween GCs, this is
better since the allocation rate may become slower if the GC steals
mutator time, resulting in concurrent GCs starting a bit earlier
than they need to.

Fixed a bug in GrowForUtilization where we didn't use the adjusted
max_free when we shrank down the heap, this caused the sticky CMS to
occasionally shrink the heap more than necessary.

EvaluateAndApplyChanges:
Before: ~12.6s GC time
After: ~7.75s GC time

Change-Id: I354bc825b3c44ccfbfe867af0d437b17fe1fe022

9 years agoam 0e079d93: am a6f5fd0e: Merge "Add thread suspend histogram"
Mathieu Chartier [Thu, 18 Dec 2014 00:28:36 +0000 (00:28 +0000)]
am 0e079d93: am a6f5fd0e: Merge "Add thread suspend histogram"

* commit '0e079d93333fe116ec8a1887eaf01805ab428b57':
  Add thread suspend histogram

9 years agoART: Punt to the interpreter for VerifiedMethod errors
Andreas Gampe [Wed, 17 Dec 2014 22:35:46 +0000 (14:35 -0800)]
ART: Punt to the interpreter for VerifiedMethod errors

In case that the GC map can't be created (because of size restrictions),
do not fail the class. Instead punt to the interpreter.

Bug: 17791183
Change-Id: I348bb306dbfc85c235fa93c0c527fba6627551fe

9 years agoam a6f5fd0e: Merge "Add thread suspend histogram"
Mathieu Chartier [Thu, 18 Dec 2014 00:22:14 +0000 (00:22 +0000)]
am a6f5fd0e: Merge "Add thread suspend histogram"

* commit 'a6f5fd0e0cbe8873c802c34569dc02a4fe31b519':
  Add thread suspend histogram

9 years agoMerge "Add thread suspend histogram"
Mathieu Chartier [Thu, 18 Dec 2014 00:17:22 +0000 (00:17 +0000)]
Merge "Add thread suspend histogram"

9 years agoAdd thread suspend histogram
Mathieu Chartier [Wed, 17 Dec 2014 22:56:47 +0000 (14:56 -0800)]
Add thread suspend histogram

Helps measure time to suspend.
Example output (maps after a few seconds):
suspend all histogram:  Sum: 2.806ms 99% C.I. 2us-1090.560us Avg: 43.843us Max: 1126us

Change-Id: I7bd9dd3b401fb3e3059e8718556d60910e541611

9 years agoam 452e6a0a: am e9231c0a: Merge "Add a new imgdiag tool to diff boot.art/core.art...
Igor Murashkin [Wed, 17 Dec 2014 22:13:56 +0000 (22:13 +0000)]
am 452e6a0a: am e9231c0a: Merge "Add a new imgdiag tool to diff boot.art/core.art against a process"

* commit '452e6a0a86d76a24dd860267de63a7e386a9ae19':
  Add a new imgdiag tool to diff boot.art/core.art against a process

9 years agoam e9231c0a: Merge "Add a new imgdiag tool to diff boot.art/core.art against a process"
Igor Murashkin [Wed, 17 Dec 2014 22:08:40 +0000 (22:08 +0000)]
am e9231c0a: Merge "Add a new imgdiag tool to diff boot.art/core.art against a process"

* commit 'e9231c0aecc013c61b6cf7f88a228204651d4d41':
  Add a new imgdiag tool to diff boot.art/core.art against a process

9 years agoMerge "Add a new imgdiag tool to diff boot.art/core.art against a process"
Igor Murashkin [Wed, 17 Dec 2014 22:04:19 +0000 (22:04 +0000)]
Merge "Add a new imgdiag tool to diff boot.art/core.art against a process"

9 years agoJDWP: fix setting multiple breakpoints in the same method
Sebastien Hertz [Wed, 17 Dec 2014 15:35:50 +0000 (16:35 +0100)]
JDWP: fix setting multiple breakpoints in the same method

When setting multiple breakpoints in the same method, we were
incorrectly setting the deoptimization kind of all the breakpoints
set after a first breakpoint. This resulted in incorrect
deoptimization/undeoptimization and even an abort. This was caught
by running the debugger with sanity checks enabled with libartd.so.

We now set next breakpoints with the deoptimization kind of the first
existing breakpoint (if any) so we trigger right [un]deoptimization
when adding or removing a breakpoint.

Bug: 18782753
Bug: 18651686

(cherry picked from commit abe93e0098a2648fa286cfea01954737e32c7be9)

Change-Id: I95424e361dc04df0adb54b5afac5b4da2b8b2731

9 years agoam 9646450d: am d457b9ce: Merge "Add systrace events to monitors and thread suspension"
Mathieu Chartier [Wed, 17 Dec 2014 19:47:38 +0000 (19:47 +0000)]
am 9646450d: am d457b9ce: Merge "Add systrace events to monitors and thread suspension"

* commit '9646450d0e33e6c77b4a48f00a2fd4f66cadea16':
  Add systrace events to monitors and thread suspension

9 years agoam 532101ce: am 28d6b6c0: Merge "JDWP: fix setting multiple breakpoints in the same...
Sebastien Hertz [Wed, 17 Dec 2014 19:42:27 +0000 (19:42 +0000)]
am 532101ce: am 28d6b6c0: Merge "JDWP: fix setting multiple breakpoints in the same method"

* commit '532101ce26009d4d3bdbae47dd829e72b3673e52':
  JDWP: fix setting multiple breakpoints in the same method

9 years agoam 82d0df8e: am 7587082c: Merge "Now that GraphChecker has a state, don\'t re-use...
Nicolas Geoffray [Wed, 17 Dec 2014 19:42:02 +0000 (19:42 +0000)]
am 82d0df8e: am 7587082c: Merge "Now that GraphChecker has a state, don\'t re-use it."

* commit '82d0df8e43b8e0796466596ead89fcc435b0f769':
  Now that GraphChecker has a state, don't re-use it.

9 years agoam d158a108: am 8012102d: Merge "Fix ids and remove invoke when inlining."
Nicolas Geoffray [Wed, 17 Dec 2014 19:41:59 +0000 (19:41 +0000)]
am d158a108: am 8012102d: Merge "Fix ids and remove invoke when inlining."

* commit 'd158a1083f329d70f1be45648cc71604a9a4b5f5':
  Fix ids and remove invoke when inlining.

9 years agoam 0b0d2748: am 44a7f89c: Merge "ART: Added Checker, a pattern matching test engine"
David Brazdil [Wed, 17 Dec 2014 19:41:58 +0000 (19:41 +0000)]
am 0b0d2748: am 44a7f89c: Merge "ART: Added Checker, a pattern matching test engine"

* commit '0b0d274853371a11b61ea2dc7908dfdc78c0d387':
  ART: Added Checker, a pattern matching test engine

9 years agoam a62ae509: am c8a0a055: Merge "Test sometimes timeouts with vogar."
Nicolas Geoffray [Wed, 17 Dec 2014 19:41:56 +0000 (19:41 +0000)]
am a62ae509: am c8a0a055: Merge "Test sometimes timeouts with vogar."

* commit 'a62ae5091743cab7242b4cb97a511ef6527abc23':
  Test sometimes timeouts with vogar.

9 years agoam 23c2ba19: am 3fea27b5: Merge "Revert "Small optimization for recursive calls:...
Nicolas Geoffray [Wed, 17 Dec 2014 19:41:49 +0000 (19:41 +0000)]
am 23c2ba19: am 3fea27b5: Merge "Revert "Small optimization for recursive calls: avoid dex cache.""

* commit '23c2ba1975c768485a008028d03f87d8465e382a':
  Revert "Small optimization for recursive calls: avoid dex cache."

9 years agoam 709bb6fa: am 4acdae34: Merge "Small optimization for recursive calls: avoid dex...
Nicolas Geoffray [Wed, 17 Dec 2014 19:41:48 +0000 (19:41 +0000)]
am 709bb6fa: am 4acdae34: Merge "Small optimization for recursive calls: avoid dex cache."

* commit '709bb6fac23ab804129f2bd0e40a3750b3a39784':
  Small optimization for recursive calls: avoid dex cache.

9 years agoam d457b9ce: Merge "Add systrace events to monitors and thread suspension"
Mathieu Chartier [Wed, 17 Dec 2014 19:41:00 +0000 (19:41 +0000)]
am d457b9ce: Merge "Add systrace events to monitors and thread suspension"

* commit 'd457b9cebceecc9d54fb569ea76509341153bf5c':
  Add systrace events to monitors and thread suspension

9 years agoMerge "Add systrace events to monitors and thread suspension"
Mathieu Chartier [Wed, 17 Dec 2014 19:13:39 +0000 (19:13 +0000)]
Merge "Add systrace events to monitors and thread suspension"