JDK-8022203 - Intermittent test failures in demo/jvmti/hprof
Sergei Kovalev
sergei.kovalev at oracle.com
Mon Feb 17 04:32:42 PST 2014
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,
Sergei
More information about the hotspot-dev
mailing list