RFR: 8338428: Add logging if final VM flags while setting properties [v6]

Leonid Mesnik lmesnik at openjdk.org
Fri Jan 17 18:50:22 UTC 2025


> Some VM flags might depend on the environment and it makes sense to log final flags so it is possible to get their value when investigating failures.
> 
> I added them to VMProps, so it is always dump final flags before running tests using "-XX:+PrintFlagsFinal".
> 
> Update:
> There were intermittent compilation failures when I tried to use classes from testlibrary, so I rewrtite the code without them.

Leonid Mesnik has updated the pull request incrementally with one additional commit since the last revision:

  updated flags

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23054/files
  - new: https://git.openjdk.org/jdk/pull/23054/files/b28439c0..5f87d72f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23054&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23054&range=04-05

  Stats: 6 lines in 2 files changed: 2 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/23054.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23054/head:pull/23054

PR: https://git.openjdk.org/jdk/pull/23054


More information about the core-libs-dev mailing list