Class InlinedProfileBag.Builder
java.lang.Object
com.oracle.truffle.js.runtime.util.InlinedProfileBuilder
com.oracle.truffle.js.runtime.util.InlinedProfileBag.Builder
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
InlinedProfileBag
public static final class InlinedProfileBag.Builder
extends InlinedProfileBuilder
implements AutoCloseable
-
Field Summary
Fields inherited from class InlinedProfileBuilder
stateFieldCursor, stateFieldLength, stateFieldStart -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Asserts that the used bit count is in sync with the expected required state bits.Methods inherited from class InlinedProfileBuilder
branchProfile, conditionProfile, maybeAdvanceStateField
-
Constructor Details
-
Builder
public Builder(int length) -
Builder
public Builder(int offset, int length)
-
-
Method Details
-
close
public void close()Asserts that the used bit count is in sync with the expected required state bits.- Specified by:
closein interfaceAutoCloseable
-