19 Commits

Author SHA1 Message Date
Tagir F. Valeev
3f3a1f534b 8302815: Use new Math.clamp method in core libraries
Reviewed-by: alanb
2023-02-22 09:51:14 +00:00
Jaikiran Pai
4b03e135e1 8285405: add test and check for negative argument to HashMap::newHashMap et al
Reviewed-by: chegar, naoto, lancea, smarks
2022-08-11 02:17:01 +00:00
Stuart Marks
eeaf0bbabc 8289872: wrong wording in @param doc for HashMap.newHashMap et. al.
Reviewed-by: chegar, naoto, iris
2022-07-08 17:03:48 +00:00
XenoAmess
87faa85c59 8186958: Need method to create pre-sized HashMap
Reviewed-by: chegar, naoto, joehw, lancea, wetmore, smarks
2022-04-19 00:03:56 +00:00
XenoAmess
3e393047e1 8281631: HashMap copy constructor and putAll can over-allocate table
Reviewed-by: smarks
2022-03-16 16:48:49 +00:00
Julia Boes
dd199ee063 8266097: Better hashing support
Reviewed-by: chegar, dfuchs, ahgross, smarks, rhalade
2021-10-19 18:25:58 +00:00
Patrick Concannon
a52c4ede2f 8267110: Update java.util to use instanceof pattern variable
Reviewed-by: lancea, naoto
2021-05-25 08:24:49 +00:00
Christoph Dreis
742d35e08a 8245677: Optimize lookups in empty HashMaps
Reviewed-by: jlaskey, redestad
2020-05-25 22:21:45 +02:00
Joe Darcy
9d764ee48e 8229997: Apply java.io.Serial annotations in java.base
Reviewed-by: alanb, rriggs
2019-08-29 16:31:34 -07:00
Tagir F. Valeev
822c02437a 8225339: Optimize HashMap.keySet()/HashMap.values()/HashSet toArray() methods
Reviewed-by: rriggs, redestad, smarks
2019-06-14 05:02:58 +00:00
Doug Lea
f0807ebc18 8210280: Unnecessary reallocation when invoking HashMap.putAll()
Co-authored-by: Michal Vala <mvala@redhat.com>
Co-authored-by: Martin Buchholz <martinrb@google.com>
Reviewed-by: martin, mvala, igerasim, chegar, rriggs
2019-02-08 13:39:22 -08:00
Mandy Chung
9ffe7e1205 8211122: Reduce the number of internal classes made accessible to jdk.unsupported
Reviewed-by: alanb, dfuchs, kvn
2018-11-06 10:01:16 -08:00
Brent Christian
51d0a9e122 8205399: Set node color on pinned HashMap.TreeNode deletion
Reviewed-by: martin
2018-08-10 12:05:53 -07:00
Doug Lea
85daddd4cf 8205620: Miscellaneous changes imported from jsr166 CVS 2018-07
Reviewed-by: martin, psandoz
2018-07-10 10:24:08 -07:00
Ivan Gerasimov
ee601ac627 8203279: Faster rounding up to nearest power of two
Reviewed-by: martin, redestad
2018-05-21 12:49:03 -07:00
Jonathan Gibbons
6a8ea38ecc 8199465: {@docRoot} references need to be updated to reflect new module/package structure
Reviewed-by: martin, alanb, chegar
2018-03-27 16:25:40 -07:00
Stuart Marks
7d547d0ee4 8174109: Better queuing priorities
Reviewed-by: chegar, dfuchs, rriggs, alanb, robm, rhalade, jeff, ahgross
2017-08-02 10:34:35 -07:00
Doug Lea
d9d91c1cc4 8186171: HashMap: Entry.setValue may not work after Iterator.remove() called for previous entries
Reviewed-by: martin, psandoz
2017-10-03 13:45:11 -07:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00