Add two more GC parameter interfaces

One is to set idealHeapFree and the other is to set concurrentStart

Change-Id: I12056f5ffc8e7e633114be3f90d40223619b5d0b
Merge branch 'jb-release' of https://android.googlesource.com/platform/libcore into aosp
Improve HttpResponseCache performance.

Avoid writing to HttpResponseCache.CacheRequestImpl.cacheOut
one byte at a time via inefficient FilterOutputStream write.

Mirrored ics commit from: http://review.cyanogenmod.com/#/c/19565/

Change-Id: Id72e54ca54776af0598b4b952dd40304418c1c50
Performance improvements: DiskLruCache, HttpResponseCache.

Add StrictLineReader for efficient reading of lines
consistent with Streams.readAsciiLine(). Use this to improve
DiskLruCache.readJournal() and initialization of
HttpResponseCache$Entry from InputStream.

Change-Id: I1fa1fdd4f2d89d508b0b3a625b27b496aab33d7f
See: https://android-review.googlesource.com/#/c/41348/
Merge branch 'jb-release' of https://android.googlesource.com/platform/libcore into aosp
Fix a native memory leak in SimpleDateFormat cloning.

We didn't use the regular finalization idiom in NativeDecimalFormat because
Formatter used to create a lot of these objects, and we wanted to be able to
close them manually rather than clogging up the GC. We've since rewritten
the Formatter code so this is no longer relevant, but we left the finalization
in the wrong class.

Tested with a "while (true) sdf.clone();" loop and ps(1).

Bug: http://code.google.com/p/android/issues/detail?id=37607
Change-Id: I0c435edf8c1bced00ebf04bd7187883344e971e7
Manually inline StrictMath.min(JJ) and StrictMath.max(JJ).

Also add new intrinsic tests.

Bug: 7146208
Change-Id: Ic454c8c5b218c51ce1c21f0c11163455392b4e72
Increment OpenSSLKey EVP_PKEY reference when it is selected for use with SSL_use_PrivateKey

Bug: 6866852
Bug: http://code.google.com/p/android/issues/detail?id=35326

(cherry-picked from 1f9fe21b93f1d1ee44a325629a05ee4f476e5f6a)

Change-Id: I4e995de38414a7841bca0e0bba7d15b01c3bffd9
Merge "Increment OpenSSLKey EVP_PKEY reference when it is selected for use with SSL_use_PrivateKey" into jellybean
Merge branch 'jb-mr0-release' of https://android.googlesource.com/platform/libcore into aosp-merge
merge in jb-mr1-factory-release history after reset to jb-mr1-dev
merge in jb-mr1-factory-release history after reset to jb-mr1-dev
merge in jb-mr1-factory-release history after reset to jb-mr1-dev
merge in jb-mr1.1-release history after reset to jb-mr1.1-dev
Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge

Change-Id: I1e5f377e655f72b8d2e497e83cf4207f5b786e01
Lazy parsing of zip files for Java resources.

Central directories of zip files should be read lazily.
They are needed only to service calls to
BaseDexClassLoader#findResouce(s). Most android processes
don't use these methods since they use android resources.

bug:6797061

Change-Id: I1a5b5d03572601707e1fb1fd4424c1ae2fd2217d
Revert "Add two more GC parameter interfaces"

This reverts commit ebeb9f27c92843caa75b3efdcea091516521c9a0.
Merge branch 'jb-mr1-release' of https://android.googlesource.com/platform/libcore into mr1

Change-Id: I19ebeda37b4c3efa42f91ceb5d366ddccd699249
merge in jb-mr1.1-release history after reset to jb-mr1.1-dev
Fix compilation of Enum on JDK 7

Change-Id: I2e58b6a527e4ef1fc7ed3359b8aea88d01a031fb