RFR: 8258772: Some runtime/cds tests fail with +LogCompilation or +StressX

Roberto Castañeda Lozano rcastanedalo at openjdk.java.net
Tue Dec 22 09:40:04 UTC 2020


Emit warning about TraceDependencies results in `ClassHierarchyWalker::count_find_witness_calls()` only if `TraceDependencies` is actually enabled. Use standard `warning()` function instead of ad hoc printing. Remove warning about using `Stress(LCM|GCM|IGVN)` without `LogCompilation` in `Compile::Compile()`, and add the information to the description of the `StressSeed` option instead. These changes prevent false test failures when using `LogCompilation` or `Stress(LCM|GCM|IGVN)`.

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

Commit messages:
 - 8258772: Some runtime/cds tests fail with +LogCompilation or +StressX

Changes: https://git.openjdk.java.net/jdk/pull/1863/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1863&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8258772
  Stats: 6 lines in 3 files changed: 1 ins; 2 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1863.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1863/head:pull/1863

PR: https://git.openjdk.java.net/jdk/pull/1863


More information about the hotspot-compiler-dev mailing list