comparison src/share/vm/runtime/virtualspace.cpp @ 14358:e5d78f318aec

8026849: Fix typos in the GC code, part 2 Summary: Fixed typos in assert messages, flag descriptions and verbose messages Reviewed-by: stefank, tschatzl
author jwilhelm
date Tue, 10 Dec 2013 15:11:02 +0100
parents 63a4eb8bcd23
children 8a9bb7821e28
comparison
equal deleted inserted replaced
14357:79aa45434291 14358:e5d78f318aec
213 // Assert that if noaccess_prefix is used, it is the same as alignment. 213 // Assert that if noaccess_prefix is used, it is the same as alignment.
214 assert(noaccess_prefix == 0 || 214 assert(noaccess_prefix == 0 ||
215 noaccess_prefix == _alignment, "noaccess prefix wrong"); 215 noaccess_prefix == _alignment, "noaccess prefix wrong");
216 216
217 assert(markOopDesc::encode_pointer_as_mark(_base)->decode_pointer() == _base, 217 assert(markOopDesc::encode_pointer_as_mark(_base)->decode_pointer() == _base,
218 "area must be distinguisable from marks for mark-sweep"); 218 "area must be distinguishable from marks for mark-sweep");
219 assert(markOopDesc::encode_pointer_as_mark(&_base[size])->decode_pointer() == &_base[size], 219 assert(markOopDesc::encode_pointer_as_mark(&_base[size])->decode_pointer() == &_base[size],
220 "area must be distinguisable from marks for mark-sweep"); 220 "area must be distinguishable from marks for mark-sweep");
221 } 221 }
222 222
223 223
224 ReservedSpace::ReservedSpace(char* base, size_t size, size_t alignment, 224 ReservedSpace::ReservedSpace(char* base, size_t size, size_t alignment,
225 bool special, bool executable) { 225 bool special, bool executable) {