JDK-8022203 - Intermittent test failures in demo/jvmti/hprof
sergei.kovalev at oracle.com
Wed Feb 19 23:18:44 PST 2014
Could somebody else take a look? I need one more approval.
18.02.2014 14:04, Staffan Larsen пишет:
> Looks good!
> On 17 feb 2014, at 13:32, 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.01/
>> 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 fix?
>> With best regards,
With best regards,
More information about the hotspot-dev