Commit Graph

48 Commits

Author SHA1 Message Date
Igor Ignatyev
f84b521220 8181761: add explicit @build actions for jdk.test.lib classes in all :tier2 tests
Reviewed-by: alanb
2017-06-12 12:43:26 -07:00
Amy Lu
143bb171a7 8181393: Refactor shell test Selector/lots_of_updates.sh and SocketChannel/Open.sh to java
Reviewed-by: psandoz
2017-06-05 14:07:07 +08:00
Brian Burkhalter
3080f4509d 8180431: Remove intermittent keyword from some no longer failing NIO tests
Remove "intermittent" keyword from @key tag,

Reviewed-by: alanb
2017-05-16 14:11:48 -07:00
Brian Burkhalter
ec2626b88e 8177559: Enable java/nio/channels/Selector/OutOfBand.java for macOS >= 10.10.5
Enable test for macOS 10.10.5 and newer and remove from problem list

Reviewed-by: alanb, amlu
2017-03-28 09:02:59 -07:00
Brian Burkhalter
b9cff83140 8177565: java/nio/channels/Selector/SelectorLimit.java disabled for Windows release >= 6.0
Remove check of Windows version

Reviewed-by: alanb
2017-03-24 15:02:19 -07:00
Brian Burkhalter
990e5a380e 8176744: Improve internal timing of java/nio/channels/Selector/SelectAndClose.java
Replace two sleeps with CountDownLatch+sleep and Thread.join()

Reviewed-by: rriggs, alanb
2017-03-14 16:43:59 -07:00
Brian Burkhalter
ac6b3c4d5d 8176332: Increase sleep time in java/nio/channels/Selector/ChangingInterests.java write1()
Increase sleep from 50 to 150 ms.

Reviewed-by: alanb
2017-03-09 08:55:59 -08:00
Brian Burkhalter
a66653d1dc 8175033: (se) Improve internal timing of java/nio/channels/Selector/WakeupAfterClose.java
Add print of expected ClosedSelectorException

Reviewed-by: alanb
2017-02-16 12:26:23 -08:00
Joe Darcy
52bf1f47f2 8174960: Mark WakeupAfterClose.java as failing intermittentl
Reviewed-by: rriggs, bpb
2017-02-14 13:08:33 -08:00
Brian Burkhalter
1e4efa15be 8173387: java/nio/channels/Selector/SelectTimeout.java failed with "Test timed out early with timeout 100000000999"
Corrected timing problem with multiple threads setting static variables

Reviewed-by: clanger, alanb
2017-02-09 07:48:19 -08:00
Brian Burkhalter
5aa0f30214 8172547: (se) Selector.select(Long.MAX_VALUE) fires repeatedly
Clamp the jlong-valued select() timeout to INT_MAX for struct timeval

Reviewed-by: rriggs, clanger, alanb
2017-01-19 13:46:45 -08:00
Alan Bateman
30bcdb962c Merge 2016-12-01 11:16:23 +00:00
Alan Bateman
fbe85300bf 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Reviewed-by: plevart, chegar, psandoz, mchung, alanb, dfuchs, naoto, coffeys, weijun
2016-12-01 08:57:53 +00:00
Hamlin Li
f1187fde71 8049316: java/nio/channels/Selector/Wakeup.java failing
Reviewed-by: rriggs, alanb
2016-11-30 18:25:07 -08:00
Brian Burkhalter
925586066c 8165000: Selector.select(timeout) throws IOException when timeout is a large long
Clamp the timeout passed to kevent0 to the largest value that does not provoke the error.

Reviewed-by: clanger, alanb
2016-09-02 12:38:27 -07:00
Brian Burkhalter
911dda4ee1 8163305: Add some print instrumentation to java/nio/channels/Selector/RacyDeregister
Perform more iterations on Windows, and on all platforms if the test enters the failure branch, poll for an extra period of time to determine whether it might have succeeded with a longer timeout

Reviewed-by: chegar
2016-08-09 07:50:26 -07:00
Amy Lu
2929c453fb 8153722: Mark java/nio/channels/Selector/SelectAndClose.java as intermittently failing
Reviewed-by: bpb, darcy
2016-04-11 12:27:48 +08:00
Joe Darcy
57494c431d 8151750: Mark ChangingInterests.java as intermittently failing
Reviewed-by: lancea
2016-03-11 15:30:20 -08:00
Joe Darcy
86c109e149 8078334: Mark regression tests using randomness
Reviewed-by: xuelei, alanb
2015-04-29 10:25:53 -07:00
Joe Darcy
07cd371738 8075670: Remove intermittent keyword from some tests
Reviewed-by: alanb
2015-03-23 09:45:32 -07:00
Joe Darcy
2596979bfe 8075565: Define @intermittent jtreg keyword and mark intermittently failing jdk tests
Reviewed-by: lancea
2015-03-19 18:38:26 -07:00
Michael Cui
df046b387e 8031563: TEST_BUG: java/nio/channels/Selector/ChangingInterests.java failed once
Reviewed-by: alanb
2014-03-25 10:14:09 +00:00
Lana Steuck
657b9db1ba 8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
Updated files with 2011, 2012 and 2013 years according to the file's last updated date

