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
Copy file name to clipboardExpand all lines: truffle/docs/AOTOverview.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ For more information see [TruffleLanguage.patchContext](https://www.graalvm.org/
28
28
### Code sharing within the same Isolate/Process
29
29
30
30
A polyglot engine can be used in order to determine the scope of code sharing between contexts.
31
-
An example of how that can be done can be found in the [reference manual](https://www.graalvm.org/reference-manual/embed-languages/#code-caching-across-multiple-contexts).
31
+
An example of how that can be done can be found in the [reference manual](../../docs/reference-manual/embedding/embed-languages.md#code-caching-across-multiple-contexts).
32
32
When a language is initialized for a polyglot context, a new language instance is requested from an engine.
33
33
If the language supports [ContextPolicy.SHARED](https://www.graalvm.org/truffle/javadoc/com/oracle/truffle/api/TruffleLanguage.ContextPolicy.html#SHARED), then the language instance will be reused for an engine instance.
34
34
The source parsing cache is associated with a language instance, so parsing happens once per language instance.
Copy file name to clipboardExpand all lines: truffle/docs/AuxiliaryEngineCachingEnterprise.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ This includes:
19
19
2. Execution and profiling of the guest application in the interpreter.
20
20
3. Compilation of the AST to machine code.
21
21
22
-
Within a single OS process, the work performed during warmup can be shared by specifying an [explicit engine](../../reference-manual/embedding/embed-languages.md/#code-caching-across-multiple-contexts).
22
+
Within a single OS process, the work performed during warmup can be shared by specifying an [explicit engine](../../docs/reference-manual/embedding/embed-languages.md#code-caching-across-multiple-contexts).
23
23
This requires language implementations to disable context-related optimizations to avoid deoptimizations between contexts that share code.
24
24
Auxiliary engine caching builds upon the mechanism for disabling context-related optimizations and adds the capability to persist an engine with ASTs and optimized machine code to disk.
25
25
This way, the work performed during warmup can be significantly reduced in the first application context of a new process.
0 commit comments