about summary refs log tree commit diff stats
path: root/src/main.c
diff options
context:
space:
mode:
authorrajdakin <rajdakin@gmail.com>2023-12-31 15:49:57 +0100
committerGitHub <noreply@github.com>2023-12-31 15:49:57 +0100
commit5e9e1faedc97194e46f3fb4b3665ec416ce7efbf (patch)
tree27d345328502d82ede6c58e3d181d1f682bab255 /src/main.c
parentdba6a88341bacbf52d0f0c37117a04164afce9fa (diff)
downloadbox64-5e9e1faedc97194e46f3fb4b3665ec416ce7efbf.tar.gz
box64-5e9e1faedc97194e46f3fb4b3665ec416ce7efbf.zip
[MEMORY] Switched from a sparse array to a red-black tree (#1180)
* [MEMORY] Switched from a sparse array to an RB tree

* [RBTREE] Fixed the Android build
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/main.c b/src/main.c
index 67080567..49212eb2 100644
--- a/src/main.c
+++ b/src/main.c
@@ -62,8 +62,6 @@ int box64_dynarec_fastnan = 1;
 int box64_dynarec_fastround = 1;
 int box64_dynarec_safeflags = 1;
 int box64_dynarec_callret = 1;
-int box64_dynarec_hotpage = 0;
-int box64_dynarec_fastpage = 0;
 int box64_dynarec_bleeding_edge = 1;
 int box64_dynarec_jvm = 1;
 int box64_dynarec_tbb = 1;
@@ -696,27 +694,6 @@ void LoadLogEnv()
         if(!box64_dynarec_wait)
             printf_log(LOG_INFO, "Dynarec will not wait for FillBlock to ready and use Interpreter instead\n");
     }
-    p = getenv("BOX64_DYNAREC_HOTPAGE");
-    if(p) {
-        int val = -1;
-        if(sscanf(p, "%d", &val)==1) {
-            if(val>=0)
-                box64_dynarec_hotpage = val;
-        }
-        if(box64_dynarec_hotpage)
-            printf_log(LOG_INFO, "Dynarec will have HotPage tagged for %d attempts\n", box64_dynarec_hotpage);
-        else
-            printf_log(LOG_INFO, "Dynarec will not tag HotPage\n");
-    }
-    p = getenv("BOX64_DYNAREC_FASTPAGE");
-    if(p) {
-        if(strlen(p)==1) {
-            if(p[0]>='0' && p[0]<='1')
-                box64_dynarec_fastpage = p[0]-'0';
-        }
-        if(box64_dynarec_fastpage)
-            printf_log(LOG_INFO, "Dynarec will use Fast HotPage\n");
-    }
     p = getenv("BOX64_DYNAREC_ALIGNED_ATOMICS");
     if(p) {
         if(strlen(p)==1) {