replicant-frameworks_native/include/utils
Kenny Root 9e333ab42c Use UTF-8 strings to avoid duplicate caching, part 1
StringBlock instances containing UTF-8 strings use a cache to convert
into UTF-16, but using that cache and then using a JNI call to NewString
causes the UTF-8 string as well as two copies of the UTF-16 string to
be held in memory. Getting the UTF-8 string directly from the StringPool
eliminates one copy of the UTF-16 string being held in memory.

This is part 1. Part 2 will include ResXMLParser optimizations.

Change-Id: Ibd4509a485db746d59cd4b9501f544877139276c
2010-02-23 10:02:20 -08:00
..
ashmem.h
Asset.h Fix issue #2048263: More debugging information 2009-08-11 18:56:41 -07:00
AssetDir.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
AssetManager.h Don't re-parse the framework resources all the time. 2009-07-06 11:12:37 -07:00
Atomic.h
BackupHelpers.h
Buffer.h
BufferedTextOutput.h
ByteOrder.h
CallStack.h
Debug.h Support for marshalling pointers / intptr_t in Parcel. 2009-08-17 15:31:25 -07:00
Endian.h
Errors.h fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly 2009-09-07 16:32:45 -07:00
FileMap.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Flattenable.h remove a dependency of GraphicBuffer (libui) on Parcel (libbinder). 2010-02-21 23:27:25 -08:00
KeyedVector.h
List.h
Log.h
misc.h
RefBase.h
ResourceTypes.h Use UTF-8 strings to avoid duplicate caching, part 1 2010-02-23 10:02:20 -08:00
SharedBuffer.h
Singleton.h
SortedVector.h
StopWatch.h
String8.h Optional use of UTF-8 strings in resource bundles 2009-12-07 15:14:15 -08:00
String16.h Optional use of UTF-8 strings in resource bundles 2009-12-07 15:14:15 -08:00
StringArray.h
SystemClock.h
TextOutput.h
threads.h Propagate background scheduling class across processes. 2009-12-07 19:11:14 -08:00
Timers.h get rid of sleepForInterval() which didn't seem to be used anywhere in the source tree. Also get rid of ported.h which seem to be used only (possibly) in the sim. moved the implementation there. 2009-05-31 23:45:01 -07:00
TypeHelpers.h
Vector.h improve Vector<> with types that can be trivially moved and remove some unused code. 2009-06-22 02:31:07 -07:00
VectorImpl.h
ZipFileCRO.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
ZipFileRO.h
ZipUtils.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00