You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RocksDB allows column families to be created and dropped
59
61
from multiple threads concurrently, but this crate doesn't allow it by default
@@ -62,9 +64,36 @@ the crate feature `multi-threaded-cf`, which makes this binding's
62
64
data structures use `RwLock` by default. Alternatively, you can directly create
63
65
`DBWithThreadMode<MultiThreaded>` without enabling the crate feature.
64
66
65
-
## Switch between /MT or /MD run time library (Only for Windows)
67
+
###Switch between /MT or /MD run time library (Only for Windows)
66
68
67
69
The feature `mt_static` will request the library to be built with [/MT](https://learn.microsoft.com/en-us/cpp/build/reference/md-mt-ld-use-run-time-library?view=msvc-170)
68
70
flag, which results in library using the static version of the run-time library.
69
71
*This can be useful in case there's a conflict in the dependecy tree between different
70
72
run-time versions.*
73
+
74
+
### Jemalloc
75
+
76
+
The feature `jemalloc` will enable the
77
+
`unprefixed_malloc_on_supported_platforms` feature of `tikv-jemalloc-sys`,
78
+
hooking the actual malloc and free, so jemalloc is used to allocate memory. On
79
+
Supported platforms such as Linux, Rocksdb will also be properly informed that
80
+
Jemalloc is enabled so that it can apply internal optimizations gated behind
0 commit comments