Skip to content

Commit f8ec3b6

Browse files
committed
8270801: Print VM arguments with java -Xlog:arguments
Reviewed-by: dholmes, xliu, stuefe, minqi
1 parent a5c9094 commit f8ec3b6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/hotspot/share/runtime/arguments.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3989,6 +3989,11 @@ jint Arguments::parse(const JavaVMInitArgs* initial_cmd_args) {
39893989

39903990
apply_debugger_ergo();
39913991

3992+
if (log_is_enabled(Info, arguments)) {
3993+
LogStream st(Log(arguments)::info());
3994+
Arguments::print_on(&st);
3995+
}
3996+
39923997
return JNI_OK;
39933998
}
39943999

0 commit comments

Comments
 (0)