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
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
Fix compilation of Enum on JDK 7

Change-Id: I2e58b6a527e4ef1fc7ed3359b8aea88d01a031fb
Merge tag 'android-4.2.2_r1' of https://android.googlesource.com/platform/libcore into 1.1

Android 4.2.2 release 1
GC triggering performance optimizations

Copy the correct starting heap size at process init.
Interfaces to set GC/managed heap parameters.

Change-Id: If0b1637291e77f9781ae6249c5d0257f659253ca
libcore: Better Enum fix for JDK 7

 * Jerome Pilliet suggests using a cast in the compareTo method instead of
   changing the field visibility. This is a much better fix.

Change-Id: I334105e0922225512a4d0a2d4b6c9c6ec71b9c51
Remove support for duplicate file entries

Bug: 8219321
Change-Id: Ibc56bea753917c38e1bb20df48aa45fdff39d364
Merge remote-tracking branch 'cm/cm-10.1' into jb-mr1