On Wed, 3 Mar 2021 06:31:44 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

>> The problem is that i tried to reproduce this behavior locally on Ubuntu 
>> running this test (and the simplified version of it) literally millions of 
>> times. The only time it fails is when it is run on mach5 and even then it 
>> fails very rarely - once per hundreds of runs. The changes here - especially 
>> forcing the resize - seems to eliminate the problem with mach5.
>
> Then it is a product bug, If the problem is unrelated to the performance and 
> the root cause is in the wrong/broken final layout. Do we want to suggest the 
> same thing if the user will get the same issue in their app?

It might be a product bug. Or it might be something specific to the machines 
with mach5 system. Or to some specific machine having hardware issue (i noticed 
that in my case all failures happened on one specific Linux test system). 
That's the problem. I have a simplified test case that should check for that 
specific problem and i'm running a dedicated Linux host in my home office with 
the same OS version than problematic machine that does nothing but runs this 
test in interactive mode for days. Today only i ran this test over 700000 times 
- 0 failures. If i would have a way to at least semi-reliable reproduce the 
problem i would create a new bug and would debug and fix it. But i don't. And 
the changes i made is simply a way to let this test to run even on the 
problematic host because the problem that happens have nothing to do with the 
functionality related to the test itself.

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

PR: https://git.openjdk.java.net/jdk/pull/2790

Reply via email to