> Switch `jdk.httpserver` from wall clock to a monotonic one. This effectively 
> fixes elapsed time measurements and scheduled event fire instants. Bonus: 
> improves the test stability.
> 
> In short, replaced the `System.currentTimeMillis()` & `java.util.Timer` 
> combination with the `System.nanoTime()` & `ScheduledExecutorService` 
> alternative.
> 
> ---------
> - [X] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Volkan Yazici has updated the pull request incrementally with one additional 
commit since the last revision:

  Switch from `scheduleAtFixedRate()` to `scheduleWithFixedDelay()`

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/33890/files
  - new: https://git.openjdk.org/jdk/pull/33890/files/0bd93da5..efdd9533

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=33890&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33890&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/33890.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33890/head:pull/33890

PR: https://git.openjdk.org/jdk/pull/33890

Reply via email to