[jdk17] RFR: 8271093: remove deadcode from runtime/Thread/TestThreadDumpSMRInfo.java test

Igor Ignatyev iignatyev at openjdk.java.net
Wed Jul 21 23:11:12 UTC 2021


Hi all,

could you please review this trivial test-only clean-up?
from JBS:
> TestThreadDumpSMRInfo::usage isn't used by anyone and should be removed


PS alternatively, `TestThreadDumpSMRInfo::usage` can be called in an else branch at L70, but I don't see much point in that

Thanks,
-- Igor

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

Commit messages:
 - 8271093

Changes: https://git.openjdk.java.net/jdk17/pull/265/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk17&pr=265&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8271093
  Stats: 6 lines in 1 file changed: 0 ins; 5 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk17/pull/265.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk17 pull/265/head:pull/265

PR: https://git.openjdk.java.net/jdk17/pull/265


More information about the hotspot-runtime-dev mailing list