< prev index next >

src/share/vm/gc_implementation/shenandoah/shenandoahTaskqueue.hpp

Print this page
rev 9569 : [mq]: fixassert-i586.patch

*** 190,201 **** chunk_size = nth_bit(chunk_bits), pow_size = nth_bit(pow_bits), }; public: ObjArrayChunkedTask(oop o = NULL, int chunk = 0, int pow = 0): _obj(o) { ! assert(0 <= chunk && chunk < chunk_size, "chunk is sane: %d", chunk); ! assert(0 <= pow && pow < pow_size, "pow is sane: %d", pow); _chunk = chunk; _pow = pow; } ObjArrayChunkedTask(const ObjArrayChunkedTask& t): _obj(t._obj), _chunk(t._chunk), _pow(t._pow) { } --- 190,201 ---- chunk_size = nth_bit(chunk_bits), pow_size = nth_bit(pow_bits), }; public: ObjArrayChunkedTask(oop o = NULL, int chunk = 0, int pow = 0): _obj(o) { ! assert(0 <= chunk && chunk < chunk_size, err_msg("chunk is sane: %d", chunk)); ! assert(0 <= pow && pow < pow_size, err_msg("pow is sane: %d", pow)); _chunk = chunk; _pow = pow; } ObjArrayChunkedTask(const ObjArrayChunkedTask& t): _obj(t._obj), _chunk(t._chunk), _pow(t._pow) { }
< prev index next >