-
Bug
-
Resolution: Fixed
-
P4
-
8, 9, 10, 11
-
b20
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8206769 | 12 | Doug Lea | P4 | Resolved | Fixed | team |
JDK-8206546 | 11.0.1 | Doug Lea | P4 | Resolved | Fixed | b01 |
A DESCRIPTION OF THE PROBLEM :
The following two statements:
new ConcurrentHashMap(22,0.75f,1);
new ConcurrentHashMap(22).
The first construct method makes sizeCtl field value to 32, but the second one makes sizeCtl to 64.Both the two construct methods use the same parameter value. I think they should make the 'sizeCtl' value to be the same.
FREQUENCY : always
The following two statements:
new ConcurrentHashMap(22,0.75f,1);
new ConcurrentHashMap(22).
The first construct method makes sizeCtl field value to 32, but the second one makes sizeCtl to 64.Both the two construct methods use the same parameter value. I think they should make the 'sizeCtl' value to be the same.
FREQUENCY : always
- backported by
-
JDK-8206546 value of 'sizeCtl' in ConcurrentHashMap varies with the constructor called
-
- Resolved
-
-
JDK-8206769 value of 'sizeCtl' in ConcurrentHashMap varies with the constructor called
-
- Resolved
-
- relates to
-
JDK-8249589 tryPresize use load-factor of 2/3, not the documented default of 3/4
-
- Closed
-