On Tue, 7 Feb 2023 13:41:37 GMT, Sean Mullan <mul...@openjdk.org> wrote:

>> You are correct. How did I come up with 220?
>
> @mcpowers can you also add a comment to the test, maybe right before line 95, 
> with something like I said above: 
> 
> "Random is producing the same sequence of bytes for each thread, and thus 
> each MessageDigest should be equal. When the memory is shared, they 
> inevitably overwrite each other's tempArray and you get different results."

Good idea. It's not obvious what's going on.

-------------

PR: https://git.openjdk.org/jdk/pull/12348

Reply via email to