-
Bug
-
Resolution: Fixed
-
P4
-
8-shenandoah, 11.0.9, 15, 16
-
b08
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8250946 | 15.0.2 | Aleksey Shipilev | P4 | Resolved | Fixed | b01 |
JDK-8251078 | 15.0.1 | Aleksey Shipilev | P4 | Resolved | Fixed | b04 |
JDK-8251226 | 11.0.9 | Aleksey Shipilev | P4 | Resolved | Fixed | b03 |
Caught a very intermittent test failure in sh/jdk8 testing:
STDOUT:
Pauses expected = [1; 9223372036854775807], actual = 209
Cycles expected = [1; 9223372036854775807], actual = 209
STDERR:
java.lang.IllegalStateException: Cycle duration (209), pause duration (209)
at TestPauseNotifications.main(TestPauseNotifications.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.lang.Thread.run(Thread.java:748)
But in STW mode, "cycle time" can equal "pause time". The test condition is not correct.
STDOUT:
Pauses expected = [1; 9223372036854775807], actual = 209
Cycles expected = [1; 9223372036854775807], actual = 209
STDERR:
java.lang.IllegalStateException: Cycle duration (209), pause duration (209)
at TestPauseNotifications.main(TestPauseNotifications.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.lang.Thread.run(Thread.java:748)
But in STW mode, "cycle time" can equal "pause time". The test condition is not correct.
- backported by
-
JDK-8250946 Shenandoah: gc/shenandoah/mxbeans tests should account for corner cases
- Resolved
-
JDK-8251078 Shenandoah: gc/shenandoah/mxbeans tests should account for corner cases
- Resolved
-
JDK-8251226 Shenandoah: gc/shenandoah/mxbeans tests should account for corner cases
- Resolved