Long chains created by direct Buffer::slice
Alan Bateman
Alan.Bateman at oracle.com
Sun Aug 5 18:59:59 UTC 2018
On 03/08/2018 23:15, Paul Sandoz wrote:
> Got caught up with JVMLS this week…
>
> I searched but could not find a test, so i added one, see:
>
> http://cr.openjdk.java.net/~psandoz/jdk/JDK-8208362-direct-buffer-att/webrev/ <http://cr.openjdk.java.net/~psandoz/jdk/JDK-8208362-direct-buffer-att/webrev/>
>
One comment on the test is that the references to the intermediate refs
may not be cleared immediately after the GC. It might be more reliable
to loop, with a backoff, until at least one has been cleared.
-Alan
More information about the core-libs-dev
mailing list