Browse Source

[Linux PAL] Disable caching loaded and relocated binaries

Chia-Che Tsai 5 years ago
parent
commit
74527989be
1 changed files with 2 additions and 6 deletions
  1. 2 6
      Pal/src/pal_defs.h

+ 2 - 6
Pal/src/pal_defs.h

@@ -4,12 +4,8 @@
 #ifndef PAL_DEFS_H
 #define PAL_DEFS_H
 
-/* enable caching loaded binaries for optimizing process creation */
-#ifdef LINUX
-# define CACHE_LOADED_BINARIES   1
-#else
-# define CACHE_LOADED_BINARIES   0
-#endif
+/* (Linux-only) enable caching loaded binaries for optimizing process creation */
+#define CACHE_LOADED_BINARIES    0      /* default: disabled */
 
 /* statically allocate slab manager */
 #define STATIC_SLAB              1