On Thu, 6 Jul 2023 16:57:56 GMT, Leo Korinth <lkori...@openjdk.org> wrote:
>> Thomas Stuefe has updated the pull request incrementally with one additional >> commit since the last revision: >> >> last cleanups and shade feedback > > src/hotspot/share/runtime/trimNative.cpp line 78: > >> 76: static constexpr int safepoint_poll_ms = 250; >> 77: >> 78: static int64_t now() { return os::javaTimeMillis(); } > > I think it would be better to not use CLOCK_REALTIME in case of clock changes > by NTP etc. Okay, changed to os::elapsedTime(). ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/14781#discussion_r1255488363