Class AssumedValue<T>
java.lang.Object
com.oracle.truffle.api.utilities.AssumedValue<T>
A value that the compiler can assume is constant, but can be changed by invalidation.
Compiled code that uses the value will be invalidated each time the value changes, so you should take care to only change values infrequently, or to monitor the number of times the value has changed and at some point to replace the value with something more generic so that it does not have to be changed and code does not have to keep being recompiled.
- Since:
- 0.8 or earlier
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AssumedValue
- Since:
- 0.8 or earlier
-
AssumedValue
-
-
Method Details
-
get
-
set
-