Integrated: 8340176: Replace usage of -noclassgc with -Xnoclassgc in test/jdk/java/lang/management/MemoryMXBean/LowMemoryTest2.java
Jaikiran Pai
jpai at openjdk.org
Tue Sep 17 00:59:17 UTC 2024
On Mon, 16 Sep 2024 09:21:22 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:
> Can I please get a review of this test-only change which replaces the usage of `-noclassgc` with `-Xnoclassgc` option when launching the test?
>
> As noted in https://bugs.openjdk.org/browse/JDK-8340176, the `-noclassgc` is an undocumented option of the `java` launcher, which it converts to `-Xnoclassgc` before passing it to the JVM. Instead of that option, the documented `-Xnoclassgc` should be used.
>
> No new test has been introduced and the modified test continues to pass after this change.
This pull request has now been integrated.
Changeset: 3e03e667
Author: Jaikiran Pai <jpai at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/3e03e6673acfea543d0dbbc64b7a4f52e3292c2b
Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
8340176: Replace usage of -noclassgc with -Xnoclassgc in test/jdk/java/lang/management/MemoryMXBean/LowMemoryTest2.java
Reviewed-by: kevinw, lmesnik
-------------
PR: https://git.openjdk.org/jdk/pull/21012
More information about the serviceability-dev
mailing list