rework the spec for periodic task execution after shutdown
add "not-yet-expired" to internal spec for clarity
another round of clarifications to periodic task spec
clarify behavior of periodic tasks
fix 8177632 and 8176254
align drainTo implementations
DelayedWorkQueue.iterator must hold lock
drainTo(Collection) should delegate to drainTo(Collection, int) as done elsewhere
clarify default rejected execution handler and thread factory
make some methods static as suggested by errorprone [MethodCanBeStatic]
use idiom: lastRet = cursor++
document benign racy read in ScheduledFutureTask.cancel
improve some comments
delete now(); doesn't pull its weight
tck test and bug fix for https://bugs.openjdk.java.net/browse/JDK-8051859
compare longs against 0L, not 0
getQueue: copy shared usage advice from ThreadPoolExecutor#getQueue
fix minor copy-pasta javadoc bug
clarify that shutdownNow does not cancel tasks in the "Future.cancel" sense
propagate queue-draining promise from ThreadPoolExecutor#shutdownNow to ScheduledThreadPoolExecutor
kill mysterious bridge methods by s/ScheduledFutureTask.super/super/
kill another bridge method
pass the sequence number as an explicit arg to ScheduledFutureTask constructor
Avoid possibility of stale getDelay
bytecode golf
optimize out redundant field initializers
standardize code sample idiom: * <pre> {@code
generate more readable html for @links
standardize import statement order
never use wildcard imports
now() should be static
remove redundant initializations to null or 0
more consistent constructor javadoc
fix busy-wait when corePoolSize is zero and queued task is present
clarify nature of ScheduledFuture elements in queue
prefer <Void> to <?>
tidy internal documentation
fix [rawtypes] warnings from very recent javac8
small internal doc improvement
doclint warning fixes
Waiting threads should not retain a reference to the first task in queue
consistent use of "@return {@code true}"
javadoc link readability
javadoc style
javadoc punctuation
use third person in javadoc first sentence
javadoc consistency
coding style
Ensure at least one thread even if core 0 in STPE
make drainTo methods more robust when c.add throws
fix javac 7 [rawtypes] warnings
use nullary AtomicFoo constructors when possible
Fix outdated internal comment
Update Creative Commons license URL in legal notices
delayed tasks not cancelled on shutdown when ExecuteExistingDelayedTasksAfterShutdown set false
whitespace
<code> => @code
6725789: ScheduledExecutorService does not work as expected in jdk7/6/5
whitespace
whitespace
Clarify happens-before
Avoid numerical overflow for trigger times
6620549: ExecutorService#shutdown should clearly state that it does not block
Sync with OpenJDK; untabify
6602600: Fast removal of cancelled scheduled thread pool tasks
6602600: Fast removal of cancelled scheduled thread pool tasks
6602600: Fast removal of cancelled scheduled thread pool tasks
6560953: Periodic tasks of ScheduledThreadPoolExecutor are not decorated on a second run
tidying
tidying
Added setRemoveOnCancelPolicy
Faster task cancellation and removal
TPE/STPE review rework
minor fixes
Internal refactoring
Updated Navigable interfaces ind implementations
6378729: Remove workaround for 6280605
Make compareTo cope with arbitrary Delayed's as arguments
whitespace
Clarify subclassing guidance
un-masking docstrings
doc fixes
typo; whitespace
whitespace
doc fixes
constructor doc fixes
doc fixes
fix syntax in sample code
Add documentation; adjust STPE internal types
Overridable RunnableFuture creation for AbstractExecutorService. OverridableRunnableScheduledFuture decoration for ScheduledThreadPoolExecutor.
doc fixes
Don't use raw type for Comparable
Check task type before trying to remove
Wording fixes and improvements
doc improvements; consistent conventions for nested classes
Use j.u.Timer internal conventions
Javadoc fixes
Avoid overflow
formatting; grammar
Improve shutdown detection
Headers reference Creative Commons
Simplify FutureTask and AbstractExecutorService internals; improve docs
Streamline status settting
Documentation improvements
Documentation improvements
Documentation improvements
Added any/all methods
Raw List returned by shutdownNow is really List<Runnable>.
ScheduledExecutorService for Executors factory method return type
Avoid needing package-private fields
Separated interface from concrete class
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.