Long chains created by direct Buffer::slice (original) (raw)
Alan Bateman Alan.Bateman at oracle.com
Sun Aug 5 18:59:59 UTC 2018
- Previous message: Long chains created by direct Buffer::slice
- Next message: Long chains created by direct Buffer::slice
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Long chains created by direct Buffer::slice
- Next message: Long chains created by direct Buffer::slice
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]