-
Bug
-
Resolution: Incomplete
-
P4
-
None
-
8u77
-
x86
-
other
FULL PRODUCT VERSION :
OpenJDK Runtime Environment (build 1.8.0_91-b14)
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Linux 3.10.0-327.22.2.el7.x86_64
A DESCRIPTION OF THE PROBLEM :
When ntpd service runs and clock drifts then java timer scheduled processes are getting restarted.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. create timer scheduled java process.
2. execute the process.
3. restart ntpd service.
4. observation will be process restart at the same time ntpd service is restarted and clock drifts to new time.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Expectation is not to see process restart but jvm should take new clock time into consideration for next schedule of timer.
ACTUAL -
Processes are getting killed and resource are hung which are recovered later by garbage collection and processes are restarted.
REPRODUCIBILITY :
This bug can be reproduced always.
OpenJDK Runtime Environment (build 1.8.0_91-b14)
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Linux 3.10.0-327.22.2.el7.x86_64
A DESCRIPTION OF THE PROBLEM :
When ntpd service runs and clock drifts then java timer scheduled processes are getting restarted.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. create timer scheduled java process.
2. execute the process.
3. restart ntpd service.
4. observation will be process restart at the same time ntpd service is restarted and clock drifts to new time.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Expectation is not to see process restart but jvm should take new clock time into consideration for next schedule of timer.
ACTUAL -
Processes are getting killed and resource are hung which are recovered later by garbage collection and processes are restarted.
REPRODUCIBILITY :
This bug can be reproduced always.
- relates to
-
JDK-4290274 (timer) java.util.Timer.scheduleAtFixedRate() fails if the system time is changed
-
- Open
-