RFR: 8282690: runtime/CommandLine/VMDeprecatedOptions.java fails after JDK-8281181
David Holmes
dholmes at openjdk.java.net
Sat Mar 5 09:11:02 UTC 2022
On Sat, 5 Mar 2022 08:07:47 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> Please review this small fix. The two options `UseContainerCpuShares` and `PreferContainerQuotaForCPUCount` are available only on Linux, so they are tested under `if (Platform.isLinux()) { ...}`
>
> Tested with tiers 1-4
Changes requested by dholmes (Reviewer).
test/hotspot/jtreg/runtime/CommandLine/VMDeprecatedOptions.java line 66:
> 64: DEPRECATED_OPTIONS = deprecated.toArray(new String[][]{});
> 65:
> 66: ArrayList<String[]> deprecated_linux = new ArrayList(
Seems simpler to just add these to `deprecated` before line 64.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7712
More information about the hotspot-runtime-dev
mailing list