RFR: 8304543: Modernize debugging jvm args in test/hotspot/jtreg/vmTestbase/nsk/jdi/Argument/value/value004.java

David Holmes dholmes at openjdk.org
Tue Mar 21 02:31:40 UTC 2023


On Mon, 20 Mar 2023 19:47:10 GMT, Eirik Bjorsnos <duke at openjdk.org> wrote:

> Please review this PR which replaces the use of outdated JVM flags for setting up debugging in the test value004.java
> 
> This is part of an ongoing effort to remove use of the outdated flag '-Djava.compiler" such that the option itself can eventually be removed.

Looks good.

Xdebug is supposed to be a no-op these days, except when used in conjunction with `-Djava.compiler=NONE`. In that case the use of Xdebug actually causes `-Djava.compiler=NONE` to be ignored.

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

Marked as reviewed by dholmes (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/13107#pullrequestreview-1349622834


More information about the serviceability-dev mailing list