Comment #52 on issue 288 by [email protected]:
FinalizableReferenceQueue still leaks
http://code.google.com/p/google-guice/issues/detail?id=288
How early do we need to have the instance of an executor?
Thread started here:
http://code.google.com/p/google-guice/source/browse/trunk/src/com/google/inject/internal/Finalizer.java?r=830#82
Which is only invoked by:
http://code.google.com/p/google-guice/source/browse/trunk/src/com/google/inject/internal/FinalizableReferenceQueue.java?r=830#117
Which is only invoked by:
http://code.google.com/p/google-guice/source/browse/trunk/src/com/google/inject/internal/MapMaker.java?r=830#773
Which is only invoked when the private static class MapMaker.QueueHolder is
accessed at these locations:
1)
http://code.google.com/p/google-guice/source/browse/trunk/src/com/google/inject/internal/MapMaker.java?r=830#873
2)
http://code.google.com/p/google-guice/source/browse/trunk/src/com/google/inject/internal/MapMaker.java?r=830#931
3)
http://code.google.com/p/google-guice/source/browse/trunk/src/com/google/inject/internal/MapMaker.java?r=830#989
4)
http://code.google.com/p/google-guice/source/browse/trunk/src/com/google/inject/internal/MapMaker.java?r=830#1014
Which would occur when MapMaker creates soft/weak keys or soft/weak
references. (Does it create any of those before entries are added?)
We need the executor when we obtain the ReferenceQueue for
FinalizerReferenceQueue (frq).
We *should* have the ability to access the executor instance before
MapMaker *creation*.
We *must* have the ability to access the executor instance before MapMaker
*addition*. (unless I'm mistaken)
For a Guice application, when is the first MapMaker instance _created_ as
well as the first _addition_ to it? I'm running out of time for this
research, so I need help here.
--
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-guice-dev?hl=en.