/openjdk10/hotspot/src/share/vm/utilities/ |
H A D | elfSymbolTable.cpp | 34 assert(file, "null file handle"); 93 assert(stringtableIndex, "null string table index pointer"); 94 assert(posIndex, "null string table offset pointer"); 95 assert(offset, "null offset pointer"); 102 assert((m_shdr.sh_size % sym_size) == 0, "check size");
|
H A D | json.cpp | 51 assert(start != NULL, "Need something to parse"); 183 assert(pos > prev_pos, "parsing stalled"); 197 assert(pos > prev_pos, "parsing stalled"); 209 assert(c == '}', "array parsing ended without object end token ('}')"); 248 assert(pos > prev_pos, "parsing stalled"); 260 assert(c == ']', "array parsing ended without array end token (']')"); 358 assert(tokens <= 1, "scanf implementation that counts as a token, parsing json numbers will always fail"); 360 assert(read > 0, "sanity"); 391 assert((mark == start || *(mark - 1)) != 0, "buffer overrun"); 392 assert(mar [all...] |
/openjdk10/hotspot/src/share/vm/gc/g1/ |
H A D | g1ParScanThreadState.cpp | 103 assert(ref != NULL, "invariant"); 104 assert(UseCompressedOops, "sanity"); 105 assert(!has_partial_array_mask(ref), "ref=" PTR_FORMAT, p2i(ref)); 107 assert(_g1h->is_in_g1_reserved(p), 113 assert(ref != NULL, "invariant"); 117 assert(_g1h->is_in_cset(p), 121 assert(_g1h->is_in_g1_reserved(p), 157 assert(state.is_in_cset_or_humongous(), "Unexpected state: " CSETSTATE_FORMAT, state.value()); 158 assert(dest->is_in_cset_or_humongous(), "Unexpected dest: " CSETSTATE_FORMAT, dest->value()); 187 assert(des [all...] |
H A D | g1InCSetState.hpp | 70 assert(is_valid(), "Invalid state %d", _value); 108 assert(get_by_index(index).is_default(), 114 assert(get_by_index(index).is_default(), 124 assert(get_by_index(index).is_default(), 130 assert(get_by_index(index).is_default(),
|
H A D | g1BiasedArray.hpp | 57 assert(base != NULL, "just checking"); 58 assert(length > 0, "just checking"); 59 assert(shift_by < sizeof(uintptr_t) * 8, "Shifting by %u, larger than word size?", shift_by); 70 assert(mapping_granularity_in_bytes > 0, "just checking"); 71 assert(is_power_of_2(mapping_granularity_in_bytes), 73 assert((uintptr_t)bottom % mapping_granularity_in_bytes == 0, 76 assert((uintptr_t)end % mapping_granularity_in_bytes == 0,
|
H A D | collectionSetChooser.hpp | 79 assert(res != NULL, "Unexpected NULL hr in _regions at index %u", _front); 88 assert(hr != NULL, "pre-condition"); 89 assert(_front < _end, "pre-condition"); 91 assert(hr->reclaimable_bytes() <= _remaining_reclaimable_bytes, 110 assert(hr->is_marked(), "pre-condition"); 111 assert(!hr->is_young(), "should never consider young regions"); 184 assert(_cur_chunk_idx < _cur_chunk_end, "invariant");
|
H A D | g1Allocator.cpp | 44 assert(_mutator_alloc_region.get() == NULL, "pre-condition"); 50 assert(_mutator_alloc_region.get() == NULL, "post-condition"); 58 assert(retained_region == NULL || !retained_region->is_archive(), 116 assert(survivor_gc_alloc_region(AllocationContext::current())->get() == NULL, "pre-condition"); 117 assert(old_gc_alloc_region(AllocationContext::current())->get() == NULL, "pre-condition"); 162 assert(result == NULL || temp == word_size, 188 assert(!_g1h->is_humongous(desired_word_size), 215 assert(!_g1h->is_humongous(desired_word_size), 270 assert(buf == NULL || ((actual_plab_size >= required_in_plab) && (actual_plab_size <= plab_word_size)), 278 assert(ob [all...] |
/openjdk10/hotspot/src/share/vm/oops/ |
H A D | methodData.hpp | 136 // See Deoptimization::trap_state_reason for an assert that 182 assert(ProfileTraps, "used only under +ProfileTraps"); 212 assert(flag_number < flag_limit, "oob"); 216 assert(flag_number < flag_limit, "oob"); 243 assert(0 <= flag_number && flag_number < flag_limit, "oob"); 325 assert(0 <= index && index < cell_count(), "oob"); 329 assert(0 <= index && index < cell_count(), "oob"); 333 assert(0 <= index && index < cell_count(), "oob"); 455 assert(is_BitData(), "wrong type"); 459 assert(is_CounterDat [all...] |
H A D | typeArrayOop.hpp | 51 assert(is_within_bounds(which), "index %d out of bounds %d", which, length()); 56 assert(is_within_bounds(which), "index %d out of bounds %d", which, length()); 61 assert(is_within_bounds(which), "index %d out of bounds %d", which, length()); 66 assert(is_within_bounds(which), "index %d out of bounds %d", which, length()); 71 assert(is_within_bounds(which), "index %d out of bounds %d", which, length()); 76 assert(is_within_bounds(which), "index %d out of bounds %d", which, length()); 81 assert(is_within_bounds(which), "index %d out of bounds %d", which, length()); 86 assert(is_within_bounds(which), "index %d out of bounds %d", which, length()); 91 assert(is_within_bounds(which), "index %d out of bounds %d", which, length()); 151 assert(lengt [all...] |
/openjdk10/hotspot/src/share/vm/gc/parallel/ |
H A D | asPSYoungGen.cpp | 53 assert(vs->committed_size() == init_byte_size, "Cannot replace with"); 60 assert(_init_gen_size != 0, "Should have a finite size"); 75 assert((gen_size_limit() >= current_committed_size), 99 assert(eden_space()->capacity_in_bytes() >= eden_alignment, 104 assert(virtual_space()->committed_size() >= min_gen_size(), 107 assert(virtual_space()->is_aligned(gen_avail), "not aligned"); 164 assert(max_size() == reserved().byte_size(), "max gen size problem?"); 165 assert(min_gen_size() <= orig_size && orig_size <= max_size(), 173 assert(desired_size <= gen_size_limit(), "just checking"); 187 assert(new_lo [all...] |
H A D | psCompactionManager.cpp | 69 assert(PSParallelCompact::gc_task_manager() != NULL, 76 assert(_manager_array == NULL, "Attempt to initialize twice"); 101 assert(PSParallelCompact::gc_task_manager()->workers() != 0, 113 assert(action() != NotValid, "Action is not set"); 120 assert(action() != NotValid, "Action is not set"); 128 assert(index < ParallelGCThreads, "index out of range"); 129 assert(_manager_array != NULL, "Sanity"); 134 assert(obj != NULL, "can't follow the content of NULL object"); 166 assert(java_lang_Class::is_primitive(obj), "Sanity check"); 234 assert(ob [all...] |
H A D | cardTableExtension.cpp | 109 assert(_card_table->addr_is_marked_precise(p), "Found unmarked precise oop"); 141 assert(sp->bottom() < sp->top(), "Should not be called if empty"); 160 // this, we assert that any object with an object head inside our 'slice' 204 assert(slice_end <= (HeapWord*)sp_top, "Last object in slice crosses space boundary"); 205 assert(is_valid_card_address(worker_start_card), "Invalid worker start card"); 206 assert(is_valid_card_address(worker_end_card), "Invalid worker end card"); 209 assert(worker_start_card <= end_card, "worker start card beyond end card"); 210 assert(worker_end_card <= end_card, "worker end card beyond end card"); 236 assert(ending_card_of_last_object <= worker_end_card, "ending_card_of_last_object is greater than worker_end_card"); 248 assert((HeapWor [all...] |
/openjdk10/hotspot/src/share/vm/libadt/ |
H A D | set.cpp | 32 #include <assert.h> 40 Set::operator const SparseSet*() const { assert(0); return NULL; } */ 41 const SparseSet *Set::asSparseSet() const { assert(0); return NULL; } 44 Set::operator const VectorSet*() const { assert(0); return NULL; } */ 45 const VectorSet *Set::asVectorSet() const { assert(0); return NULL; } 48 Set::operator const ListSet*() const { assert(0); return NULL; } */ 49 const ListSet *Set::asListSet() const { assert(0); return NULL; } 52 Set::operator const CoSet*() const { assert(0); return NULL; } */ 53 const CoSet *Set::asCoSet() const { assert(0); return NULL; }
|
/openjdk10/hotspot/src/share/vm/runtime/ |
H A D | jfieldIDWorkaround.hpp | 123 assert(raw_instance_offset(result) == (offset & large_offset_mask), "extract right offset"); 139 assert(id->is_static_field_id(), "from_JNIid, but not static field id"); 141 assert(from_static_jfieldID(result) == id, "must produce the same static id"); 146 assert(jfieldIDWorkaround::is_static_jfieldID(id), 149 assert(result->is_static_field_id(), "to_JNIid, but not static field id");
|
/openjdk10/hotspot/src/share/vm/gc/cms/ |
H A D | compactibleFreeListSpace.cpp | 65 assert(MinChunkSize == 0, "already set"); 72 assert(IndexSetStart == 0 && IndexSetStride == 0, "already set"); 97 assert(sizeof(FreeChunk) / BytesPerWord <= MinChunkSize, 104 assert(_dictionary != NULL, "CMS dictionary initialization"); 140 assert(this == cp->space, "'this' should be current compaction space."); 142 assert(adjustObjectSize(size) == cp->space->adjust_object_size_v(size), 145 assert(compaction_max_size >= MinChunkSize || compaction_max_size == 0, 147 assert(minimum_free_block_size() == MinChunkSize, 158 assert(cp->gen != NULL, "compaction must succeed"); 160 assert(c [all...] |
H A D | parNewGeneration.cpp | 125 assert(old->is_objArray(), "must be obj array"); 126 assert(old->is_forwarded(), "must be forwarded"); 127 assert(GenCollectedHeap::heap()->is_in_reserved(old), "must be in heap."); 128 assert(!old_gen()->is_in(old), "must be in young generation."); 136 assert(start <= end, "just checking"); 143 assert(ok, "just popped, push must be okay"); 194 assert(ParGCUseLocalOverflow, "Else should not call"); 195 assert(young_gen()->overflow_list() == NULL, "Error"); 208 assert(GenCollectedHeap::heap()->is_in_reserved(cur), "Should be in heap"); 209 assert(!old_ge [all...] |
/openjdk10/hotspot/src/share/vm/ci/ |
H A D | ciField.cpp | 74 assert(ciObjectFactory::is_initialized(), "not a shared field"); 76 assert(klass->get_instanceKlass()->is_linked(), "must be linked before using its constant-pool"); 173 assert(canonical_holder == field_desc.field_holder(), "just checking"); 199 assert(is_shared() || ciObjectFactory::is_initialized(), 248 assert(SystemDictionary::System_klass() != NULL, "Check once per vm"); 267 assert(SystemDictionary::CallSite_klass() != NULL, "should be already initialized"); 270 assert(!has_initialized_final_update(), "CallSite is not supposed to have writes to final fields outside initializers"); 283 assert(is_static() && is_constant(), "illegal call to constant_value()"); 303 assert(!is_static() && is_constant(), "only if field is non-static constant"); 304 assert(objec [all...] |
H A D | ciTypeFlow.hpp | 228 assert(lnum < outer()->max_locals(), "index check"); 233 assert(snum < stack_size(), "index check"); 245 assert(start_cell() <= c && c < limit_cell(), "out of bounds"); 250 assert(start_cell() <= c && c < limit_cell(), "out of bounds"); 299 assert(is_int(type_at_tos()), "must be integer"); 303 assert(is_int(type_at(c)), "must be integer"); 310 assert(type_at_tos() == double2_type(), "must be 2nd half"); 312 assert(is_double(type_at_tos()), "must be double"); 319 assert(is_float(type_at_tos()), "must be float"); 327 assert(type_at_to [all...] |
/openjdk10/hotspot/src/share/vm/classfile/ |
H A D | klassFactory.cpp | 46 assert(ik != NULL, "sanity"); 47 assert(ik->is_shared(), "expecting a shared class"); 50 assert(THREAD->is_Java_thread(), "must be JavaThread"); 55 assert(archived_class_data != NULL, "shared class has no archived class data"); 128 assert(stream != NULL, "invariant"); 131 assert(THREAD->is_Java_thread(), "must be a JavaThread"); 184 assert(stream != NULL, "invariant"); 185 assert(loader_data != NULL, "invariant"); 186 assert(THREAD->is_Java_thread(), "must be a JavaThread"); 215 assert(resul [all...] |
H A D | dictionary.cpp | 70 assert(number_of_entries() == 0, "should have removed all entries"); 71 assert(new_entry_free_list() == NULL, "entry present on Dictionary's free list"); 78 assert(klass->is_instance_klass(), "Must be"); 114 assert(false, "A klass's protection domain should not show up " 155 assert(SafepointSynchronize::is_at_safepoint(), "must be at safepoint"); 174 assert(k_def_class_loader_data != loader_data(), 186 assert(DumpSharedSpaces, "supported only when dumping"); 248 assert(DumpSharedSpaces, "dump-time only"); 270 assert(obj != NULL, "adding NULL obj"); 271 assert(ob [all...] |
/openjdk10/hotspot/src/share/vm/prims/ |
H A D | jvmtiGetLoadedClasses.cpp | 43 assert(_cur_thread == Thread::current(), "must be current thread"); 100 assert(that == NULL, "JvmtiGetLoadedClassesClosure in use"); 110 assert(that == NULL, "JvmtiGetLoadedClassesClosure in use"); 120 assert(that != NULL, "JvmtiGetLoadedClassesClosure not found"); 164 assert(false, "empty get_element"); 173 assert(false, "bad set_element"); 186 assert(Universe::heap()->is_in(get_element(i)()), "check fails"); 194 assert(_list != NULL, "Out of memory"); 236 assert(that != NULL, "no JvmtiGetLoadedClassesClosure"); 245 assert(tha [all...] |
/openjdk10/hotspot/src/share/vm/services/ |
H A D | lowMemoryDetector.cpp | 42 assert(Service_lock->owned_by_self(), "Must own Service_lock"); 207 assert(Service_lock->owned_by_self(), "Must own Service_lock"); 208 assert(high_low_threshold->is_high_threshold_supported(), "just checking"); 213 assert(!(is_over_high && is_below_low), "Can't be both true"); 262 assert(Service_lock->owned_by_self(), "Must own Service_lock"); 263 assert(counter_threshold->is_high_threshold_supported(), "just checking"); 268 assert(!(is_over_high && is_below_low), "Can't be both true"); 294 assert(count <= _pending_trigger_count, "just checking"); 311 assert((PENDING_EXCEPTION->is_a(SystemDictionary::OutOfMemoryError_klass())), "we expect only an OOME here"); 330 assert((PENDING_EXCEPTIO [all...] |
/openjdk10/hotspot/src/share/vm/code/ |
H A D | vmreg.hpp | 68 static VMReg as_VMReg(int val, bool bad_ok = false) { assert(val > BAD_REG || bad_ok, "invalid"); return (VMReg) (intptr_t) val; } 100 assert((is_reg() && value() < stack0->value() - 1) || is_stack(), "must be"); 104 assert((is_reg() && value() < stack0->value() - i) || is_stack(), "must be"); 108 assert((is_stack() && value() > stack0->value()) || (is_reg() && value() != 0), "must be"); 124 assert(is_stack(), "must be"); 127 assert(res->is_stack(), "must be"); 137 assert( is_stack(), "Not a stack-based register" );
|
/openjdk10/jdk/src/jdk.management/windows/native/libmanagement_ext/ |
H A D | OperatingSystemImpl.c | 44 #include <assert.h> 251 assert(criticalSection); 259 assert(criticalSection); 269 assert(criticalSection); 270 assert(GetCurrentThreadId() == criticalSection->owningThread); 271 assert(criticalSection->recursionCount >= 1); 329 assert(originalString); 358 assert(ppBuffer); 405 assert(objectName); 406 assert(counterNam [all...] |
/openjdk10/hotspot/src/cpu/aarch64/vm/ |
H A D | c1_CodeStubs_aarch64.cpp | 59 assert(info != NULL, "must have info"); 126 assert(stub_id == Runtime1::new_instance_id || 136 assert(__ rsp_offset() == 0, "frame size should be fixed"); 142 assert(_result->as_register() == r0, "result must in r0,"); 160 assert(__ rsp_offset() == 0, "frame size should be fixed"); 162 assert(_length->as_register() == r19, "length must in r19,"); 163 assert(_klass_reg->as_register() == r3, "klass_reg must in r3"); 167 assert(_result->as_register() == r0, "result must in r0"); 183 assert(__ rsp_offset() == 0, "frame size should be fixed"); 185 assert(_lengt [all...] |