Reviewed-by: tbell, lancea, chegar
2013-12-26 12:04:16 -08:00
Alan Bateman
91cc7f3c28 8027212: java/nio/channels/Selector/SelectAfterRead.java fails intermittently
Reviewed-by: chegar, ewang
2013-12-14 09:27:12 +00:00
Alan Bateman
2785e7d00a 8024883: (se) SelectableChannel.register throws NPE if fd >= 64k (lnx)
Co-authored-by: Norman Maurer <nmaurer@redhat.com>
Reviewed-by: alanb, coffeys
2013-09-18 14:10:24 +01:00
Frank Ding
7886b3e26b 6429204: (se) Concurrent Selector.register and SelectionKey.interestOps can ignore interestOps
Reviewed-by: alanb
2013-02-18 08:14:18 +00:00
Daniel Fuchs
f2eac8a30a 6720349: (ch) Channels tests depending on hosts inside Sun
This changeset make the nio tests start small TCP or UDP servers from within the tests, instead of relying on external services.

Reviewed-by: alanb
2012-11-07 13:24:39 +01:00
Alan Bateman
430592a30e 7197491: update copyright year to match last edit in jdk8 jdk repository
Reviewed-by: chegar, ksrini
2012-11-02 15:50:11 +00:00
Alan Bateman
903c4c0c7f 7200742: (se) Selector.select does not block when starting Coherence (sol)
Reviewed-by: chegar
2012-09-27 10:30:56 +01:00
Alan Bateman
08c4f120c9 7172826: (se) Selector based on the Solaris event port mechanism
Reviewed-by: coffeys, chegar
2012-06-06 17:59:29 +01:00
Alan Bateman
b29ee10938 7143744: (se) Stabilize KQueue SelectorProvider and make default on MacOSX
Reviewed-by: michaelm, chegar
2012-04-16 20:12:20 +01:00
Kelly O'Hair
6b6a611c8e 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:53:50 -08:00
Sean Coffey
9b05f554fa 6974104: TEST: sun/nio/ch/6645197.java should be fixed in 1.5.0u25b05 and jdk6 workspace
Reviewed-by: alanb
2010-10-18 18:04:02 +01:00
Alan Bateman
ba3ab12326 6983794: TEST_BUG: test/java/nio/channels/Selector/ConnectWrite.java failing
Reviewed-by: chegar
2010-09-10 18:48:49 +01:00
Alan Bateman
62b559b4e9 6213702: (so) non-blocking sockets with TCP urgent disabled get still selected for read ops (win)
Reviewed-by: michaelm, chegar
2010-06-29 17:11:12 +01:00
Alan Bateman
670501c6c6 6963027: TEST_BUG: channels and buffer tests need to run in samevm mode
Reviewed-by: ohair, sherman, chegar
2010-06-23 20:19:29 +01:00
Alan Bateman
dadf7053f7 6961630: TEST_BUG: Several SocketChannel and Selector tests can fail with "address already in use"
Reviewed-by: chegar
2010-06-16 14:24:46 +01:00
Alan Bateman
52c2b63a7a 6932744: TEST_BUG: java/nio/channels/Selector/OpRead.java failing
Reviewed-by: chegar
2010-06-15 16:36:20 +01:00
Kelly O'Hair
fe008ae27a 6943119: Rebrand source copyright notices
Reviewed-by: darcy, weijun
2010-05-25 15:58:33 -07:00
Kelly O'Hair
a59db62f07 6911113: These tests do not work with CYGWIN: java/nio
Reviewed-by: tbell, alanb
2010-01-04 15:36:06 -08:00
Igor Chernyshev
fb6b9445d7 6897993: (se) Close or cancel performance issue when number of pending updates is high (lnx)
Use O(1) Iterator instead of O(N) operations on LinkedList updateList

Reviewed-by: alanb
2009-11-04 15:22:30 -08:00
Alan Bateman
9676f044cb 6823609: (se) Selector.select hangs on Windows under load
Reviewed-by: sherman
2009-04-03 22:10:36 +01:00
Alan Bateman
78e9762656 6824477: (se) Selector.select fails with IOException: "Invalid argument" if maximum file descriptors is low
Reviewed-by: sherman
2009-04-02 19:47:24 +01:00
Alan Bateman
f59df4d489 6693490: (se) select throws "File exists" IOException under load (lnx)
Reviewed-by: sherman
2009-03-27 15:24:37 +00:00
Xueming Shen
7add953cfe 5025260: Register methods should throw ClosedChannelException instead of NPE
Update the spec and implementation to throw ClosedSelectorException

Reviewed-by: alanb
2008-10-13 14:45:27 -07:00
Xiomara Jayasena
6e86513c3a 6754988: Update copyright year
Update for files that have been modified starting July 2008

Reviewed-by: ohair, tbell
2008-10-02 19:58:32 -07:00
Xueming Shen
5628d956d5 6405995: (ch) test/java/nio/channels/Selector/Wakeup.java broken
Moved the unit test case back to open repo, it works after bugfixes in jdk6

Reviewed-by: alanb
2008-07-17 14:26:51 -07:00
J. Duke
319a3b9947 Initial load 2007-12-01 00:00:00 +00:00