< prev index next >
src/java.xml/share/classes/com/sun/xml/internal/stream/util/BufferAllocator.java
Print this page
*** 29,40 ****
/**
* Buffer allocator for buffers of sizes 128 B, 2 KB and 8 KB. Includes
* methods for allocating and freeing buffers.
*
! * @author Binu.John@sun.com
! * @author Santiago.PericasGeertsen@sun.com
*/
public class BufferAllocator {
private static final int SMALL_SIZE_LIMIT = 128;
private static final int MEDIUM_SIZE_LIMIT = 2048;
private static final int LARGE_SIZE_LIMIT = 8192;
--- 29,40 ----
/**
* Buffer allocator for buffers of sizes 128 B, 2 KB and 8 KB. Includes
* methods for allocating and freeing buffers.
*
! * @author Binu John
! * @author Santiago PericasGeertsen
*/
public class BufferAllocator {
private static final int SMALL_SIZE_LIMIT = 128;
private static final int MEDIUM_SIZE_LIMIT = 2048;
private static final int LARGE_SIZE_LIMIT = 8192;
< prev index next >