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

ScheduledExecutorService task scheduled at fix rate may hang

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 6.0
    • core-libs
    • None
    • java.runtime.name=Java(TM) SE Runtime Environment
      java.vm.version=20.13-b02
      java.vm.vendor=Sun Microsystems Inc.
      java.vm.specification.vendor=Sun Microsystems Inc.
      java.runtime.version=1.6.0_38-b05

      Scheduling a simple task at fix rate. If a task execution never return, the scheduling stops.
      New task never got scheduled.
      Use of scheduleAtFixedRate method compare to scheduleWithFixedDelay is supposed to insure
      repetitive execution
      See attachement for simple use case

      reproduced using jdk 6 and jdk 7

            martin Martin Buchholz
            ejannett Emmanuel Jannetti
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: