ScheduledExecutorService task scheduled at fix rate may hang

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Not an Issue
    • Priority: P4
    • None
    • Affects Version/s: 6.0
    • Component/s: core-libs
    • None
    • Environment:

      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

            Assignee:
            Martin Buchholz
            Reporter:
            Emmanuel Jannetti
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: