finalizers

Date view Thread view Subject view Author view

From: Godmar Back (gback@cs.utah.edu)
Date: Tue Oct 13 1998 - 13:35:06 EDT


 Hi, while going through the recent changes, I noticed that class.final
has disappeared. I believe we're taking a big hit by doing so.
I know for sure that we lose bitterly in artificial gc benchmarks;
I would suspect some impact under normal use as well.

Basically, what needs to be done is to analyze whether a class has a
non-empty finalizer (in most cases, classes will inherit the empty
finalizer of java.lang.Object), and if so, set class.final and finalize.
Whether a finalizer is empty or not should be simply inferred from the
length of the code---or am I missing something here?

What do you think?

        - Godmar


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:00 EDT