Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8165659

ntpd service is restarting java timer scheduled processes

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                psonal Pallavi Sonal (Inactive)
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: