JDK-8022203 - Intermittent test failures in demo/jvmti/hprof
Staffan Larsen
staffan.larsen at oracle.com
Thu Feb 20 03:22:31 PST 2014
Looks good!
Thanks,
/Staffan
On 20 feb 2014, at 11:41, Sergei Kovalev <sergei.kovalev at oracle.com> wrote:
>
> Hello everyone,
>
> I'm working for https://bugs.openjdk.java.net/browse/JDK-8022203.
>
> As it was discussed, I prepared fix for the issue:http://cr.openjdk.java.net/~anazarov/8022203/webrev.02/
>
> The failure caused by slippage in IO operation due to file system performance. To avoid this situation we will use an unique file name for profiling dump. In this case we will have zero probability that tests would overlapped by output file. By default the file name for dump output builds from library name plus .java. prefix and .txt suffix. Hprof tool supports "file" option that used for providing the output file name. Therefore we can just add unique file name to options string for each individual tests that used hprof.
>
> Testing done:
> - single run of tests
> - Stability run of all modified tests
> - Modified stability run. I did some test modification that helped me to increase reproducibility rating. It was 500-1000 iteration instead 10,000 in original case. Test with modified options string ran 10,000 iteration.
>
> Could you please approve the fix?
>
> --
> With best regards,
> Sergei
>
More information about the serviceability-dev
mailing list