Skip to content

Commit

Permalink
[GR-49605] Website build job fails with unresolved path to HostInlini…
Browse files Browse the repository at this point in the history
…ngPhase.java.

PullRequest: graal/15857
  • Loading branch information
olyagpl committed Oct 23, 2023
2 parents 692f52a + 0c6d4f9 commit ed7be85
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions truffle/docs/HostCompilation.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Truffle host inlining leverages these properties and forces inlining during host
The general assumption is that code important for runtime compilation is also important for interpreter execution.
Whenever a PE boundary is detected, the host inlining phase no longer makes any inlining decisions and defers them to later inlining phases better suited for regular Java code.

The source code for this phase can be found in [HostInliningPhase](../../compiler/src/jdk.compiler.graal/src/jdk/compiler/graal/truffle/host/HostInliningPhase.java).
The source code for this phase can be found in [HostInliningPhase](https://github.com/oracle/graal/blob/master/compiler/src/jdk.compiler.graal/src/jdk/compiler/graal/truffle/host/HostInliningPhase.java).

Truffle host inlining is applied when compiling a method annotated with `@HostCompilerDirectives.BytecodeInterpreterSwitch`.
The maximum node cost for such methods can be configured using `-H:TruffleHostInliningByteCodeInterpreterBudget=100000` for native images and `-Dgraal.TruffleHostInliningByteCodeInterpreterBudget=100000` on HotSpot.
Expand Down Expand Up @@ -373,5 +373,4 @@ RuntimeException invalidZeroArgument(int argument) {
throw new RuntimeException("Invalid zero argument " + argument);
}
```

```

0 comments on commit ed7be85

Please sign in to comment.