diff options
author | Lukas Larsson <[email protected]> | 2013-06-10 09:56:50 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2013-06-10 09:56:50 +0200 |
commit | bb399e7ab2d96edcaa0ff482bd51494848c1a248 (patch) | |
tree | ae4f57a788f310f87b9584925532074f3ef96008 /erts/preloaded/src/erlang.erl | |
parent | f7c480076d34ff6666e9f15c992792817aab5078 (diff) | |
parent | b22af34c26ced7b6d67536da1694083964fa4dd5 (diff) | |
download | otp-bb399e7ab2d96edcaa0ff482bd51494848c1a248.tar.gz otp-bb399e7ab2d96edcaa0ff482bd51494848c1a248.tar.bz2 otp-bb399e7ab2d96edcaa0ff482bd51494848c1a248.zip |
Merge branch 'lukas/erts/gc_stat_contention/OTP-10271' into maint
* lukas/erts/gc_stat_contention/OTP-10271:
erts: Update spec in preloaded to reflect success typing (again)
Diffstat (limited to 'erts/preloaded/src/erlang.erl')
-rw-r--r-- | erts/preloaded/src/erlang.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/preloaded/src/erlang.erl b/erts/preloaded/src/erlang.erl index 34785ff2a9..e016a50c4c 100644 --- a/erts/preloaded/src/erlang.erl +++ b/erts/preloaded/src/erlang.erl @@ -3554,8 +3554,8 @@ sched_wall_time(Ref, N, Acc) -> {Ref, SWT} -> sched_wall_time(Ref, N-1, [SWT|Acc]) end. --spec erlang:gather_gc_info_result(Ref) -> [{number(),number(),0}] when - Ref :: reference(). +-spec erlang:gather_gc_info_result(Ref) -> + {number(),number(),0} when Ref :: reference(). gather_gc_info_result(Ref) when erlang:is_reference(Ref) -> gc_info(Ref, erlang:system_info(schedulers), {0,0}). |