Package com.oracle.truffle.api.dsl
Annotation Interface Cached.Shared
- Enclosing class:
Cached
Allows sharing between multiple Cached parameters between multiple specializations or
exported library messages. If no sharing is desired then the
cached
parameter
can be annotated with exclusive
. The DSL will indicate sharing
opportunities to the user by showing a warning.- Since:
- 19.0
- See Also:
-
Optional Element Summary
-
Element Details
-
value
String valueSpecifies the sharing group of the shared cached element. If not specified then the parameter name will be used as a group.- Since:
- 19.0
- Default:
""
-