From c8ef6cabb1a109a6a237d66892219515c48526f4 Mon Sep 17 00:00:00 2001 From: Doug Simon Date: Fri, 1 Nov 2024 15:34:30 +0100 Subject: [PATCH] separate out HotSpot specific semantics of getSavedProperties --- .../share/classes/jdk/vm/ci/services/Services.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/services/Services.java b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/services/Services.java index d4c657f9cd35e..72c07b3ac989a 100644 --- a/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/services/Services.java +++ b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/services/Services.java @@ -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 getSavedProperties() { checkJVMCIEnabled();