Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/g1CardCounts.cpp @ 14518:d8041d695d19
Merged with jdk9/dev/hotspot changeset 3812c088b945
author | twisti |
---|---|
date | Tue, 11 Mar 2014 18:45:59 -0700 |
parents | 63a4eb8bcd23 |
children | 4ca6dc0799b6 |
comparison
equal
deleted
inserted
replaced
14141:f97c5ec83832 | 14518:d8041d695d19 |
---|---|
167 if (has_count_table()) { | 167 if (has_count_table()) { |
168 HeapWord* bottom = hr->bottom(); | 168 HeapWord* bottom = hr->bottom(); |
169 | 169 |
170 // We use the last address in hr as hr could be the | 170 // We use the last address in hr as hr could be the |
171 // last region in the heap. In which case trying to find | 171 // last region in the heap. In which case trying to find |
172 // the card for hr->end() will be an OOB accesss to the | 172 // the card for hr->end() will be an OOB access to the |
173 // card table. | 173 // card table. |
174 HeapWord* last = hr->end() - 1; | 174 HeapWord* last = hr->end() - 1; |
175 assert(_g1h->g1_committed().contains(last), | 175 assert(_g1h->g1_committed().contains(last), |
176 err_msg("last not in committed: " | 176 err_msg("last not in committed: " |
177 "last: " PTR_FORMAT ", " | 177 "last: " PTR_FORMAT ", " |