From 47c35b90d338da68253e5ce7cad6d2cbcfc1799e Mon Sep 17 00:00:00 2001 From: Jendrik Johannes Date: Mon, 18 Jan 2021 10:27:36 +0100 Subject: [PATCH] Promote changing the priority of the daemon process This was introduced in Gradle 5.0 (#7403) and no more has been done on it since then. --- subprojects/docs/src/docs/release/notes.md | 4 ++++ .../launcher/daemon/configuration/DaemonBuildOptions.java | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/subprojects/docs/src/docs/release/notes.md b/subprojects/docs/src/docs/release/notes.md index fc6f77ba4c22..dcd5ff9b4dae 100644 --- a/subprojects/docs/src/docs/release/notes.md +++ b/subprojects/docs/src/docs/release/notes.md @@ -142,6 +142,10 @@ It is no longer required to activate the functionality using `java.modularity.in [Dependency verification](userguide/dependency_verification.html) is promoted to a stable feature. +### Changing the priority of the daemon process + +Changing the [priority of the daemon process](userguide/command_line_interface.html#sec:command_line_performance) with `--priority` is now a stable feature. + ### Promoted APIs In Gradle 7.0 we moved the following classes or methods out of incubation phase. diff --git a/subprojects/launcher/src/main/java/org/gradle/launcher/daemon/configuration/DaemonBuildOptions.java b/subprojects/launcher/src/main/java/org/gradle/launcher/daemon/configuration/DaemonBuildOptions.java index b422e8a18672..9a9b038c7822 100644 --- a/subprojects/launcher/src/main/java/org/gradle/launcher/daemon/configuration/DaemonBuildOptions.java +++ b/subprojects/launcher/src/main/java/org/gradle/launcher/daemon/configuration/DaemonBuildOptions.java @@ -210,7 +210,7 @@ public static class PriorityOption extends StringBuildOption { public static final String GRADLE_PROPERTY = "org.gradle.priority"; public PriorityOption() { - super(GRADLE_PROPERTY, CommandLineOptionConfiguration.create("priority", "Specifies the scheduling priority for the Gradle daemon and all processes launched by it. Values are 'normal' (default) or 'low'").incubating()); + super(GRADLE_PROPERTY, CommandLineOptionConfiguration.create("priority", "Specifies the scheduling priority for the Gradle daemon and all processes launched by it. Values are 'normal' (default) or 'low'")); } @Override