Re: Long chains created by direct Buffer::slice

2018-08-06 Thread Alan Bateman
On 06/08/2018 19:13, Paul Sandoz wrote: Thanks, i uploaded a new webrev in place that uses a similar technique to some stuff in j.u.concurrent tests. The update looks good to me. -Alan

Re: Long chains created by direct Buffer::slice

2018-08-06 Thread Paul Sandoz
Thanks, i uploaded a new webrev in place that uses a similar technique to some stuff in j.u.concurrent tests. Paul. > On Aug 5, 2018, at 11:59 AM, Alan Bateman wrote: > > On 03/08/2018 23:15, Paul Sandoz wrote: >> Got caught up with JVMLS this week… >> >> I searched but could not find a

Re: Long chains created by direct Buffer::slice

2018-08-05 Thread Alan Bateman
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/

Re: Long chains created by direct Buffer::slice

2018-08-03 Thread Paul Sandoz
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/ Paul. > On Jul 27, 2018, at 12:35 PM,

Re: Long chains created by direct Buffer::slice

2018-07-27 Thread Paul Sandoz
> On Jul 27, 2018, at 1:09 AM, Florian Weimer wrote: > > * Paul Sandoz: > >> I created this issue: >> >> https://bugs.openjdk.java.net/browse/JDK-8208362 > > Thanks. > >> The suggested fix requires a tweak though since an instance of a >> DirectBuffer interface is passed. This is

Re: Long chains created by direct Buffer::slice

2018-07-27 Thread Florian Weimer
* Paul Sandoz: > I created this issue: > > https://bugs.openjdk.java.net/browse/JDK-8208362 Thanks. > The suggested fix requires a tweak though since an instance of a > DirectBuffer interface is passed. This is required because views > over direct ByteBuffers can be created. Noticed that as

Re: Long chains created by direct Buffer::slice

2018-07-26 Thread Paul Sandoz
+1 I created this issue: https://bugs.openjdk.java.net/browse/JDK-8208362 The suggested fix requires a tweak though since an instance of a DirectBuffer interface is passed. This is required because views over direct ByteBuffers can be created. Florian, i will push tomorrow and assign you

Re: Long chains created by direct Buffer::slice

2018-07-20 Thread mark . reinhold
2018/7/20 10:55:52 -0700, Florian Weimer : > ... > > The constructor invoked: > > | // For duplicates and slices > | // > | Direct$Type$Buffer$RW$$BO$(DirectBuffer db, // package-private > |int mark, int pos, int lim, int cap, > |