||Memoization in Java Using Dynamic Proxy Classes|
|Subject:||Methods as Keys|
Response to: Methods as Keys
Thanks for your comments. It is definitely worth considering garbage collection of classes. As you point out, keeping a "standard" map whose keys are Method objects will prevent the Class instance that owns the method from being garbage collected since a Method has a reference to its owning Class.
Showing messages 1 through 1 of 1.
Methods as Keys
2003-08-22 08:35:05 crazybob [View]