libcore/luni: Use -fno-strict-aliasing for now

This will be reverted once we have a proper fix.

Change-Id: Iab4663a5f96ff9770371f54697aa872260037ac1
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>

Conflicts:
	NativeCode.mk
GC triggering performance optimizations

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

Change-Id: If0b1637291e77f9781ae6249c5d0257f659253ca
Merge tag 'android-4.4.1_r1' into kitkat

Android 4.4.1 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
Revert "libcore/luni: Use -fno-strict-aliasing for now"

This reverts commit 59c8cc44c602bac5fea246000477cd06281ebf55.
Fix strict-aliasing violations
Don't force MemoryBlocks on classes that don't care.

Only MappedByteBuffer and DirectByteBuffer need to know
about this abstraction.

Change-Id: I293284c8b8a73ac01463337dc8a1e22d16cd378d
Merge branch 'kitkat' of github.com:AOSPAL/android_libcore into kitkat
Fix java.util.Random performance regression.

With the monitor change in ART, getting the identity hash code of an
object puts the hash code in the lock word. This hurts performance
if you synchronize on said object since it makes it that we always
go slow path for monitor enter and exit. Although the fix
allocates a new object in the Random constructor, it should not cause
performance problems assuming people don't excessively create new
random number generators.

Change-Id: I750e57fb7c5f70e66ad85d19e2c065e9e52a613f
Allow multiple gzip members in gzip streams.

We look for the gzip magic bytes at the end of every
member and try to decompress the remainder of the
stream if we find it.

Note that this changes the behaviour of this class wrt.
the underlying stream: It is no longer self limiting. It
will attempt to read past the gzip trailer to look for
more data to decompress. Before this change, it would've
been possible to (hackily) consume the rest of the compressed
stream directly by inspecting the value of
InflaterInputStream.inf.getRemainingBytes(). It's no longer
possible to sensibly support that.

bug: https://code.google.com/p/android/issues/detail?id=63873

Change-Id: I818f77c052a811ed98b76243f2ad8a1a4d236d70
Move DeleteOnExit to libcore.io.

Also makes the constructor private & a field final.

Change-Id: I1df833cee5f4217bd800c36104da2a76a1f1877d
Merge branch 'kitkat-exp' into kitkat
Delete test that depends on an external server.

This is correctly tested in libcore.java.net.URLConnectionTest
so there's no need for a badly written duplicate test.

bug: 12864018

(cherry picked from commit 4dd526880a8bf351508fe0d4b2b5cabc3d107527)

Change-Id: I0016298b8970bb937900a8e39aca2f4f252a7a1c
am 8ebfe8fb: Delete test that depends on an external server.

* commit '8ebfe8fb75f796ae77162787e8a44f5e03b847e2':
  Delete test that depends on an external server.
am 668ba674: am 8ebfe8fb: Delete test that depends on an external server.

* commit '668ba674e07f6771139e2756022297e65f03e7d0':
  Delete test that depends on an external server.
am 62d722a2: am 668ba674: am 8ebfe8fb: Delete test that depends on an external server.

* commit '62d722a2f2c5a946263d8e0b0977384e342e05da':
  Delete test that depends on an external server.
am 081a81cc: am 62d722a2: am 668ba674: am 8ebfe8fb: Delete test that depends on an external server.

* commit '081a81ccd9efbebf20100597bfdc81cafedd348b':
  Delete test that depends on an external server.
am 6ea1f04a: am 081a81cc: am 62d722a2: am 668ba674: am 8ebfe8fb: Delete test that depends on an external server.

* commit '6ea1f04a4de48536ba49bb52d2bcfe7f2d332f41':
  Delete test that depends on an external server.
am f3413a56: am 6ea1f04a: am 081a81cc: am 62d722a2: am 668ba674: am 8ebfe8fb: Delete test that depends on an external server.

* commit 'f3413a566c43a118dffae53e4be33734cd866874':
  Delete test that depends on an external server.
am 04845f58: am f3413a56: am 6ea1f04a: am 081a81cc: am 62d722a2: am 668ba674: am 8ebfe8fb: Delete test that depends on an external server.

* commit '04845f585facff37aed936bf5671132c3d794915':
  Delete test that depends on an external server.