equal
deleted
inserted
replaced
111 if (addr >= gsp()->top()) return gsp()->top(); |
111 if (addr >= gsp()->top()) return gsp()->top(); |
112 while (n <= addr) { |
112 while (n <= addr) { |
113 q = n; |
113 q = n; |
114 oop obj = oop(q); |
114 oop obj = oop(q); |
115 if (obj->klass_or_null() == NULL) return q; |
115 if (obj->klass_or_null() == NULL) return q; |
116 n += obj->size(); |
116 n += block_size(q); |
117 } |
117 } |
118 assert(q <= n, "wrong order for q and addr"); |
118 assert(q <= n, "wrong order for q and addr"); |
119 assert(addr < n, "wrong order for addr and n"); |
119 assert(addr < n, "wrong order for addr and n"); |
120 return q; |
120 return q; |
121 } |
121 } |