Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/g1/heapRegionSet.inline.hpp @ 8500:992f62c457b0
-More bug fixes
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Tue, 05 Mar 2013 18:53:26 +0100 |
parents | a2f7274eb6ef |
children | 86b4965f0c9a |
comparison
equal
deleted
inserted
replaced
8499:96a337d307bd | 8500:992f62c457b0 |
---|---|
60 size_t used_bytes = hr->used(); | 60 size_t used_bytes = hr->used(); |
61 assert(used_bytes <= _total_used_bytes, | 61 assert(used_bytes <= _total_used_bytes, |
62 hrs_err_msg("[%s] region's used bytes: "SIZE_FORMAT" " | 62 hrs_err_msg("[%s] region's used bytes: "SIZE_FORMAT" " |
63 "should be <= used bytes: "SIZE_FORMAT, | 63 "should be <= used bytes: "SIZE_FORMAT, |
64 name(), used_bytes, _total_used_bytes)); | 64 name(), used_bytes, _total_used_bytes)); |
65 | |
66 //printf("[%s] region's used bytes: "SIZE_FORMAT" " | |
67 // "should be <= used bytes: "SIZE_FORMAT"\n", | |
68 // name(), used_bytes, _total_used_bytes); | |
65 _total_used_bytes -= used_bytes; | 69 _total_used_bytes -= used_bytes; |
70 //printf("TOTAL USED BYTES 4 %lu\n", _total_used_bytes); | |
66 } | 71 } |
67 | 72 |
68 inline void HeapRegionSetBase::remove_internal(HeapRegion* hr) { | 73 inline void HeapRegionSetBase::remove_internal(HeapRegion* hr) { |
69 hrs_assert_region_ok(this, hr, this); | 74 hrs_assert_region_ok(this, hr, this); |
70 assert(hr->next() == NULL, hrs_ext_msg(this, "should already be unlinked")); | 75 assert(hr->next() == NULL, hrs_ext_msg(this, "should already be unlinked")); |