Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,12 @@ static void checkJVMCIEnabled() {
}

/**
* Gets an unmodifiable copy of the system properties parsed by {@code arguments.cpp}
* plus {@code java.specification.version}, {@code os.name} and {@code os.arch}.
* The latter two are forced to be the real OS and architecture. That is, values
* for these two properties set on the command line are ignored.
* Gets an unmodifiable copy of the system properties as of VM startup.
*
* If running on Hotspot, this will be the system properties parsed by {@code arguments.cpp}
* plus {@code java.specification.version}, {@code os.name} and {@code os.arch}. The latter two
* are forced to be the real OS and architecture. That is, values for these two properties set
* on the command line are ignored.
*/
public static Map<String, String> getSavedProperties() {
checkJVMCIEnabled();
Expand Down