﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
319	don't use finalizables in kona (java) code	Fred T. Hamster		"** stop using finalizables...  they hose up the gc like crazy.  extra maintenance, slower, etc etc.

** use more immutable holders, where the referenced object is final.  this causes old objects to be linked to other old objects, rather than in mutable case where an old object can be changed to point to a new object.  when that happens, much following of old crud must occur to make sure things are updated.  with immutable version, that update cannot happen.  old object just goes away.
example:

public class ImmutableHolder {
  private final Object value;
  public ImmutableHolder(Object o) { value = o; }
  public Object getValue() { return value; }
}


...=> reference article would be nice.
"	refactoring	new	minor		feistymeow-kona			java, finalizable	
