JDK-8169222 : minor immutable collections optimizations
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.util:collections
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-11-03
  • Updated: 2017-03-28
  • Resolved: 2016-11-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b144Fixed
Description
Avoid using floating point when creating SetN and MapN instances.

Avoid creating a single-use Random instance when generating the hash salt.
Comments
Review thread: http://mail.openjdk.java.net/pipermail/core-libs-dev/2016-November/044535.html
04-11-2016