summaryrefslogtreecommitdiff
path: root/runtime/runtime.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r--runtime/runtime.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h
index e27c87d616..4fb0d2ede0 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -56,6 +56,7 @@ enum class EnforcementPolicy;
namespace jit {
class Jit;
+class JitCodeCache;
class JitOptions;
} // namespace jit
@@ -614,6 +615,8 @@ class Runtime {
return (experimental_flags_ & flags) != ExperimentalFlags::kNone;
}
+ void CreateJitCodeCache(bool rwx_memory_allowed);
+
// Create the JIT and instrumentation and code cache.
void CreateJit();
@@ -906,6 +909,7 @@ class Runtime {
std::unique_ptr<JavaVMExt> java_vm_;
std::unique_ptr<jit::Jit> jit_;
+ std::unique_ptr<jit::JitCodeCache> jit_code_cache_;
std::unique_ptr<jit::JitOptions> jit_options_;
// Fault message, printed when we get a SIGSEGV.