This PR proposes adding a missing liveness check for 
`SegmentBulkOperation::copy` if the `size` is zero.

It also proposes to add a small test.

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

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

Commit messages:
 - Add livenes checks for zero sized copy

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

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

Reply via email to