Searched refs:guarantee (Results 1 - 25 of 331) sorted by relevance

1234567891011>>

/openjdk10/hotspot/src/cpu/aarch64/vm/
H A Dc2_init_aarch64.cpp33 guarantee(CodeEntryAlignment >= InteriorEntryAlignment, "" );
/openjdk10/hotspot/src/cpu/s390/vm/
H A Dc2_init_s390.cpp33 guarantee(CodeEntryAlignment >= InteriorEntryAlignment, "");
/openjdk10/hotspot/src/cpu/sparc/vm/
H A Dc2_init_sparc.cpp32 guarantee(CodeEntryAlignment >= InteriorEntryAlignment, "" );
H A DrelocInfo_sparc.cpp81 guarantee(Assembler::inv_immed(inst), "must have a simm13 field");
83 guarantee(Assembler::is_simm13(simm13), "offset can't overflow simm13");
87 guarantee(ip->long_at(0) == inst, "instructions must match");
97 guarantee(Assembler::inv_op2(inst)==Assembler::sethi_op2, "must be sethi");
104 guarantee(ip->long_at(0) == inst, "instructions must match");
109 guarantee(Assembler::inv_op(inst2)==Assembler::arith_op, "arith op");
111 guarantee(ip->long_at(NativeInstruction::nop_instruction_size) == NativeInstruction::set_data32_simm13( inst2, (intptr_t)np),
127 guarantee(false, "instruction must perform arithmetic or memory access");
/openjdk10/hotspot/src/share/vm/gc/g1/
H A Dg1BiasedArray.cpp38 guarantee(_base != NULL, "Array not initialized");
39 guarantee(index < length(), "Index out of bounds index: " SIZE_FORMAT " length: " SIZE_FORMAT, index, length());
43 guarantee(_biased_base != NULL, "Array not initialized");
44 guarantee(biased_index >= bias() && biased_index < (bias() + length()),
50 guarantee(_biased_base != NULL, "Array not initialized");
51 guarantee(biased_index >= bias() && biased_index <= (bias() + length()),
H A DheapRegionSet.cpp92 guarantee(_unrealistically_long_length == 0, "should only be set once");
269 guarantee(_head == NULL || _head->prev() == NULL, "_head should not have a prev");
274 guarantee(count < _unrealistically_long_length,
279 guarantee(curr->next()->prev() == curr, "Next or prev pointers messed up");
281 guarantee(curr->hrm_index() == 0 || curr->hrm_index() > last_index, "List should be sorted");
291 guarantee(_tail == prev0, "Expected %s to end with %u but it ended with %u.", name(), _tail->hrm_index(), prev0->hrm_index());
292 guarantee(_tail == NULL || _tail->next() == NULL, "_tail should not have a next");
293 guarantee(length() == count, "%s count mismatch. Expected %u, actual %u.", name(), length(), count);
317 guarantee(Thread::current()->is_VM_thread() ||
320 guarantee(Heap_loc
[all...]
H A Dg1FromCardCache.cpp39 guarantee(max_num_regions > 0, "Heap size must be valid");
40 guarantee(_cache == NULL, "Should not call this multiple times");
54 guarantee((size_t)start_idx + new_num_regions <= max_uintx,
H A Dg1PageBasedVirtualSpace.cpp43 guarantee(rs.is_reserved(), "Given reserved space must have been reserved already.");
48 guarantee(is_aligned(rs.base(), page_size),
50 guarantee(is_aligned(used_size, os::vm_page_size()),
52 guarantee(used_size <= rs.size(),
54 guarantee(is_aligned(rs.size(), page_size),
122 guarantee(index <= _committed.size(),
152 guarantee(start_page < end_page,
154 guarantee(end_page <= _committed.size(),
180 guarantee(start_page < end_page,
188 guarantee(is_area_uncommitte
[all...]
H A DsurvRateGroup.cpp59 guarantee( _stats_arrays_length == 1, "invariant" );
60 guarantee( _surv_rate_pred[0] != NULL, "invariant" );
87 guarantee( 0 <= age_in_group && (size_t) age_in_group < _region_num,
H A DheapRegionManager.cpp76 guarantee(num_regions > 0, "Must commit more than zero regions");
77 guarantee(_num_committed + num_regions <= max_length(), "Cannot commit more than the maximum amount of regions");
94 guarantee(num_regions >= 1, "Need to specify at least one region to uncommit, tried to uncommit zero regions at %u", start);
95 guarantee(_num_committed >= num_regions, "pre-condition");
121 guarantee(num_regions > 0, "No point in calling this for zero regions");
215 guarantee((!empty_only && !is_available(i)) || (is_available(i) && hr != NULL && hr->is_empty()),
226 guarantee(r != NULL, "Start region must be a valid region");
227 guarantee(is_available(r->hrm_index()), "Trying to iterate starting from region %u which is not in the heap", r->hrm_index());
244 guarantee(at(i) != NULL, "Tried to access region %u that has a NULL HeapRegion*", i);
254 guarantee(res_id
[all...]
H A DcollectionSetChooser.cpp92 guarantee(_end <= regions_length(), "_end: %u regions length: %u", _end, regions_length());
93 guarantee(_front <= _end, "_front: %u _end: %u", _front, _end);
97 guarantee(regions_at(index) == NULL,
104 guarantee(curr != NULL, "Regions in _regions array cannot be NULL");
105 guarantee(!curr->is_young(), "should not be young!");
106 guarantee(!curr->is_pinned(),
109 guarantee(order_regions(prev, curr) != 1,
116 guarantee(sum_of_reclaimable_bytes == _remaining_reclaimable_bytes,
/openjdk10/hotspot/src/share/vm/classfile/
H A DclassLoaderExt.cpp34 guarantee(!HAS_PENDING_EXCEPTION, "Exception creating a symbol.");
H A DclassLoaderData.inline.hpp44 guarantee(loader() != NULL && oopDesc::is_oop(loader()), "Loader must be oop");
/openjdk10/hotspot/src/share/vm/runtime/
H A Dpark.cpp75 guarantee (ev->AssociatedWith == NULL, "invariant") ;
79 guarantee ((intptr_t(ev) & 0xFF) == 0, "invariant") ;
89 guarantee (ev->FreeNext == NULL , "invariant") ;
127 guarantee (t != NULL, "invariant") ;
144 guarantee (p->AssociatedWith == NULL, "invariant") ;
157 guarantee (p->AssociatedWith != NULL, "invariant") ;
158 guarantee (p->FreeNext == NULL , "invariant") ;
/openjdk10/hotspot/src/os/bsd/vm/
H A DthreadCritical_bsd.cpp50 guarantee(ret == 0, "fatal error with pthread_mutex_lock()");
65 guarantee(ret == 0, "fatal error with pthread_mutex_unlock()");
/openjdk10/hotspot/src/os/linux/vm/
H A DthreadCritical_linux.cpp50 guarantee(ret == 0, "fatal error with pthread_mutex_lock()");
65 guarantee(ret == 0, "fatal error with pthread_mutex_unlock()");
/openjdk10/hotspot/src/os/aix/vm/
H A DthreadCritical_aix.cpp51 guarantee(ret == 0, "fatal error with pthread_mutex_lock()");
66 guarantee(ret == 0, "fatal error with pthread_mutex_unlock()");
/openjdk10/hotspot/src/share/vm/oops/
H A DinstanceRefKlass.cpp75 guarantee(oopDesc::is_oop(referent), "referent field heap failed");
80 guarantee(oopDesc::is_oop(next), "next field should be an oop");
81 guarantee(next->is_instance(), "next field should be an instance");
82 guarantee(InstanceKlass::cast(next->klass())->is_reference_instance_klass(), "next field verify failed");
H A DcompiledICHolder.cpp66 guarantee(holder_method()->is_method(), "should be method");
67 guarantee(holder_klass()->is_klass(), "should be klass");
/openjdk10/hotspot/src/share/vm/prims/
H A DjvmtiRawMonitor.cpp95 guarantee(false, "_magic field is an unexpected size");
155 guarantee (_owner == Self, "invariant") ;
168 guarantee (w ->TState == ObjectWaiter::TS_ENTER, "invariant") ;
178 guarantee (_owner == Self , "invariant") ;
179 guarantee (_recursions == 0, "invariant") ;
191 guarantee (_owner != Self, "invariant") ;
214 guarantee (p == &Node, "invariant") ;
216 guarantee (p == _WaitSet, "invariant") ;
219 guarantee (p == q->_next, "invariant") ;
227 guarantee (Nod
[all...]
/openjdk10/hotspot/src/os/windows/vm/
H A Dos_windows.hpp170 ~PlatformEvent() { guarantee (0, "invariant") ; }
176 guarantee (_ParkHandle != NULL, "invariant") ;
194 ~PlatformParker () { guarantee (0, "invariant") ; }
197 guarantee (_ParkEvent != NULL, "invariant") ;
/openjdk10/hotspot/src/cpu/zero/vm/
H A Dstack_zero.inline.hpp51 guarantee(Thread::current() == thread, "should run in the same thread");
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.debug/src/org/graalvm/compiler/debug/
H A DGraalError.java58 * stronger than assertions in that they are always checked. Error messages for guarantee
65 public static void guarantee(boolean condition, String msg) { method in class:GraalError
67 throw new GraalError("failed guarantee: " + msg);
73 * stronger than assertions in that they are always checked. Error messages for guarantee
82 public static void guarantee(boolean condition, String msg, Object arg) { method in class:GraalError
84 throw new GraalError("failed guarantee: " + msg, arg);
90 * stronger than assertions in that they are always checked. Error messages for guarantee
100 public static void guarantee(boolean condition, String msg, Object arg1, Object arg2) { method in class:GraalError
102 throw new GraalError("failed guarantee: " + msg, arg1, arg2);
108 * stronger than assertions in that they are always checked. Error messages for guarantee
119 public static void guarantee(boolean condition, String msg, Object arg1, Object arg2, Object arg3) { method in class:GraalError
132 public static void guarantee(boolean condition, String msg, Object... args) { method in class:GraalError
[all...]
/openjdk10/hotspot/src/share/vm/code/
H A Dstubs.cpp235 guarantee(0 <= _buffer_size, "buffer size must be positive");
236 guarantee(0 <= _buffer_limit && _buffer_limit <= _buffer_size , "_buffer_limit out of bounds");
237 guarantee(0 <= _queue_begin && _queue_begin < _buffer_limit, "_queue_begin out of bounds");
238 guarantee(0 <= _queue_end && _queue_end <= _buffer_limit, "_queue_end out of bounds");
240 guarantee(_buffer_size % CodeEntryAlignment == 0, "_buffer_size not aligned");
241 guarantee(_buffer_limit % CodeEntryAlignment == 0, "_buffer_limit not aligned");
242 guarantee(_queue_begin % CodeEntryAlignment == 0, "_queue_begin not aligned");
243 guarantee(_queue_end % CodeEntryAlignment == 0, "_queue_end not aligned");
246 guarantee(_buffer_limit == _buffer_size, "_buffer_limit must equal _buffer_size");
254 guarantee(
[all...]
/openjdk10/hotspot/src/share/vm/gc/shared/
H A DgenerationSpec.cpp70 guarantee(false, "unrecognized GenerationName");

Completed in 196 milliseconds

1234567891011>>