333 size_t _predicted_bytes_to_copy; |
333 size_t _predicted_bytes_to_copy; |
334 |
334 |
335 public: |
335 public: |
336 HeapRegion(uint hrm_index, |
336 HeapRegion(uint hrm_index, |
337 G1BlockOffsetSharedArray* sharedOffsetArray, |
337 G1BlockOffsetSharedArray* sharedOffsetArray, |
338 MemRegion mr, |
338 MemRegion mr); |
339 AllocationContext_t context = AllocationContext::system()); |
|
340 |
339 |
341 // Initializing the HeapRegion not only resets the data structure, but also |
340 // Initializing the HeapRegion not only resets the data structure, but also |
342 // resets the BOT for that heap region. |
341 // resets the BOT for that heap region. |
343 // The default values for clear_space means that we will do the clearing if |
342 // The default values for clear_space means that we will do the clearing if |
344 // there's clearing to be done ourselves. We also always mangle the space. |
343 // there's clearing to be done ourselves. We also always mangle the space. |