Mercurial > hg > graal-jvmci-8
comparison src/share/vm/memory/cardTableModRefBS.cpp @ 8:762905818571
6665445: Backout change to CardTableModRefBS::resize_covered_region()
Summary: Backed out part of cahnge for 6624765 because of nightly testing regressions. Reviewers below were for 6624765.
Reviewed-by: ysr, apetrusenko
author | jmasa |
---|---|
date | Wed, 20 Feb 2008 08:40:31 -0800 |
parents | 73e96e5c30df |
children | 8b6e49187640 |
comparison
equal
deleted
inserted
replaced
7:2faf283ce688 | 8:762905818571 |
---|---|
255 } else { | 255 } else { |
256 entry = byte_after(old_region.last()); | 256 entry = byte_after(old_region.last()); |
257 } | 257 } |
258 assert(index_for(new_region.last()) < (int) _guard_index, | 258 assert(index_for(new_region.last()) < (int) _guard_index, |
259 "The guard card will be overwritten"); | 259 "The guard card will be overwritten"); |
260 jbyte* const end = (jbyte*) new_end_for_commit; | 260 jbyte* const end = byte_after(new_region.last()); |
261 // do nothing if we resized downward. | 261 // do nothing if we resized downward. |
262 if (entry < end) { | 262 if (entry < end) { |
263 memset(entry, clean_card, pointer_delta(end, entry, sizeof(jbyte))); | 263 memset(entry, clean_card, pointer_delta(end, entry, sizeof(jbyte))); |
264 } | 264 } |
265 } | 265 } |