aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/otp_internal.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-12-11 16:25:34 +0100
committerBjörn Gustavsson <[email protected]>2015-12-14 15:57:30 +0100
commit3131a94b5d2ce2b95aa0efb99c767e3658f24550 (patch)
tree48dfccb00163154532f81a5d638b3262af4600b1 /lib/stdlib/src/otp_internal.erl
parent3ecefb19e555e52e35c8f2c5178c72f165c4a7ce (diff)
downloadotp-3131a94b5d2ce2b95aa0efb99c767e3658f24550.tar.gz
otp-3131a94b5d2ce2b95aa0efb99c767e3658f24550.tar.bz2
otp-3131a94b5d2ce2b95aa0efb99c767e3658f24550.zip
Remove the code path cache in the code server
In practice, it does not seem that code path cache can improve performance. Looking for any file that is not found will cause the cache to be rebuilt, which will negate any gain of using the cache.
Diffstat (limited to 'lib/stdlib/src/otp_internal.erl')
-rw-r--r--lib/stdlib/src/otp_internal.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/stdlib/src/otp_internal.erl b/lib/stdlib/src/otp_internal.erl
index 166eb3cef2..960c70f255 100644
--- a/lib/stdlib/src/otp_internal.erl
+++ b/lib/stdlib/src/otp_internal.erl
@@ -644,6 +644,8 @@ obsolete_1(httpd_conf, make_integer, 1) ->
obsolete_1(random, _, _) ->
{deprecated, "the 'random' module is deprecated; "
"use the 'rand' module instead"};
+obsolete_1(code, rehash, 0) ->
+ {deprecated, "deprecated because the code path cache feature has been removed"};
obsolete_1(_, _, _) ->
no.