Mercurial Hosting > luan
comparison src/org/eclipse/jetty/io/nio/DirectNIOBuffer.java @ 1030:80cad9086593
remove Buffer.isVolatile()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 03 Nov 2016 01:10:09 -0600 |
parents | 2712133d5bce |
children | b71ad168fe34 |
comparison
equal
deleted
inserted
replaced
1029:4e5e9e3c25b3 | 1030:80cad9086593 |
---|---|
44 private ReadableByteChannel _in; | 44 private ReadableByteChannel _in; |
45 private InputStream _inStream; | 45 private InputStream _inStream; |
46 | 46 |
47 public DirectNIOBuffer(int size) | 47 public DirectNIOBuffer(int size) |
48 { | 48 { |
49 super(READWRITE,NON_VOLATILE); | 49 super(READWRITE); |
50 _buf = ByteBuffer.allocateDirect(size); | 50 _buf = ByteBuffer.allocateDirect(size); |
51 _buf.position(0); | 51 _buf.position(0); |
52 _buf.limit(_buf.capacity()); | 52 _buf.limit(_buf.capacity()); |
53 } | 53 } |
54 | 54 |