RFR: JDK-8315505: CompileTask timestamp printed can overflow

Thomas Stuefe stuefe at openjdk.org
Thu Oct 5 06:07:05 UTC 2023


Trivial fix to a printing overflow.

Example, VM running for 88 days:

Before

 22 Time: Fri Sep  1 12:52:14 2023 CEST elapsed time: 7609888.526691 seconds (88d 1h 51m 28s)
 23 
...
 28 
 29 Current CompileTask:
 30 C2:-980046066 32 22    1    b        java.lang.invoke.MethodHandle::<clinit> (45 bytes)
       ^^^^^^^^^^


Now

 22 Time: Fri Sep  1 12:46:36 2023 CEST elapsed time: 7609550.966587 seconds (88d 1h 45m 50s)
 23 
 ...
 28 
 29 Current CompileTask:
 30 C2:7609550966 32 22    1    b        java.lang.invoke.MethodHandle::<clinit> (45 bytes)

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

Commit messages:
 - Merge branch 'openjdk:master' into JDK-8315505-CompileTask-timestamp-printed-can-overflow
 - Fix MacOS build
 - JDK-8315505-CompileTask-timestamp-printed-can-overflow

Changes: https://git.openjdk.org/jdk/pull/15533/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15533&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8315505
  Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/15533.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15533/head:pull/15533

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


More information about the hotspot-compiler-dev mailing list