Skip to content

Commit 4f02f20

Browse files
committed
[GR-17457] Add boundary for System.nanoTime()
PullRequest: truffleruby/2881
2 parents 969b463 + 494ab0d commit 4f02f20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/truffleruby/core/ProcessNodes.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public abstract class ProcessNodes {
2727
@Primitive(name = "process_time_nanotime")
2828
public abstract static class ProcessTimeNanoTimeNode extends PrimitiveArrayArgumentsNode {
2929

30+
@TruffleBoundary
3031
@Specialization
3132
protected long nanoTime() {
3233
return System.nanoTime();

0 commit comments

Comments
 (0)