> 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:

  Fix `long` overflow in `monotonicInstantMillis`

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

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

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

  Stats: 3 lines in 1 file changed: 2 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