Searched refs:assert (Results 326 - 350 of 1282) sorted by relevance

<<11121314151617181920>>

/openjdk10/hotspot/src/share/vm/gc/parallel/
H A DpsCompactionManager.inline.hpp56 assert(task.is_valid(), "bad ObjArrayTask");
65 assert(region_ptr->claimed(), "must be claimed");
66 assert(region_ptr->_pushed++ == 0, "should only be pushed once");
76 assert(ParallelScavengeHeap::heap()->is_in(obj), "should be in heap");
113 assert(PSParallelCompact::mark_bitmap()->is_marked(obj), "should be marked");
121 assert(beg_index < len || len == 0, "index too large");
/openjdk10/hotspot/src/share/vm/gc/shared/
H A Dplab.cpp48 assert(min_size() > AlignmentReserve,
97 assert(pointer_delta(_top, _bottom) >= word_sz, "Bad undo");
98 assert(pointer_delta(_top, obj) == word_sz, "Bad undo");
105 assert(contains(obj + word_sz - 1),
154 assert(is_object_aligned(max_size()) && min_size() <= max_size(),
157 assert(_allocated != 0 || _unused == 0,
H A DpreservedMarks.hpp118 assert(_num > 0 && _stacks != NULL, "stacks should have been initialized");
119 assert(i < _num, "pre-condition");
142 assert(_stacks == NULL && _num == 0, "stacks should have been reclaimed");
/openjdk10/hotspot/src/share/vm/opto/
H A DbuildOopMap.cpp120 assert( live, "must find live" );
145 assert( _callees[first] == _callees[regalloc->get_reg_first(n->in(1))], "" );
146 assert( _callees[second] == _callees[regalloc->get_reg_second(n->in(1))], "" );
147 assert( _callees[first] == _callees[regalloc->get_reg_first(n->in(n->req()-1))], "" );
148 assert( _callees[second] == _callees[regalloc->get_reg_second(n->in(n->req()-1))], "" );
168 assert( _b == NULL, "merging into a happy flow" );
169 assert( flow->_b, "this flow is still alive" );
170 assert( flow != this, "no self flow" );
196 assert( &flow->_callees[OptoReg::Bad] == callees, "Ok to index at OptoReg::Bad" );
197 assert(
[all...]
H A Descape.cpp55 assert(oop_null->_idx < nodes_size(), "should be created already");
60 assert(noop_null->_idx < nodes_size(), "should be created already");
210 assert(ptn->as_LocalVar()->edge_count() > 0, "sanity");
259 assert(C->unique() == nodes_size(), "no new ideal nodes should be added during ConnectionGraph build");
260 assert(null_obj->escape_state() == PointsToNode::NoEscape &&
289 assert(ptn->escape_state() == PointsToNode::NoEscape && ptn->scalar_replaceable(), "sanity");
329 assert(_igvn->type(adr)->isa_rawptr(), "sanity");
331 assert((ptnode_adr(adr->_idx) == NULL ||
343 assert(!_verify, "this method should not be called for verification");
522 assert(ad
[all...]
/openjdk10/hotspot/src/share/vm/gc/g1/
H A Dg1MonitoringSupport.cpp182 assert(young_list_length >= survivor_list_length, "invariant");
187 assert(young_list_max_length >= survivor_list_length, "invariant");
206 assert(committed >= (_survivor_committed + _old_committed), "sanity");
221 assert(_overall_committed ==
230 assert(_survivor_used <= _survivor_committed, "post-condition");
231 assert(_old_used <= _old_committed, "post-condition");
/openjdk10/hotspot/src/share/vm/runtime/
H A Drframe.cpp47 assert(is_compiled() || d >= 0, "should be positive");
56 assert( _vf->is_interpreted_frame(), "must be interpreted");
66 assert( _vf->is_interpreted_frame(), "must be interpreted");
94 assert(false, "Unhandled frame type");
141 assert(vf->is_compiled_frame(), "must be compiled");
146 assert(_method, "should have found a method");
/openjdk10/hotspot/src/share/vm/gc/serial/
H A DgenMarkSweep.cpp58 assert(SafepointSynchronize::is_at_safepoint(), "must be at a safepoint");
63 assert(clear_all_softrefs, "Policy should have been checked earlier");
68 assert(ref_processor() == NULL, "no stomping");
69 assert(rp != NULL, "should be non-NULL");
95 assert(DerivedPointerTable::is_active(), "Sanity");
221 assert(_marking_stack.is_empty(), "Marking should have completed");
/openjdk10/hotspot/src/share/vm/c1/
H A Dc1_RangeCheckElimination.cpp133 assert(phi, "Phi must not be null");
154 assert(ao->op() == Bytecodes::_iadd, "Has to be add!");
158 assert(c->type()->as_IntConstant(), "Constant has to be of type integer");
232 assert(!x->as_Constant() || !y->as_Constant(), "One of the operands must be non-constant!");
234 assert(ao->op() == Bytecodes::_iadd || ao->op() == Bytecodes::_isub, "Operand must be iadd or isub");
241 assert(x->as_Constant()->type()->as_IntConstant(), "Constant must be int constant!");
318 assert(!(v->as_Constant() && v->type()->as_IntConstant()), "constants not handled here");
345 assert(loop_header, "Loop header must not be null!");
358 assert(_bounds.at(v->id()), "Now Stack must exist");
465 assert(inf
1505 Assert *assert = new Assert(instruction, cond, false, compare_with); local
[all...]
/openjdk10/hotspot/src/os_cpu/solaris_sparc/vm/
H A Dthread_solaris_sparc.cpp39 assert(Thread::current() == this, "caller must be current thread");
50 assert(this->is_Java_thread(), "must be JavaThread");
149 assert(!jt->frame_anchor()->walkable(), "case covered above");
/openjdk10/hotspot/src/share/vm/memory/
H A DfreeList.hpp73 assert(_count >= 0, "Count should not be negative");
103 assert(!_head || _head->size() == _size, "bad chunk size");
116 assert(!_tail || _tail->size() == _size, "bad chunk size");
H A Diterator.inline.hpp40 assert(_klass_closure._oop_closure == this, "Must be");
60 assert(Universe::heap()->is_in_closed_subset(o),
85 assert(closure->do_metadata_nv() == closure->do_metadata(), "Inconsistency in do_metadata");
/openjdk10/hotspot/src/share/vm/oops/
H A DinstanceMirrorKlass.hpp54 InstanceMirrorKlass() { assert(DumpSharedSpaces || UseSharedSpaces, "only for CDS"); }
58 assert(InstanceKlass::cast(k)->is_mirror_instance_klass(),
74 assert(_offset_of_static_fields == 0, "once");
H A DtypeArrayKlass.cpp81 assert(TypeArrayKlass::header_size() <= InstanceKlass::header_size(),
91 assert(is_array_klass(), "sanity");
92 assert(is_typeArray_klass(), "sanity");
95 assert(size() >= TypeArrayKlass::header_size(), "bad size");
101 assert(log2_element_size() >= 0, "bad scale");
125 assert(rank == 1, "just checking");
132 assert(s->is_typeArray(), "must be type array");
164 assert(dim <= n, "check order of chain");
186 assert(h_ak->is_objArray_klass(), "incorrect initialization of ObjArrayKlass");
204 assert(ob
[all...]
/openjdk10/hotspot/src/share/vm/shark/
H A DsharkConstant.cpp41 assert(constant.as_object()->klass() == env->String_klass()
54 assert(will_link, "typeflow responsibility");
113 assert(type != NULL, "shouldn't be");
H A DsharkState.cpp144 assert(this_oop_tmp && other_oop_tmp, "can't merge NULL with non-NULL");
152 assert(this->num_monitors() == other->num_monitors(), "should be");
155 assert(this->max_locals() == other->max_locals(), "should be");
159 assert((this_value == NULL) == (other_value == NULL), "should be");
169 assert(this->stack_depth() == other->stack_depth(), "should be");
173 assert((this_value == NULL) == (other_value == NULL), "should be");
203 assert(!block->stack_depth_at_entry(), "entry block shouldn't have stack");
246 assert(block->stack_depth_at_entry() == 0, "entry block shouldn't have stack");
385 assert(stack_depth == incoming_state->stack_depth(), "should be");
387 assert((stac
[all...]
/openjdk10/hotspot/src/share/vm/gc/cms/
H A DfreeChunk.hpp87 assert(is_free(), "can't get coalesce bit on not free");
92 assert(is_free(), "Should look like a free block");
133 assert(!is_free(), "Error");
/openjdk10/hotspot/src/share/vm/interpreter/
H A DtemplateInterpreter.cpp42 assert((int)Bytecodes::number_of_codes <= (int)DispatchTable::length,
72 assert(number_of_states == 10, "check the code below");
87 assert(number_of_states == 10, "check the code below");
102 assert(0 <= state && state < number_of_states, "state out of bounds");
108 assert(0 <= state && state < number_of_states, "state out of bounds");
136 assert(0 <= i && i < length, "index out of bounds");
154 assert(0 <= i && i < length, "index out of bounds");
155 assert(number_of_states == 10, "check the code below");
248 assert(!Bytecodes::is_invoke(code), "invoke instructions should be handled separately: %s", Bytecodes::name(code));
263 assert( stat
[all...]
/openjdk10/hotspot/src/share/vm/classfile/
H A DclassFileParser.cpp85 // We add assert in debug mode when class format is not checked.
112 assert((bad_constant == 19 || bad_constant == 20) && _major_version >= JAVA_9_VERSION,
121 assert(stream != NULL, "invariant");
122 assert(cp != NULL, "invariant");
132 assert(cfs->allocated_on_stack(), "should be local");
267 assert(utf8_buffer != NULL, "null utf8 buffer");
348 assert(stream->current() == old_current, "non-exclusive use of stream");
358 assert(cp != NULL, "invariant");
386 assert(cp != NULL, "invariant");
387 assert(strea
[all...]
H A DclassLoaderData.inline.hpp38 assert(loader_data != NULL, "Must be");
/openjdk10/hotspot/src/share/vm/ci/
H A DciInstance.hpp43 assert(h_i()->is_instance_noinline(), "wrong type");
/openjdk10/hotspot/src/share/vm/code/
H A DvtableStubs.hpp74 assert(is_abstract_method_error(ame_addr), "offset must be correct");
75 assert(is_null_pointer_exception(npe_addr), "offset must be correct");
76 assert(!is_abstract_method_error(npe_addr), "offset must be correct");
77 assert(!is_null_pointer_exception(ame_addr), "offset must be correct");
H A Dstubs.cpp112 assert(requested_code_size > 0, "requested_code_size must be > 0");
120 assert(_buffer_limit == _buffer_size, "buffer must be fully usable");
129 assert(!is_empty(), "just checkin'");
136 assert(!is_contiguous(), "just checkin'");
137 assert(_buffer_limit <= _buffer_size, "queue invariant broken");
152 assert(committed_code_size > 0, "committed_code_size must be > 0");
155 assert(committed_size <= stub_size(s), "committed size must not exceed requested size");
170 assert(_queue_begin <= _buffer_limit, "sanity check");
196 assert(number_of_stubs() == 0, "sanity check");
H A Dvmreg.cpp42 assert( VMRegImpl::regName[value()], "" );
/openjdk10/hotspot/src/cpu/x86/vm/
H A Dc1_MacroAssembler_x86.cpp42 assert(hdr == rax, "hdr must be rax, for the cmpxchg instruction");
43 assert(hdr != obj && hdr != disp_hdr && obj != disp_hdr, "registers must be different");
53 assert(scratch != noreg, "should have scratch register at this point");
105 assert(disp_hdr == rax, "disp_hdr must be rax, for the cmpxchg instruction");
106 assert(hdr != obj && hdr != disp_hdr && obj != disp_hdr, "registers must be different");
185 assert(hdr_size_in_bytes >= 0, "header size must be positive or 0");
197 assert(obj == rax, "obj must be in rax, for cmpxchg");
199 assert(header_size >= 0 && object_size >= header_size, "illegal sizes");
207 assert((con_size_in_bytes & MinObjAlignmentInBytesMask) == 0,
250 assert(ob
[all...]

Completed in 136 milliseconds

<<11121314151617181920>>