equal
deleted
inserted
replaced
169 * duplication, we allow just a font to be a key implying a default FRC. |
169 * duplication, we allow just a font to be a key implying a default FRC. |
170 * Also we put the references on a queue so that if they do get nulled |
170 * Also we put the references on a queue so that if they do get nulled |
171 * out we can clear the keys from the table. |
171 * out we can clear the keys from the table. |
172 */ |
172 */ |
173 private static class KeyReference extends SoftReference |
173 private static class KeyReference extends SoftReference |
174 implements DisposerRecord { |
174 implements DisposerRecord, Disposer.PollDisposable { |
175 |
175 |
176 static ReferenceQueue queue = Disposer.getQueue(); |
176 static ReferenceQueue queue = Disposer.getQueue(); |
177 |
177 |
178 Object key; |
178 Object key; |
179 |
179 |