Skip to content

Commit a9b5e08

Browse files
committed
Log pointer of new PythonObjectReference
1 parent c1a448d commit a9b5e08

File tree

1 file changed

+1
-1
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/capi/transitions

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/capi/transitions/CApiTransitions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public PythonObjectReference(PythonNativeWrapper referent, long pointer) {
125125
super(referent);
126126
this.pointer = pointer;
127127
this.strongReference = referent.getRefCount() > PythonNativeWrapper.MANAGED_REFCNT ? referent : null;
128-
LOGGER.finer(() -> PythonUtils.formatJString("new %s PythonObjectReference to %s", (strongReference == null ? "weak" : "strong"), referent));
128+
LOGGER.finer(() -> PythonUtils.formatJString("new %s PythonObjectReference<%s> to %s", (strongReference == null ? "weak" : "strong"), Long.toHexString(pointer), referent));
129129
referent.ref = this;
130130
}
131131

0 commit comments

Comments
 (0)