Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2212524 | 8 | Tony Printezis | P5 | Resolved | Fixed | b01 |
JDK-2213541 | 7u2 | Tony Printezis | P5 | Closed | Fixed | b04 |
Some g1 code uses int variables as region indices; they should use size_t instead. A few examples from heapRegionSeq.hpp:
int _alloc_search_start;
HeapWord* alloc_obj_from_region_index(int ind, size_t word_size);
int _next_rr_candidate;
int find(HeapRegion* hr);
void iterate_from(int idx, HeapRegionClosure* blk);
int _alloc_search_start;
HeapWord* alloc_obj_from_region_index(int ind, size_t word_size);
int _next_rr_candidate;
int find(HeapRegion* hr);
void iterate_from(int idx, HeapRegionClosure* blk);
- backported by
-
JDK-2212524 G1: heap region indices should be size_t
-
- Resolved
-
-
JDK-2213541 G1: heap region indices should be size_t
-
- Closed
-
- relates to
-
JDK-6731418 JVM crashes with error message
-
- Closed
-
-
JDK-7045330 G1: Simplify/fix the HeapRegionSeq class
-
- Closed
-