Skip to content

Commit

Permalink
also tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
LizBing committed Apr 20, 2024
1 parent cae3efd commit f02334f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public static PointerLocation find(Address a) {
loc.hr = g1.heapRegionForAddress(a);
// We don't assert that loc.hr is not null like we do for the SerialHeap. This is
// because heap.isIn(a) can return true if the address is anywhere in G1's mapped
// memory, even if that area of memory is not in use by a G1 G1HeapRegion. So there
// memory, even if that area of memory is not in use by a G1HeapRegion. So there
// may in fact be no G1HeapRegion for the address even though it is in the heap.
// Leaving loc.hr == null in this case will result in PointerFinder saying that
// the address is "In unknown section of Java the heap", which is what we want.
Expand Down

0 comments on commit f02334f

Please sign in to comment.