Skip to content

Rename finalize() method

Summary

finalize is keyword in Java and a method with that name is automatically invoked by the JVM right before the garbage collector is removing that object. Something similar to the C++ destructor methods. But in Java it is really not encouraged to use this. It was even deprecated in Java 9. This is why I would suggest rename the method to something less misleading, unless you really want to implicate that it is actually a Java finalize method. Also see https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize-- for more details. I am referring to the finalize method within the MpiFacade.

Environment

  1. FAME-Mpi-api version: 1.0.1

Possible fixes

Rename method

Edited by Christoph Schimeczek
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information