Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0819 monotonic time step back exit log msg #58

Merged
merged 2 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion OTP_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
26.2.5-3
26.2.5-4
10 changes: 5 additions & 5 deletions erts/emulator/beam/erl_time_sup.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ update_last_mtime(ErtsSchedulerData *esdp, ErtsMonotonicTime mtime)
if (esdp->last_monotonic_time > mtime) {
ERTS_ASSERT(esdp == erts_get_scheduler_data());
erts_exit(ERTS_ABORT_EXIT,
"Erlang monotonic time stepped backwards!\n"
"Erlang monotonic time stepped backwards! Maybe add '+c false' in vm.args\n"
"Previous time: %b64d\n"
"Current time: %b64d\n",
esdp->last_monotonic_time,
Expand All @@ -287,7 +287,7 @@ check_os_monotonic_time(ErtsSchedulerData *esdp, ErtsMonotonicTime mtime)
if (esdp->last_os_monotonic_time > mtime) {
ERTS_ASSERT(esdp == erts_get_scheduler_data());
erts_exit(ERTS_ABORT_EXIT,
"OS monotonic time stepped backwards!\n"
"OS monotonic time stepped backwards! Maybe add '+c false' in vm.args\n"
"Previous time: %b64d\n"
"Current time: %b64d\n",
esdp->last_os_monotonic_time,
Expand Down Expand Up @@ -373,7 +373,7 @@ read_corrected_time(int os_drift_corrected, ErtsSchedulerData *esdp)
else {
if (os_mtime < time_sup.inf.c.parmon.cdata.insts.prev.os_mtime)
erts_exit(ERTS_ABORT_EXIT,
"OS monotonic time stepped backwards\n");
"OS monotonic time stepped backwards, maybe add '+c false' in vm.args\n");
ci = time_sup.inf.c.parmon.cdata.insts.prev;
}

Expand Down Expand Up @@ -472,7 +472,7 @@ check_time_correction(void *vesdp)

if (os_mtime < ci.os_mtime)
erts_exit(ERTS_ABORT_EXIT,
"OS monotonic time stepped backwards\n");
"OS monotonic time stepped backwards, maybe add '+c false' in vm.args\n");

erl_mtime = calc_corrected_erl_mtime(os_mtime, &ci, &mdiff,
os_drift_corrected);
Expand Down Expand Up @@ -900,7 +900,7 @@ finalize_corrected_time_offset(ErtsSystemTime *stimep)

if (os_mtime < ci.os_mtime)
erts_exit(ERTS_ABORT_EXIT,
"OS monotonic time stepped backwards\n");
"OS monotonic time stepped backwards, maybe add '+c false' in vm.args\n");

return calc_corrected_erl_mtime(os_mtime, &ci, NULL,
os_drift_corrected);
Expand Down