RFR: 8071507: (ref) Clear phantom reference as soft and weak references do
Kim Barrett
kim.barrett at oracle.com
Fri Dec 4 19:16:14 UTC 2015
On Dec 4, 2015, at 1:16 PM, Kim Barrett <kim.barrett at oracle.com> wrote:
>
> I'd rather not clutter and uglify this and other tests to deal with a
> problem we don't (so far as I can tell) presently actually have. If a
> problem does arise, the form of that problem will help guide what the
> solution needs to be. I suspect adding something to WhiteBox would be
> the proper approach, so that it can be shared with other tests of this
> form.
But maybe I should use WhiteBox.fullGC instead of System.gc?
More information about the core-libs-dev
mailing list