-
Bug
-
Resolution: Fixed
-
P1
-
9
-
b32
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8083385 | emb-9 | Bengt Rutisson | P1 | Resolved | Fixed | b32 |
After the fix for JDK-8025564 the BOT verification may pass the end for the reserved space. The reason is this code in G1BlockOffsetArray::verify():
size_t start_card = _array->index_for(gsp()->bottom());
size_t end_card = _array->index_for(gsp()->top());
The end_card should not be based on top() but on "top() - 1" to make sure we are inside the heap region and thus inside teh reserved space.
size_t start_card = _array->index_for(gsp()->bottom());
size_t end_card = _array->index_for(gsp()->top());
The end_card should not be based on top() but on "top() - 1" to make sure we are inside the heap region and thus inside teh reserved space.
- backported by
-
JDK-8083385 G1: BOT verification should not pass top
-
- Resolved
-