From: <web...@st...> - 2003-07-15 18:23:19
|
On Tue, 15 Jul 2003, Brian Goetz wrote: | I'm thinking of pruning Justin's home-grown profiling mechanism. It | seems pretty intrusive and certainly adds a lot of code. Any | objections? None at all! | | I've removed the pooling of contexts and am almost done with the | pooling of FastWriters (which are now internal.) I removed the ascii | hack from FW (since its now no longer exposed anyway.) Excellent! | | I've removed the explicit cleanup of context tools and am letting | garbage collection do that for us. I pushed tools loading into the | Broker; as a result, the Context got a lot lighter-weight. | | I'm working on removing the reference counting of Brokers and am | hoping to be able to let garbage collection do it all for us. I don't feel GC'ing should take care of open files, DB connections etc, such resources should have explicit life cycles. | | Then I'll replace ScalableMap with ConcurrentHashMap and I should be | done for this round of refactoring, leaving us with a much slimmer, | easier to navigate WM. This sounds fantastic. Could you also get rid of all threads while you're at it? ;) The System.currentMills() super-thread for improving loggingspeed or -whatever- it does should be killed. WM is a library, and threads being created here and there w/o me wanting it is annoying! Endre. |