Class BytecodeSupport.CloneReferenceList<T>
java.lang.Object
com.oracle.truffle.api.bytecode.BytecodeSupport.CloneReferenceList<T>
- Enclosing class:
BytecodeSupport
Special list to weakly keep track of clones. Assumes all operations run under a lock. Do not
use directly. We deliberately do not use an memory intensive event queue here, we might leave
around a few empty references here and there.
- Since:
- 24.2
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CloneReferenceList
public CloneReferenceList()
-
-
Method Details
-
add
Adds a new reference to the list. Note references cannot be removed.- Since:
- 24.2
-
forEach
-