mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8061686: Size limits in BufferAllocator should have been final
Reviewed-by: lancea, chegar
This commit is contained in:
parent
12b7532ad0
commit
a3b952a84d
1 changed files with 3 additions and 3 deletions
|
@ -35,9 +35,9 @@ import java.lang.ref.*;
|
|||
* @author Santiago.PericasGeertsen@sun.com
|
||||
*/
|
||||
public class BufferAllocator {
|
||||
public static int SMALL_SIZE_LIMIT = 128;
|
||||
public static int MEDIUM_SIZE_LIMIT = 2048;
|
||||
public static int LARGE_SIZE_LIMIT = 8192;
|
||||
private static final int SMALL_SIZE_LIMIT = 128;
|
||||
private static final int MEDIUM_SIZE_LIMIT = 2048;
|
||||
private static final int LARGE_SIZE_LIMIT = 8192;
|
||||
|
||||
char[] smallCharBuffer;
|
||||
char[] mediumCharBuffer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue