Skip to content

Commit 22e684d

Browse files
committed
Adjusting comment
1 parent 20776dd commit 22e684d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/runtime/NativeBufferContext.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ public class NativeBufferContext {
6060
private static final Unsafe unsafe = PythonUtils.initUnsafe();
6161

6262
private ReferenceQueue<NativePrimitiveSequenceStorage> referenceQueue;
63-
// We need to keep around the references since Phantom References are one way bound
64-
// Key: MemoryAddr, Value: PhantomReference
63+
// Storing references here to keep them alive
6564
private ConcurrentHashMap<NativePrimitiveReference, NativePrimitiveReference> phantomReferences;
6665

6766
private Thread nativeBufferReferenceCleanerThread;

0 commit comments

Comments
 (0)