Skip to content

Commit ed4349b

Browse files
committed
Remove unnecessary boundaries from PythonNativeWrapper.incRef/decRef
1 parent 16d75fc commit ed4349b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2019, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -198,7 +198,6 @@ public final long getRefCount() {
198198
return MANAGED_REFCNT;
199199
}
200200

201-
@TruffleBoundary(allowInlining = true)
202201
public long incRef() {
203202
assert isNative();
204203
long pointer = HandlePointerConverter.pointerToStub(getNativePointer());
@@ -211,7 +210,6 @@ public long incRef() {
211210
return IMMORTAL_REFCNT;
212211
}
213212

214-
@TruffleBoundary(allowInlining = true)
215213
public long decRef() {
216214
assert isNative();
217215
long pointer = HandlePointerConverter.pointerToStub(getNativePointer());

0 commit comments

Comments
 (0)