On 15 Oct 2015, at 14:21, Roger Riggs <roger.ri...@oracle.com> wrote:
> ... > > Also, I've seen a few calls to super.finalize() where there were no finalizers > in any of the superclasses. It would be considered good design to always > include it. > I don't know if the optimization for empty finalize methods includes the > case where it only calls super.finalize(). I believe it is only for empty finalize methods. http://hg.openjdk.java.net/jdk9/jdk9/hotspot/file/tip/src/share/vm/classfile/classFileParser.cpp#l2506 http://hg.openjdk.java.net/jdk9/jdk9/hotspot/file/tip/src/share/vm/classfile/classFileParser.cpp#l4509 -Chris.