OSDN Git Service
Ian Rogers [Fri, 29 Aug 2014 23:24:33 +0000 (23:24 +0000)]
am
59a00432: Merge "ART: Address issues with kIntrinsicMinMaxDouble for x86"
* commit '
59a004328f42c32026a79b59e8eae0f3bf85b59b':
ART: Address issues with kIntrinsicMinMaxDouble for x86
Ian Rogers [Fri, 29 Aug 2014 23:24:32 +0000 (23:24 +0000)]
am
5383613c: Merge "ART: Update CFG dumper to handle extended better"
* commit '
5383613c5deab8d92dcfb85c1b034594394c7cca':
ART: Update CFG dumper to handle extended better
Ian Rogers [Fri, 29 Aug 2014 23:09:47 +0000 (23:09 +0000)]
Merge "ART: Address issues with kIntrinsicMinMaxDouble for x86"
Ian Rogers [Fri, 29 Aug 2014 23:04:06 +0000 (23:04 +0000)]
Merge "ART: Update CFG dumper to handle extended better"
Dave Allison [Fri, 29 Aug 2014 21:40:21 +0000 (21:40 +0000)]
am
6b8e3b90: Merge "Fix master-art-host build by removing flakey test (temporarily)"
* commit '
6b8e3b906dd310c649ffb4b73dc46a78b64f4a0f':
Fix master-art-host build by removing flakey test (temporarily)
Brian Carlstrom [Fri, 29 Aug 2014 21:40:21 +0000 (21:40 +0000)]
am
923968e0: Merge "ART: Prepare for ELF64."
* commit '
923968e08a582dcf2e9473ad1bea223e3baaa75f':
ART: Prepare for ELF64.
Dave Allison [Fri, 29 Aug 2014 21:40:20 +0000 (21:40 +0000)]
am
f1260f19: Merge "Fix mac build and signal test"
* commit '
f1260f1936239d0d8108852e1ad2baa0c333b6e6':
Fix mac build and signal test
Dave Allison [Fri, 29 Aug 2014 21:20:05 +0000 (21:20 +0000)]
Merge "Fix master-art-host build by removing flakey test (temporarily)"
Brian Carlstrom [Fri, 29 Aug 2014 21:17:50 +0000 (21:17 +0000)]
Merge "ART: Prepare for ELF64."
Dave Allison [Fri, 29 Aug 2014 21:09:19 +0000 (14:09 -0700)]
Fix master-art-host build by removing flakey test (temporarily)
Change-Id: I8c97e7a5339a6f7f5984a58ee1a7b41eab3cb2b1
Dave Allison [Fri, 29 Aug 2014 20:09:53 +0000 (20:09 +0000)]
Merge "Fix mac build and signal test"
Dave Allison [Fri, 29 Aug 2014 19:29:34 +0000 (12:29 -0700)]
Fix mac build and signal test
Change-Id: I58311285db9095ca6339ce29a9f15e841b7c822d
Dave Allison [Fri, 29 Aug 2014 19:07:16 +0000 (19:07 +0000)]
am
2414f120: am
9bf1b088: Merge "Fix mips build for nested signal handler" into lmp-dev
* commit '
2414f120cbdcd66c9ebd7a35b0d3bd0f16840429':
Fix mips build for nested signal handler
Alex Light [Fri, 29 Aug 2014 19:07:06 +0000 (19:07 +0000)]
am
0ca8ab6b: am
496cd337: Fix segfault if running without image.
* commit '
0ca8ab6ba37a25d13a2893932d73e307a982e327':
Fix segfault if running without image.
Dave Allison [Fri, 29 Aug 2014 18:53:30 +0000 (18:53 +0000)]
am
799ddafd: Merge "Fix mips build for nested signal handler"
* commit '
799ddafdcc30783471698b7a9a05eeac8ef6f141':
Fix mips build for nested signal handler
buzbee [Fri, 29 Aug 2014 18:52:09 +0000 (18:52 +0000)]
am
6d0fa0e4: am
2cc42e30: Merge "Quick compiler: Fix MIPS build" into lmp-dev
* commit '
6d0fa0e48c19ff2790c04e14e3ae1af751a0b4d5':
Quick compiler: Fix MIPS build
Sebastien Hertz [Fri, 29 Aug 2014 18:50:33 +0000 (18:50 +0000)]
am
c09af433: am
8ac3356d: Avoid null pointer dereference when sending JDWP packets
* commit '
c09af433d353713440b19601db2cabb78332c9aa':
Avoid null pointer dereference when sending JDWP packets
Brian Carlstrom [Fri, 29 Aug 2014 18:49:15 +0000 (18:49 +0000)]
Alex Light [Fri, 29 Aug 2014 18:47:40 +0000 (18:47 +0000)]
am
cb747bf9: am
6c050b5f: Fix incorect variable name.
* commit '
cb747bf945396c013308428723832de6e601fa66':
Fix incorect variable name.
Alex Light [Fri, 29 Aug 2014 18:47:39 +0000 (18:47 +0000)]
am
b0fc290d: (-s ours) am
1f019816: Change /dalvik-cache to be owned by root.
* commit '
b0fc290d8f0ae980754ce7740fa17667251b6aca':
Change /dalvik-cache to be owned by root.
Dave Allison [Fri, 29 Aug 2014 18:31:09 +0000 (18:31 +0000)]
am
9bf1b088: Merge "Fix mips build for nested signal handler" into lmp-dev
* commit '
9bf1b088e4e12121037090dd9c92393fbe805cb6':
Fix mips build for nested signal handler
Dave Allison [Fri, 29 Aug 2014 18:29:06 +0000 (18:29 +0000)]
Merge "Fix mips build for nested signal handler"
Brian Carlstrom [Fri, 29 Aug 2014 18:24:38 +0000 (18:24 +0000)]
am
eb9266cb: Merge "Fix segfault if running without image."
* commit '
eb9266cb953f15f0101da33f0d5a94590b1bd14b':
Fix segfault if running without image.
Dave Allison [Fri, 29 Aug 2014 18:05:17 +0000 (11:05 -0700)]
Fix mips build for nested signal handler
Bug:
17006816
(cherry picked from commit
5a18dde067daeb55f1368d5791c61e315bfa1d99)
Change-Id: Ia538e30012fed46cefba33092395c5361c571062
Dave Allison [Fri, 29 Aug 2014 18:18:53 +0000 (18:18 +0000)]
Merge "Fix mips build for nested signal handler" into lmp-dev
Alex Light [Fri, 29 Aug 2014 18:18:23 +0000 (18:18 +0000)]
am
496cd337: Fix segfault if running without image.
* commit '
496cd337c19ca8386fec24633160f82c01993bbd':
Fix segfault if running without image.
Dave Allison [Fri, 29 Aug 2014 18:05:17 +0000 (11:05 -0700)]
Fix mips build for nested signal handler
Bug:
17006816
Change-Id: If41c6d7a2f12f1822ca36d9e2f0f22b3ca854098
Alex Light [Fri, 29 Aug 2014 17:28:25 +0000 (10:28 -0700)]
Fix segfault if running without image.
Bug:
17325091
(cherry picked from commit
7adb7ac3913364de8cc57b8934024dd12e1d3bea)
Change-Id: I343099543ce0abf02219da84d61d9ce2dfc47980
Brian Carlstrom [Fri, 29 Aug 2014 18:02:02 +0000 (18:02 +0000)]
Merge "Fix segfault if running without image."
Dave Allison [Fri, 29 Aug 2014 17:59:43 +0000 (17:59 +0000)]
am
f0174a01: Merge "Fix signal chain to allow for signal() call to be used"
* commit '
f0174a016915037f954f98ea1c910536686b83c5':
Fix signal chain to allow for signal() call to be used
Dave Allison [Fri, 29 Aug 2014 17:39:38 +0000 (17:39 +0000)]
Merge "Fix signal chain to allow for signal() call to be used"
Alex Light [Fri, 29 Aug 2014 17:28:25 +0000 (10:28 -0700)]
Fix segfault if running without image.
Bug:
17325091
Change-Id: I343099543ce0abf02219da84d61d9ce2dfc47980
Tong Shen [Wed, 27 Aug 2014 17:39:02 +0000 (10:39 -0700)]
ART: Prepare for ELF64.
Make ElfWriterQuick a template class. No functionality change.
Change-Id: I62b60dc9795c4795027e80f0bee6b54622ea49e9
buzbee [Fri, 29 Aug 2014 17:07:52 +0000 (17:07 +0000)]
am
2cc42e30: Merge "Quick compiler: Fix MIPS build" into lmp-dev
* commit '
2cc42e3029182ad6c6443376c1a4cbf9c1e6a784':
Quick compiler: Fix MIPS build
buzbee [Fri, 29 Aug 2014 16:59:46 +0000 (16:59 +0000)]
Merge "Quick compiler: Fix MIPS build" into lmp-dev
Razvan A Lupusoru [Thu, 14 Aug 2014 05:49:57 +0000 (13:49 +0800)]
ART: Address issues with kIntrinsicMinMaxDouble for x86
This patch fixes the following issues:
- Makes sure that invoke-static/range is considered for analysis
path that decides whether base of code register is needed.
- Invalidates the code pointer register in intrinsic implementations
of min/max for FP since generated code has diamond shape and Quick
does not correctly handle control flow merges.
- Reverts the clobbering of base of code register from constant
loading path since it reduces performance in linear code that
needs the register.
- Ensures that no assumption is made on whether base of code register
exists in cases like 64-bit where rip register may be used.
Change-Id: I96463ae1197e5cfa2a8bd3571163b38fb338a340
Signed-off-by: Razvan A Lupusoru <razvan.a.lupusoru@intel.com>
Signed-off-by: Alexei Zavjalov <alexei.zavjalov@intel.com>
Signed-off-by: Haitao Feng <haitao.feng@intel.com>
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
Razvan A Lupusoru [Fri, 22 Aug 2014 22:39:50 +0000 (15:39 -0700)]
ART: Update CFG dumper to handle extended better
Change-Id: I0df8ece13deadf247a425beac0c08b2be5d773f9
Signed-off-by: Razvan A Lupusoru <razvan.a.lupusoru@intel.com>
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
buzbee [Thu, 28 Aug 2014 20:48:56 +0000 (13:48 -0700)]
Quick compiler: Fix MIPS build
b/
16484538
In debug builds, the Quick compiler frequently runs a sanity checker
over the register pool. Among other things, it attempts to verify
consistent representation of register pairs. However, a register's
"wide" flag is meaningful only when the register pair is associated
with a Dalvik wide value (sreg != INVALID_SREG) rather than a temp
wide value.
The MIPS build was tripping over this bad assertion. Fixed here.
Note related cl/105461
(cherry-picked from commit sha
3a658077af2a931e5d7f6cd22b777c57112c19df)
Change-Id: Id726ff1ea0f5cbcc8dba6fa3aacb3fd4fc043a63
Sebastien Hertz [Fri, 29 Aug 2014 12:27:00 +0000 (12:27 +0000)]
am
8ac3356d: Avoid null pointer dereference when sending JDWP packets
* commit '
8ac3356db74f5e38c70406cc5f5e65a49ff41fd7':
Avoid null pointer dereference when sending JDWP packets
Andreas Gampe [Fri, 29 Aug 2014 11:39:59 +0000 (11:39 +0000)]
am
c84b7c54: Merge "ART: Check for no gaps only when we will have an immune region"
* commit '
c84b7c54c2251344018a4b4e78b122caf7c03b64':
ART: Check for no gaps only when we will have an immune region
Brian Carlstrom [Fri, 29 Aug 2014 11:39:58 +0000 (11:39 +0000)]
am
519af184: Merge "Fix Mac build"
* commit '
519af184ae2d1245ed73004c1a1a457a400f66d5':
Fix Mac build
Brian Carlstrom [Fri, 29 Aug 2014 11:39:16 +0000 (11:39 +0000)]
am
9ca7d1a9: Merge "Fix incorect variable name."
* commit '
9ca7d1a973f463f6c53f0b9975c500370ab50ef4':
Fix incorect variable name.
Brian Carlstrom [Fri, 29 Aug 2014 11:39:15 +0000 (11:39 +0000)]
am
4eab6436: Merge "Change /dalvik-cache to be owned by root."
* commit '
4eab6436fc68105363178cc5b50dd5eefb807386':
Change /dalvik-cache to be owned by root.
Hiroshi Yamauchi [Fri, 29 Aug 2014 11:39:14 +0000 (11:39 +0000)]
am
f843a4fd: Merge "Honor the read barrier option in IRT::Get()."
* commit '
f843a4fd87dd289aea75235feb27f253de90ab60':
Honor the read barrier option in IRT::Get().
Brian Carlstrom [Fri, 29 Aug 2014 11:39:13 +0000 (11:39 +0000)]
am
d84be7ed: Merge "Fix issue with Thread.setName hanging after Thread.start"
* commit '
d84be7edd31cbcb42ffaf0c6a51f9b48974552b0':
Fix issue with Thread.setName hanging after Thread.start
Elliott Hughes [Fri, 29 Aug 2014 11:39:12 +0000 (11:39 +0000)]
am
0ed6c6f7: Merge "Move the glibc unlimited stack hack into GetThreadStack."
* commit '
0ed6c6f72eea586c684cb3e2bc7037deff87d1ba':
Move the glibc unlimited stack hack into GetThreadStack.
Hiroshi Yamauchi [Fri, 29 Aug 2014 11:39:11 +0000 (11:39 +0000)]
am
14515d73: Merge "Fix an assert failure in art::DumpNativeStack()."
* commit '
14515d738dadf88e3e00b7dd1bd69899c4df4b91':
Fix an assert failure in art::DumpNativeStack().
buzbee [Fri, 29 Aug 2014 11:39:10 +0000 (11:39 +0000)]
am
79e909bc: Merge "Quick compiler: Fix MIPS build"
* commit '
79e909bc9d95c3952be85af846ba8bda344531f5':
Quick compiler: Fix MIPS build
Mathieu Chartier [Fri, 29 Aug 2014 11:39:08 +0000 (11:39 +0000)]
am
6950ae42: Merge "Filling hole between subclass and superclass."
* commit '
6950ae42dc0f64c825bf61cb13c0bfb254ad97bd':
Filling hole between subclass and superclass.
Mathieu Chartier [Fri, 29 Aug 2014 11:39:07 +0000 (11:39 +0000)]
am
063f73c2: Merge "Prevent exception bugs in class linker"
* commit '
063f73c2678f91ec0292b31b2dba0021cb911f3e':
Prevent exception bugs in class linker
Sebastien Hertz [Fri, 29 Aug 2014 11:39:05 +0000 (11:39 +0000)]
am
83c11593: Merge "Avoid null pointer dereference when sending JDWP packets"
* commit '
83c115930b403db2b6b38d9dcb4828e31feb792f':
Avoid null pointer dereference when sending JDWP packets
Sebastien Hertz [Thu, 28 Aug 2014 16:50:36 +0000 (18:50 +0200)]
Avoid null pointer dereference when sending JDWP packets
Bug:
16218394
(cherry picked from commit
60ed7da4d193e0f90b05c4236af77d3b276c0ea4)
Change-Id: I4882b3b6bb97facb8fca4c7ece65f4c7c96c57fe
Andreas Gampe [Fri, 29 Aug 2014 08:21:35 +0000 (08:21 +0000)]
Merge "ART: Check for no gaps only when we will have an immune region"
Brian Carlstrom [Fri, 29 Aug 2014 05:46:55 +0000 (05:46 +0000)]
Brian Carlstrom [Fri, 29 Aug 2014 05:17:13 +0000 (22:17 -0700)]
Fix Mac build
Bug:
17000769,
16875245
(cherry picked from commit
debdda0262bfbcb966a89e693d933cc74eb412ac)
Change-Id: I158f090c89587f176813a15e9edad917bd134cd0
Brian Carlstrom [Fri, 29 Aug 2014 05:29:14 +0000 (05:29 +0000)]
Merge "Fix Mac build"
Brian Carlstrom [Fri, 29 Aug 2014 05:17:13 +0000 (22:17 -0700)]
Fix Mac build
Bug:
17000769,
16875245
Change-Id: Id5ff133e0c6c56db6972a187773c7e873b7062ee
Andreas Gampe [Wed, 27 Aug 2014 18:01:09 +0000 (11:01 -0700)]
ART: Check for no gaps only when we will have an immune region
In dex2oat, for example, this is not necessary. This CL enables running
dex2oat under valgrind.
Change-Id: Ia25c7bfb4903a613c80f4685030970b2a48e24f9
Alex Light [Fri, 29 Aug 2014 03:34:25 +0000 (03:34 +0000)]
am
6c050b5f: Fix incorect variable name.
* commit '
6c050b5f782b61a16083ae35c98931a2d51d0a33':
Fix incorect variable name.
Alex Light [Fri, 29 Aug 2014 03:34:19 +0000 (03:34 +0000)]
am
1f019816: Change /dalvik-cache to be owned by root.
* commit '
1f0198162044d015072cbb7824f4a6688d0300ee':
Change /dalvik-cache to be owned by root.
Dave Allison [Thu, 28 Aug 2014 23:12:40 +0000 (16:12 -0700)]
Fix signal chain to allow for signal() call to be used
Bug:
17320614
Change-Id: Ia917307fb1b593644f524518e11e295b3c64be01
Alex Light [Thu, 28 Aug 2014 23:23:48 +0000 (16:23 -0700)]
Fix incorect variable name.
Bug:
16875245
(cherry picked from commit
1291e9bc87edc8fde56434bc66bef0c62d44a8e6)
Change-Id: Idd0f7ac677568a53569308a67f1ad613584949a5
Alex Light [Wed, 27 Aug 2014 22:37:23 +0000 (15:37 -0700)]
Change /dalvik-cache to be owned by root.
Also prune the dalvik-cache during startup if we need to generate or
relocate an image.
Bug:
17000769,
16875245
(cherry picked from commit
2539613be94f599c1713627f80c7398028d1a6aa)
Change-Id: I29a70215a2207bc4e0db02ab751d32a68edf4b66
Brian Carlstrom [Thu, 28 Aug 2014 23:27:53 +0000 (23:27 +0000)]
Merge "Fix incorect variable name."
Alex Light [Thu, 28 Aug 2014 23:23:48 +0000 (16:23 -0700)]
Fix incorect variable name.
Bug:
16875245
Change-Id: Idd0f7ac677568a53569308a67f1ad613584949a5
Brian Carlstrom [Thu, 28 Aug 2014 23:17:01 +0000 (23:17 +0000)]
Merge "Change /dalvik-cache to be owned by root."
Hiroshi Yamauchi [Thu, 28 Aug 2014 23:02:45 +0000 (23:02 +0000)]
Merge "Honor the read barrier option in IRT::Get()."
Brian Carlstrom [Thu, 28 Aug 2014 23:02:13 +0000 (23:02 +0000)]
am
ba14a447: am
e6caf046: Merge "Fix issue with Thread.setName hanging after Thread.start" into lmp-dev
* commit '
ba14a447405980211cc68203fa8845a75d97e929':
Fix issue with Thread.setName hanging after Thread.start
Brian Carlstrom [Thu, 28 Aug 2014 22:48:35 +0000 (22:48 +0000)]
am
e6caf046: Merge "Fix issue with Thread.setName hanging after Thread.start" into lmp-dev
* commit '
e6caf04639aec134f7b668bf71cd6797a4759dd9':
Fix issue with Thread.setName hanging after Thread.start
Brian Carlstrom [Thu, 28 Aug 2014 22:44:30 +0000 (22:44 +0000)]
Merge "Fix issue with Thread.setName hanging after Thread.start"
Brian Carlstrom [Thu, 28 Aug 2014 06:43:46 +0000 (23:43 -0700)]
Fix issue with Thread.setName hanging after Thread.start
When suspending a thread by peer the invariant that only attached threads are
suspended must be maintained. Add a ThreadList::Contains check which requires
making this method non-static.
Add some extra thread logging.
Bug:
17302037
(cherry picked from commit
37c16453a92bbf1a47f042000318a1b60381017d)
Change-Id: I51832785d4b4b431e035318e75635f442e89a1fb
Hiroshi Yamauchi [Thu, 28 Aug 2014 22:29:26 +0000 (15:29 -0700)]
Honor the read barrier option in IRT::Get().
Bug:
12687968
Change-Id: Ia69570d57542891a873213e00242953825a1458d
Elliott Hughes [Thu, 28 Aug 2014 22:25:34 +0000 (22:25 +0000)]
Merge "Move the glibc unlimited stack hack into GetThreadStack."
Brian Carlstrom [Thu, 28 Aug 2014 22:23:09 +0000 (22:23 +0000)]
Merge "Fix issue with Thread.setName hanging after Thread.start" into lmp-dev
Hiroshi Yamauchi [Thu, 28 Aug 2014 22:19:37 +0000 (22:19 +0000)]
Merge "Fix an assert failure in art::DumpNativeStack()."
Hiroshi Yamauchi [Thu, 28 Aug 2014 21:55:56 +0000 (14:55 -0700)]
Fix an assert failure in art::DumpNativeStack().
When ThreadList::SuspendAll() times out (and aborts),
UnsafeLogFatalForThreadSuspendAllTimeout() will call
art::DumpNativeStack() but it does not have the mutator lock
shared-locked (as it failed while trying to exclusive-lock the mutator
lock) and the AssertSharedHeld() on the mutator lock fails. It's an
assert failure nested in an time-out abort.
This change avoids it by letting it print the native method frame info
only if the thread has a shared lock on the mutator lock, as opposed
to asserting that it has a shared lock.
Change-Id: I17851ebcaa37f4f67086c15243a2cffea3997a02
buzbee [Thu, 28 Aug 2014 21:11:05 +0000 (21:11 +0000)]
Merge "Quick compiler: Fix MIPS build"
buzbee [Thu, 28 Aug 2014 20:48:56 +0000 (13:48 -0700)]
Quick compiler: Fix MIPS build
In debug builds, the Quick compiler frequently runs a sanity checker
over the register pool. Among other things, it attempts to verify
consistent representation of register pairs. However, a register's
"wide" flag is meaningful only when the register pair is associated
with a Dalvik wide value (sreg != INVALID_SREG) rather than a temp
wide value.
The MIPS build was tripping over this bad assertion. Fixed here.
Note related cl/105461
Change-Id: Id726ff1ea0f5cbcc8dba6fa3aacb3fd4fc043a63
Alex Light [Wed, 27 Aug 2014 22:37:23 +0000 (15:37 -0700)]
Change /dalvik-cache to be owned by root.
Also prune the dalvik-cache during startup if we need to generate or
relocate an image.
Bug:
17000769,
16875245
Change-Id: I29a70215a2207bc4e0db02ab751d32a68edf4b66
Mathieu Chartier [Thu, 28 Aug 2014 19:15:12 +0000 (19:15 +0000)]
Merge "Filling hole between subclass and superclass."
Brian Carlstrom [Thu, 28 Aug 2014 19:13:30 +0000 (19:13 +0000)]
am
5e894e1f: am
7654123b: Merge "Ensure proxy constructor is in dex cache" into lmp-dev
* commit '
5e894e1f84c267f1a259f0831a5cdd5d2b9d6fa3':
Ensure proxy constructor is in dex cache
Brian Carlstrom [Thu, 28 Aug 2014 19:01:48 +0000 (19:01 +0000)]
am
7654123b: Merge "Ensure proxy constructor is in dex cache" into lmp-dev
* commit '
7654123b2fd7abeb40522dac791fa26a1364d030':
Ensure proxy constructor is in dex cache
Mathieu Chartier [Thu, 28 Aug 2014 19:01:29 +0000 (19:01 +0000)]
am
0bf01ef1: am
679c3ced: Merge "Prevent exception bugs in class linker" into lmp-dev
* commit '
0bf01ef1c5ac31ff35cb044b3fc48c3ea90b04be':
Prevent exception bugs in class linker
Fred Shih [Tue, 26 Aug 2014 00:24:27 +0000 (17:24 -0700)]
Filling hole between subclass and superclass.
Subclasses no longer need to be 4-byte aligned at the end. Any gaps
between a superclass and its subclasses will be filled in by halfword
or byte fields if possible.
Refactored the alignment and shuffling methods to use a priority queue
in order to reduce the amount of logic when laying out objects.
Change-Id: Ifed71af534e0c5e77bb14555c44b973fe66df6da
Brian Carlstrom [Thu, 28 Aug 2014 18:54:15 +0000 (18:54 +0000)]
Merge "Ensure proxy constructor is in dex cache" into lmp-dev
Mathieu Chartier [Thu, 28 Aug 2014 18:49:08 +0000 (18:49 +0000)]
Merge "Prevent exception bugs in class linker"
Mathieu Chartier [Thu, 28 Aug 2014 18:48:33 +0000 (18:48 +0000)]
am
679c3ced: Merge "Prevent exception bugs in class linker" into lmp-dev
* commit '
679c3cedaf1550113104f5113b23f0fdec6175c0':
Prevent exception bugs in class linker
Mathieu Chartier [Wed, 27 Aug 2014 22:28:28 +0000 (15:28 -0700)]
Prevent exception bugs in class linker
There were some places that could throw exceptions but still succeed.
This caused the allocation entrypoints to occasionally allocate a
heap object with a pending exception.
Also added some additional AssertNoExceptionPending.
Bug:
17164348
(cherry picked from commit
58c016c3f85d6d5496cea25325778de3a8d9a3ac)
Change-Id: Id9918fa8f1a5d713b847cb95cdade925ff80a826
Mathieu Chartier [Thu, 28 Aug 2014 18:37:29 +0000 (18:37 +0000)]
Merge "Prevent exception bugs in class linker" into lmp-dev
Sebastien Hertz [Wed, 27 Aug 2014 13:32:56 +0000 (15:32 +0200)]
Ensure proxy constructor is in dex cache
Bug:
17262039
(cherry picked from commit
ae94e350f100207359b8345d8d21e78e7cfb44c4)
Change-Id: I1cfc8dac1f63b9012fa098804135be8847b1daee
Brian Carlstrom [Thu, 28 Aug 2014 06:43:46 +0000 (23:43 -0700)]
Fix issue with Thread.setName hanging after Thread.start
When suspending a thread by peer the invariant that only attached threads are
suspended must be maintained. Add a ThreadList::Contains check which requires
making this method non-static.
Add some extra thread logging.
Bug:
17302037
Change-Id: I89af9840e398c2ceadeb736c431dfe3be8f3ba06
Mathieu Chartier [Wed, 27 Aug 2014 22:28:28 +0000 (15:28 -0700)]
Prevent exception bugs in class linker
There were some places that could throw exceptions but still succeed.
This caused the allocation entrypoints to occasionally allocate a
heap object with a pending exception.
Also added some additional AssertNoExceptionPending.
Bug:
17164348
Change-Id: Ic6dd3b0cce9955349176503dd7f6c3da7ab0a6f1
Elliott Hughes [Thu, 28 Aug 2014 17:24:44 +0000 (10:24 -0700)]
Move the glibc unlimited stack hack into GetThreadStack.
Optional cleanup that was previously a TODO.
Bug:
17111575
Change-Id: I7c20dbf1fdbcaf4604d7b55552930c10e166539d
Elliott Hughes [Thu, 28 Aug 2014 17:21:32 +0000 (17:21 +0000)]
am
aad269d7: Merge "Actually ask the pthread implementation for the stack guard size."
* commit '
aad269d708cb1dd18fe3a319a862f91f01696435':
Actually ask the pthread implementation for the stack guard size.
Sebastien Hertz [Thu, 28 Aug 2014 17:16:05 +0000 (17:16 +0000)]
Merge "Avoid null pointer dereference when sending JDWP packets"
Elliott Hughes [Thu, 28 Aug 2014 17:13:52 +0000 (17:13 +0000)]
am
044489b4: am
5b41c2a8: Merge "Actually ask the pthread implementation for the stack guard size." into lmp-dev
* commit '
044489b463722e1377b49477b1c555f569389336':
Actually ask the pthread implementation for the stack guard size.
Ian Rogers [Thu, 28 Aug 2014 17:13:51 +0000 (17:13 +0000)]
am
1b761a95: am
d1e4e735: Merge "Revert "Avoid using NanoTime for compiler and verifier"" into lmp-dev
* commit '
1b761a957961329d845a55f2dac41200ac9b244f':
Revert "Avoid using NanoTime for compiler and verifier"
Sebastien Hertz [Thu, 28 Aug 2014 17:07:16 +0000 (17:07 +0000)]
am
dbc0ca70: Merge "Ensure proxy constructor is in dex cache"
* commit '
dbc0ca70bcee22561c2f0ab7129a7721369e9aea':
Ensure proxy constructor is in dex cache
Elliott Hughes [Thu, 28 Aug 2014 17:00:01 +0000 (17:00 +0000)]
am
5b41c2a8: Merge "Actually ask the pthread implementation for the stack guard size." into lmp-dev
* commit '
5b41c2a8f8e4a745b18685413b51c883cd993403':
Actually ask the pthread implementation for the stack guard size.
Ian Rogers [Thu, 28 Aug 2014 17:00:00 +0000 (17:00 +0000)]
am
d1e4e735: Merge "Revert "Avoid using NanoTime for compiler and verifier"" into lmp-dev
* commit '
d1e4e735cdf98e2ece7fa9a5dfeaad98d0c37cd1':
Revert "Avoid using NanoTime for compiler and verifier"