Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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