On Thu, 16 Feb 2023 05:32:26 GMT, Amit Kumar <d...@openjdk.org> wrote:
> As you can see, the size of out1 is insufficient for the s390x. That's why I > proposed the fix to increase the buffer size. Because the compressor is not > deterministic, I don't want to be byte-perfect, so I changed the multiplier > to `64` to leave some extra space here. I've re-read the discussion and I don't think the real issue is clear at this time. Can you check if it only needs additional space for the DEFAULT_COMPRESSION level, maybe change the loop to only test levels 0-9 and see if it passes? On determinism, then the test fills dataIn will random byte values, and the input length will be some random length up to dataIn.length, but otherwise I don't see anything that should cause the failure you are seeing. ------------- PR: https://git.openjdk.org/jdk/pull/12283