Skip to content

Commit 84bc476

Browse files
committedJul 19, 2024
8336258: Document the behavior of 'exclude' and 'compileonly' with respect to inlining
Reviewed-by: thartmann, jkarthikeyan
1 parent 5d965f3 commit 84bc476

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/hotspot/share/compiler/compilerOracle.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,10 @@ static void usage() {
637637
tty->print_cr("and 'compileonly'. There is no priority of commands. Applying (a subset of) these");
638638
tty->print_cr("commands to the same method results in undefined behavior.");
639639
tty->cr();
640+
tty->print_cr("The 'exclude' command excludes methods from top-level compilations as well as");
641+
tty->print_cr("from inlining, whereas the 'compileonly' command only excludes methods from");
642+
tty->print_cr("top-level compilations (i.e. they can still be inlined into other compilation units).");
643+
tty->cr();
640644
};
641645

642646
static int skip_whitespace(char* &line) {

0 commit comments

Comments
 (0)
Please sign in to comment.