On Mon, 30 Jan 2023 08:03:38 GMT, Amit Kumar <d...@openjdk.org> wrote:
> DeInflate.java test fails on s390x platform because size for out1 array which > is responsible for storing the compressed data is insufficient. And being > unable to write whole compressed data on array, on s390 whole data can't be > recovered after compression. So this fix increase Array size (for s390). Hi Alan, here is output: level:0, strategy: 2, dowrap: true is finished: true is finished: true is finished: true is finished: true is finished: true level:1, strategy: 0, dowrap: false is finished: false m=525312, n=497972, len=524288, eq=false STDERR: java.lang.RuntimeException: De/inflater failed:java.util.zip.Deflater@23a0858b But I guess this behaviour could be explained (by zEDC). On s390x, there is additional instruction present and it could be enabled by setting `DFLTCC=1`. And for accelerator the size of compressed data could go`2 times` the size of actual data. Again this is not deterministic as well, i.e. for same data there could be different valid deflate stream. ------------- PR: https://git.openjdk.org/jdk/pull/12283