Citation Attila Kocsis Z, Neumann G, Swan J, Epitropakis M, Brownlee A, Haraldsson S & Bowles E (2014) Repairing and Optimizing Hadoop hashCode Implementations In: Le Goues C, Yoo S (ed.) Search-Based Software Engineering: 6th International Symposium, SSBSE 2014, Fortaleza, Brazil, August 26-29, 2014. Proceedings, Berlin Heidelberg: Springer. 6th International Symposium, SSBSE 2014, 26.8.2014 - 29.8.2014, Fortaleza, Brazil, pp. 259-264.
Abstract We describe how contract violations in JavaTM hashCode methods can be repaired using novel combination of semantics-preserving and generative methods, the latter being achieved via Automatic Improvement Programming. The method described is universally applicable. When applied to the Hadoop platform, it was established that it produces hashCode functions that are at least as good as the original, broken method as well as those produced by a widely-used alternative method from the ‘Apache Commons' library.
Le Goues C, Yoo S
Attila Kocsis Zoltan, Neumann Geoffrey, Swan Jerry, Epitropakis Michael, Brownlee Alexander, Haraldsson Saemundur, Bowles Edward