diff options
-rw-r--r-- | NEWS.md | 1 | ||||
-rw-r--r-- | mjit.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -445,6 +445,7 @@ The following deprecated APIs are removed. * As a result, Microsoft Visual Studio (MSWIN) is no longer supported. * MinGW is no longer supported. [[Feature #18824]] * Rename `--mjit-min-calls` to `--mjit-call-threshold`. +* Change default `--mjit-max-cache` back from 10000 to 100. ## Static analysis @@ -1626,7 +1626,7 @@ system_tmpdir(void) // Minimum value for JIT cache size. #define MIN_CACHE_SIZE 10 // Default permitted number of units with a JIT code kept in memory. -#define DEFAULT_MAX_CACHE_SIZE 10000 +#define DEFAULT_MAX_CACHE_SIZE 100 // A default threshold used to add iseq to JIT. #define DEFAULT_CALL_THRESHOLD 10000 |