Use the standard zlib options everyone else uses.

Change-Id: I000b39553aa6499ff1ebe615439d4e52745a7833
diff --git a/luni/src/main/native/java_util_zip_Deflater.cpp b/luni/src/main/native/java_util_zip_Deflater.cpp
index 2f27f5c..82d081b 100644
--- a/luni/src/main/native/java_util_zip_Deflater.cpp
+++ b/luni/src/main/native/java_util_zip_Deflater.cpp
@@ -52,10 +52,8 @@
      * that is: 128K for windowBits=15  +  128K for memLevel = 8  (default values)
      * plus a few kilobytes for small objects."
      */
-    // TODO: should we just use DEF_WBITS (15) and DEF_MEM_LEVEL (8) now?
-    int windowBits = noHeader ? -12 : 12; // Was 15, made it 12 to reduce memory consumption. Use MAX_WBITS for fastest.
-    int memLevel = 5; // Was 9 (MAX_MEM_LEVEL), made it 5 to reduce memory consumption. Might result
-                      // in out-of-memory problems according to some web pages.
+    int windowBits = noHeader ? -DEF_WBITS : DEF_WBITS;
+    int memLevel = DEF_MEM_LEVEL;
     int err = deflateInit2(&jstream->stream, level, Z_DEFLATED, windowBits, memLevel, strategy);
     if (err != Z_OK) {
         throwExceptionForZlibError(env, "java/lang/IllegalArgumentException", err);