android_system_core/include
Mathias Agopian 6cd548c715 Fix a crasher with RefBase debugging and vectors of wp<>
background:
we have some code to fix-up the IDs of references when
using RefBase's DEBUG_REFS when those refs are managed by
arrays wp<> or sp<> (this is because wp<> / sp<> don't have
a trivial ctor when DEBUG_REFS is enabled, and Vector
treats them as trivial for obvious performance reasons)

this is complicated by the fact that we don't want to have
to recompile everything when enabling DEBUG_REFs (i.e.: the
Vector code cannot know wheter it's enabled or not for its
template stuff).

problem:
there was a bug in the fix-up code for wp<> which was trying
to access the weakref_impl from the RefBase* however, this was
moronic since RefBase could have been destroyed if there wasn't
any more strong refs -- and this happned. Instead we need to get
the weakref_impl directly from the wp<>

Change-Id: Ie16e334204205fdbff142acb9faff8479a78450b
2013-07-30 13:57:01 -07:00
..
android Remove libjnigraphics. moved to frameworks/base/native 2010-02-04 15:32:07 -08:00
corkscrew Add flush_my_map_info_list() and fix a bug in the Mac load_map_info_list(). 2013-05-14 19:49:30 -07:00
ctest auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
cutils Move liblog headers to system/core/include/log 2013-07-24 12:32:39 -07:00
diskconfig diskconfig: Add missing include for loff_t 2012-07-23 16:11:59 -07:00
ion Add explicit sync call to ion library 2012-09-20 09:46:19 -07:00
log Move liblog headers to system/core/include/log 2013-07-24 12:32:39 -07:00
mincrypt mincrypt: support SHA-256 hash algorithm 2013-04-10 14:33:31 -07:00
netutils Support 4 dns servers, up from 2 2013-01-10 11:36:09 -08:00
pixelflinger pixelflinger: Fix function naming typo: gglBitBlti 2010-08-10 02:56:47 +08:00
private am 9e9ed1b4: am 131ee07b: Merge "Add a new group for MediaDrm engine plugins" into jb-mr2-dev 2013-04-24 21:56:49 -07:00
sync sync: factor sw_sync functionality out of header 2013-03-05 15:53:24 -08:00
system get rid of HAL pixelformats 5551 and 4444 2013-07-26 14:50:26 -07:00
sysutils libsysutils: Increase command buffersize and command args 2012-11-12 14:40:21 +01:00
usbhost libusbhost: permits client polling on inotify wd 2012-12-10 11:12:35 +01:00
utils Fix a crasher with RefBase debugging and vectors of wp<> 2013-07-30 13:57:01 -07:00
zipfile auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00