GC.heap_dump -parallel accepts values outside uint range, before the acceptance 
now making the condition to handle the case.
Also verifed with the modification on 
test/hotspot/jtreg/serviceability/dcmd/gc/HeapDumpParallelTest.java testcase

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - Adjusted the test to consider value larger than int range
 - Updating copyright header for diagnosticCommand.cpp
 - 8386884: GC.heap_dump -parallel accepts values outside uint range and 
silently wraps

Changes: https://git.openjdk.org/jdk/pull/32073/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32073&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8386884
  Stats: 6 lines in 2 files changed: 4 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/32073.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/32073/head:pull/32073

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

Reply via email to