RFR: 8266787: Potential overflow of pointer arithmetic in G1ArchiveAllocator

Albert Mingkun Yang ayang at openjdk.java.net
Sat May 8 19:50:27 UTC 2021


Identified during the review of #3900. Using `pointer_delta` to fix the issue and some general cleanup.

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

Commit messages:
 - overflow

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

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



More information about the hotspot-gc-dev mailing list