Skip to content

Commit c74fbd3

Browse files
committed
Fix performance issue
1 parent 9fc01af commit c74fbd3

File tree

1 file changed

+2
-2
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/util

1 file changed

+2
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/util/ChannelNodes.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public abstract static class ReadFromChannelNode extends ReadFromChannelBaseNode
147147
public abstract ByteSequenceStorage execute(Object channel, int size);
148148

149149
@Specialization
150-
@TruffleBoundary(allowInlining = true)
150+
@TruffleBoundary
151151
public static ByteSequenceStorage read(Object channel, int size,
152152
@Cached BranchProfile gotException,
153153
@Cached PRaiseNode raiseNode) {
@@ -302,7 +302,7 @@ public abstract static class WriteToChannelNode extends WriteToChannelBaseNode {
302302
public abstract int execute(Object channel, SequenceStorage s, int len);
303303

304304
@Specialization
305-
@TruffleBoundary(allowInlining = true)
305+
@TruffleBoundary
306306
int writeOp(Object channel, SequenceStorage s, int len,
307307
@Cached BranchProfile limitProfile,
308308
@Cached("createBinaryProfile()") ConditionProfile maxSizeProfile,

0 commit comments

Comments
 (0)