- Why GraalVM?
- Reference Manuals
- Debugging and Monitoring Tools
- GraalVM as a Platform
- Language Implementation Framework
- Truffle Branches Instrumentation
- Dynamic Object Model
- Truffle Approach to Function Inlining
- Profiling Truffle Interpreters
- Truffle Interop 2.0
- Language Implementations
- Implementing a New Language with Truffle
- Truffle Native Function Interface
- Optimizing Truffle Interpreters
- Specialization Histogram
- Testing DSL Specializations
- Polyglot API Based TCK
- Truffle Library Guide
- Splitting Algorithm
- Monomorphization Use Cases
- Reporting Polymorphic Specializations to Runtime
- Security Guide
- Release Notes
Truffle has an automatic approach to monomorphization (also known as splitting). For more information about the benefits of monomorphization, continue reading to Monomorphization use cases.
It is controlled by the
Splitting engine option and is on by default.
--engine.Splitting=false to your command line will disable it.
The heuristic relies on information from the language implementation to guide the decisions. To find out more about how to use the new approach in your language implementation, refer to the Reporting Polymorphism guide.
For more details on how the new approach works, see the Splitting guide.