We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20776dd commit 22e684dCopy full SHA for 22e684d
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/runtime/NativeBufferContext.java
@@ -60,8 +60,7 @@ public class NativeBufferContext {
60
private static final Unsafe unsafe = PythonUtils.initUnsafe();
61
62
private ReferenceQueue<NativePrimitiveSequenceStorage> referenceQueue;
63
- // We need to keep around the references since Phantom References are one way bound
64
- // Key: MemoryAddr, Value: PhantomReference
+ // Storing references here to keep them alive
65
private ConcurrentHashMap<NativePrimitiveReference, NativePrimitiveReference> phantomReferences;
66
67
private Thread nativeBufferReferenceCleanerThread;
0 commit comments