ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/ConcurrentHashMapTest.java
Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Wed Jan 27 02:55:18 2021 UTC (3 years, 2 months ago) by jsr166
Branch: MAIN
CVS Tags: HEAD
Changes since 1.65: +1 -0 lines
Diff to previous 1.65
Suppress all new errorprone "errors"

Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Wed Jan 27 01:57:24 2021 UTC (3 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.64: +23 -23 lines
Diff to previous 1.64
use diamond <> pervasively

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Tue Jan 26 18:03:27 2021 UTC (3 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.63: +1 -1 lines
Diff to previous 1.63
method modifier order

Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Tue Jan 26 13:33:05 2021 UTC (3 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.62: +153 -150 lines
Diff to previous 1.62
Replace Integer with Item class

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Sun Sep 29 20:40:48 2019 UTC (4 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.61: +0 -2 lines
Diff to previous 1.61
add MapTest.testConcurrentAccess

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Fri Oct 5 22:23:34 2018 UTC (5 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.60: +2 -3 lines
Diff to previous 1.60
coding style

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Fri Oct 5 22:12:45 2018 UTC (5 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.59: +1 -3 lines
Diff to previous 1.59
whitespace

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Fri Oct 5 19:01:35 2018 UTC (5 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.58: +19 -0 lines
Diff to previous 1.58
Catch more cases of attempted recursive updates

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Mon Jan 8 03:37:59 2018 UTC (6 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.57: +2 -7 lines
Diff to previous 1.57
drop support for jdks without Integer.compare

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Sun Jan 7 22:59:18 2018 UTC (6 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.56: +7 -11 lines
Diff to previous 1.56
use <>

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Wed Aug 23 05:33:00 2017 UTC (6 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.55: +16 -4 lines
Diff to previous 1.55
8186171: HashMap: Entry.setValue may not work after Iterator.remove() called for previous entries

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Fri Aug 4 03:30:21 2017 UTC (6 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.54: +1 -1 lines
Diff to previous 1.54
improve javadoc wording for testSerialization methods

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Sat Mar 18 20:42:20 2017 UTC (7 years ago) by jsr166
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53
better assertion style

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Sat Mar 11 17:33:32 2017 UTC (7 years ago) by jsr166
Branch: MAIN
Changes since 1.52: +0 -2 lines
Diff to previous 1.52
fix unused imports reported by errorprone [RemoveUnusedImports]

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Wed Jan 4 06:09:58 2017 UTC (7 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.51: +1 -1 lines
Diff to previous 1.51
convert to Diamond

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Sat Oct 15 18:51:12 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.50: +0 -26 lines
Diff to previous 1.50
fix 4jdk7-tck target by segregating jdk8+ tests

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Mon Aug 22 18:38:28 2016 UTC (7 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.49: +15 -0 lines
Diff to previous 1.49
fix JDK-8163353: NPE in ConcurrentHashMap.removeAll()

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Sun Jul 17 19:02:07 2016 UTC (7 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.48: +32 -3 lines
Diff to previous 1.48
add testcomputeIfAbsent_performance for JDK-8161372

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Sun Jul 17 03:40:07 2016 UTC (7 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.47: +16 -0 lines
Diff to previous 1.47
add testRemoveAll_performance

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Mon Jul 27 03:12:26 2015 UTC (8 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.46: +1 -1 lines
Diff to previous 1.46
whitespace

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Sun May 24 01:23:17 2015 UTC (8 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.45: +3 -1 lines
Diff to previous 1.45
coding style

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Sat Apr 25 04:55:30 2015 UTC (8 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.44: +1 -1 lines
Diff to previous 1.44
improve main methods; respect system properties; actually fail if a test fails

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Sat Feb 28 18:27:31 2015 UTC (9 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.43: +17 -17 lines
Diff to previous 1.43
narrow scope of try-catch

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Fri Feb 27 21:43:18 2015 UTC (9 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.42: +6 -6 lines
Diff to previous 1.42
StampedLockTest.java

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Sun Feb 22 04:34:44 2015 UTC (9 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.41: +1 -0 lines
Diff to previous 1.41
unused variable cleanup

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Thu Jan 15 18:34:19 2015 UTC (9 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.40: +0 -1 lines
Diff to previous 1.40
delete extraneous blank lines

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 19:05:42 2014 UTC (9 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.39: +12 -2 lines
Diff to previous 1.39
no wildcard imports

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Tue Sep 24 17:26:27 2013 UTC (10 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.38: +11 -8 lines
Diff to previous 1.38
improve runtimes of Comparable testing methods

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Tue Sep 24 17:03:14 2013 UTC (10 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37
testMixedComparable: reduce run time

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Mon Jul 22 15:55:43 2013 UTC (10 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.36: +25 -26 lines
Diff to previous 1.36
whitespace

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Sun Jul 21 22:24:18 2013 UTC (10 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.35: +65 -12 lines
Diff to previous 1.35
Adapt/incorporate JDK8 tests including suggestions by Eric Wang

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Sat Jul 20 16:53:40 2013 UTC (10 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.34: +4 -4 lines
Diff to previous 1.34
whitespace

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Sat Jul 20 16:50:12 2013 UTC (10 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.33: +51 -0 lines
Diff to previous 1.33
Ensure consistent insertion

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Sun Jul 14 21:41:06 2013 UTC (10 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.32: +5 -2 lines
Diff to previous 1.32
backport to java 6, to help jsr166e

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Wed Jun 12 18:09:00 2013 UTC (10 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.31: +6 -3 lines
Diff to previous 1.31
un-diamond for maximal portability

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Thu May 30 03:28:55 2013 UTC (10 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.30: +1 -1 lines
Diff to previous 1.30
prefer assertNotSame, assertNotNull to assertTrue

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Thu Apr 11 20:03:44 2013 UTC (10 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.29: +99 -0 lines
Diff to previous 1.29
move Comparable fallback tests to jdk7 version of CHM test

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Tue Sep 11 23:12:20 2012 UTC (11 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.28: +9 -10 lines
Diff to previous 1.28
Skip a check that need not be true under alt-hashing

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Tue Feb 21 02:04:17 2012 UTC (12 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.27: +1 -1 lines
Diff to previous 1.27
slightly clearer javadoc

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Tue Feb 21 01:54:03 2012 UTC (12 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.26: +1 -1 lines
Diff to previous 1.26
use third person in javadoc first sentence

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Sat Nov 26 05:19:17 2011 UTC (12 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.25: +1 -1 lines
Diff to previous 1.25
assertEquals argument order

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Tue May 31 16:16:23 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.24: +7 -15 lines
Diff to previous 1.24
use serialClone in serialization tests; update imports

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Fri May 27 19:26:42 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.23: +1 -6 lines
Diff to previous 1.23
indexOf => contains

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Tue Mar 15 19:47:06 2011 UTC (13 years ago) by jsr166
Branch: MAIN
CVS Tags: release-1_7_0
Changes since 1.22: +1 -1 lines
Diff to previous 1.22
Update Creative Commons license URL in legal notices

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Sat Oct 9 19:30:34 2010 UTC (13 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.21: +22 -22 lines
Diff to previous 1.21
whitespace

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Wed Aug 25 00:07:03 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.20: +1 -1 lines
Diff to previous 1.20
whitespace

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Tue Dec 1 09:48:13 2009 UTC (14 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.19: +0 -1 lines
Diff to previous 1.19
whitespace

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Sat Nov 21 17:38:05 2009 UTC (14 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.18: +21 -25 lines
Diff to previous 1.18
improve exception handling

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Sat Nov 21 10:25:05 2009 UTC (14 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.17: +12 -17 lines
Diff to previous 1.17
improve exception handling

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Sat Nov 21 02:07:26 2009 UTC (14 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.16: +79 -79 lines
Diff to previous 1.16
untabify

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Mon Nov 16 05:30:07 2009 UTC (14 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.15: +23 -23 lines
Diff to previous 1.15
whitespace

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Mon Nov 16 04:57:10 2009 UTC (14 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.14: +22 -22 lines
Diff to previous 1.14
whitespace

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Mon Nov 2 20:28:31 2009 UTC (14 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.13: +14 -14 lines
Diff to previous 1.13
whitespace

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Sat May 28 14:09:27 2005 UTC (18 years, 10 months ago) by dl
Branch: MAIN
Changes since 1.12: +43 -0 lines
Diff to previous 1.12
Add toArray tests for views

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Fri May 20 14:31:06 2005 UTC (18 years, 10 months ago) by dl
Branch: MAIN
Changes since 1.11: +13 -0 lines
Diff to previous 1.11
add test for remove(x, null)

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Fri Jul 2 10:26:28 2004 UTC (19 years, 9 months ago) by dl
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10
testContainsValue tests containsValue, not contains

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Wed Jun 2 23:49:34 2004 UTC (19 years, 10 months ago) by dl
Branch: MAIN
Changes since 1.9: +0 -9 lines
Diff to previous 1.9
Remove clone test for ConcurrentHashMap; it no longer implement Cloneable

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Sat Dec 27 19:26:43 2003 UTC (20 years, 3 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_PFD
Changes since 1.8: +5 -4 lines
Diff to previous 1.8
Headers reference Creative Commons

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Sat Dec 6 00:22:26 2003 UTC (20 years, 3 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_DEC9_POST_ES_SUBMIT, JSR166_DEC9_PRE_ES_SUBMIT
Changes since 1.7: +2 -2 lines
Diff to previous 1.7
replace returns old value

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Wed Dec 3 21:08:24 2003 UTC (20 years, 3 months ago) by dl
Branch: MAIN
Changes since 1.6: +98 -2 lines
Diff to previous 1.6
test replace methods

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Fri Nov 28 12:38:08 2003 UTC (20 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.5: +24 -0 lines
Diff to previous 1.5
Test EntrySet.entry.setValue

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sat Sep 20 18:20:07 2003 UTC (20 years, 6 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_NOV3_FREEZE
Changes since 1.4: +151 -87 lines
Diff to previous 1.4
Documentation scaffolding

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sat Sep 20 00:31:57 2003 UTC (20 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.3: +11 -1 lines
Diff to previous 1.3
Added tests

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Sun Sep 14 20:42:40 2003 UTC (20 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.2: +13 -19 lines
Diff to previous 1.2
New base class JSR166TestCase

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Sun Sep 7 20:39:11 2003 UTC (20 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.1: +23 -0 lines
Diff to previous 1.1
Added serialization and lock tests

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sun Aug 31 19:24:54 2003 UTC (20 years, 7 months ago) by dl
Branch: MAIN
First check-in of tests to be in tck

Convenience Links

Links to HEAD: (view) (download) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a