Class AllocationEventFilter.Builder
java.lang.Object
com.oracle.truffle.api.instrumentation.AllocationEventFilter.Builder
- Enclosing class:
AllocationEventFilter
A builder of
AllocationEventFilter
. Use methods in this class to set the filter
parameters.- Since:
- 0.27
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create an instance ofAllocationEventFilter
based on the current setup of this builder.languages
(LanguageInfo... languages) Specify languages that are instrumented for allocations of guest language values.
-
Method Details
-
languages
Specify languages that are instrumented for allocations of guest language values. Initially the filter accepts any language. Multiple calls to this method rewrite the set of languages.- Since:
- 0.27
-
build
Create an instance ofAllocationEventFilter
based on the current setup of this builder.- Since:
- 0.27
-