RFR: 8349771: Replace usages of -mx and -ms in some monitor tests

Jaikiran Pai jpai at openjdk.org
Tue Feb 11 07:35:10 UTC 2025


On Tue, 11 Feb 2025 03:48:38 GMT, SendaoYan <syan at openjdk.org> wrote:

> Hi all,
> This PR updates two runtime/Monitor tests to replace the usage of the outdated `-mx` and `-ms` java launcher options with `-Xmx` and `-Xms`.
> 
> As noted in [JDK-8349771](https://bugs.openjdk.org/browse/JDK-8349771), these outdated options will soon be deprecated for removal from the java launcher code.
> 
> Change has been verified locally, test-fix only, no risk.

test/hotspot/jtreg/runtime/Monitor/StressWrapper_TestRecursiveLocking_36M.java line 2:

> 1: /*
> 2:  * Copyright (c) 2024, 2025 Oracle and/or its affiliates. All rights reserved.

Hello @sendaoYan, a comma is missing after the new copyright year, both here and in the other file in this PR.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/23553#discussion_r1950359275


More information about the hotspot-runtime-dev mailing list