/openjdk7/hotspot/src/share/vm/oops/ |
H A D | arrayOop.cpp | 43 assert(check_max_length_overflow(T_BOOLEAN), "size_t overflow for boolean array"); 44 assert(check_max_length_overflow(T_CHAR), "size_t overflow for char array"); 45 assert(check_max_length_overflow(T_FLOAT), "size_t overflow for float array"); 46 assert(check_max_length_overflow(T_DOUBLE), "size_t overflow for double array"); 47 assert(check_max_length_overflow(T_BYTE), "size_t overflow for byte array"); 48 assert(check_max_length_overflow(T_SHORT), "size_t overflow for short array"); 49 assert(check_max_length_overflow(T_INT), "size_t overflow for int array"); 50 assert(check_max_length_overflow(T_LONG), "size_t overflow for long array"); 51 assert(check_max_length_overflow(T_OBJECT), "size_t overflow for object array"); 52 assert(check_max_length_overflo [all...] |
H A D | klass.inline.hpp | 32 assert(!header->has_bias_pattern() || oop_is_instance(), "biased locking currently only supported for Java instances");
|
/openjdk7/hotspot/src/os/windows/vm/ |
H A D | threadCritical_windows.cpp | 57 assert(lock_owner == -1, "Mutex being deleted while owned."); 58 assert(lock_count == -1, "Mutex being deleted while recursively locked"); 59 assert(lock_event != NULL, "Sanity check"); 71 assert(ret == WAIT_OBJECT_0, "unexpected return value from WaitForSingleObject"); 82 assert(lock_owner == -1, "Lock acquired illegally."); 89 assert(lock_owner == GetCurrentThreadId(), "Lock acquired illegally."); 93 assert(lock_owner == GetCurrentThreadId(), "unlock attempt by wrong thread"); 94 assert(lock_count >= 0, "Attempt to unlock when already unlocked"); 102 assert(ret != 0, "unexpected return value from SetEvent");
|
/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/ |
H A D | cmsLockVerifier.cpp | 47 assert(p_lock1 == NULL && p_lock2 == NULL, "Unexpected caller error"); 51 assert(myThread == ConcurrentMarkSweepThread::cmst(), 53 assert(ConcurrentMarkSweepThread::cms_thread_has_cms_token(), 56 assert(ConcurrentMarkSweepThread::vm_thread_has_cms_token(), 62 assert(myThread->is_GC_task_thread(), "Unexpected thread type"); 78 assert(p_lock1 == NULL || !p_lock1->is_locked() || p_lock1->owned_by_self(), 80 assert(p_lock2 == NULL || !p_lock2->is_locked() || p_lock2->owned_by_self(), 87 assert(lock->owner() == VMThread::vm_thread() ||
|
H A D | concurrentMarkSweepThread.cpp | 69 assert(UseConcMarkSweepGC, "UseConcMarkSweepGC should be set"); 70 assert(_cmst == NULL, "CMS thread already created"); 72 assert(_collector == NULL, "Collector already set"); 102 assert(!CMSIncrementalMode || icms_is_enabled(), "Error"); 106 assert(this == cmst(), "just checking"); 112 assert(this == Thread::current(), "just checking"); 147 assert(_should_terminate, "just checking"); 157 assert(_cmst == this, "Weird!"); 168 assert(!(CGC_lock->owned_by_self() || cms_thread_has_cms_token() || 178 assert(cms [all...] |
H A D | freeChunk.cpp | 42 assert(size >= MinChunkSize, "smallest size of object"); 43 // we can't assert that _size == size because this may be an 45 assert(sizeof(FreeChunk) % HeapWordSize == 0, 53 assert(baadbabeHeapWord != deadbeefHeapWord, "Need distinct patterns"); 56 assert(sz >= MinChunkSize, "smallest size of object"); 57 assert(sz == size(), "just checking"); 66 assert(this == nextFC->prev(), "broken chain"); 67 assert(size() == nextFC->size(), "wrong size");
|
/openjdk7/hotspot/src/share/vm/ci/ |
H A D | ciObject.hpp | 76 assert(_handle != NULL, "null oop"); 198 assert(is_null_object(), "bad cast"); 202 assert(is_call_site(), "bad cast"); 206 assert(is_cpcache(), "bad cast"); 210 assert(is_instance(), "bad cast"); 214 assert(is_member_name(), "bad cast"); 218 assert(is_method(), "bad cast"); 222 assert(is_method_data(), "bad cast"); 226 assert(is_method_handle(), "bad cast"); 230 assert(is_method_typ [all...] |
H A D | ciTypeArray.cpp | 41 assert(index >= 0 && index < length(), "out of range");
|
H A D | ciKlass.cpp | 39 assert(get_oop()->is_klass(), "wrong type"); 43 assert(klass_name != NULL, "wrong ciKlass constructor"); 52 assert(get_oop()->is_klass(), "wrong type"); 69 assert(is_loaded() && that->is_loaded(), "must be loaded"); 70 assert(is_java_klass() && that->is_java_klass(), "must be java klasses"); 87 assert(is_loaded() && that->is_loaded(), "must be loaded"); 88 assert(is_java_klass() && that->is_java_klass(), "must be java klasses"); 102 assert(is_loaded(), "must be loaded"); 103 assert(is_java_klass(), "must be java klasses"); 113 assert(is_loade [all...] |
H A D | ciConstant.hpp | 56 assert(type != T_LONG && type != T_DOUBLE && type != T_FLOAT, 76 assert(basic_type() == T_BOOLEAN, "wrong type"); 80 assert(basic_type() == T_CHAR, "wrong type"); 84 assert(basic_type() == T_BYTE, "wrong type"); 88 assert(basic_type() == T_SHORT, "wrong type"); 92 assert(basic_type() == T_BOOLEAN || basic_type() == T_CHAR || 98 assert(basic_type() == T_LONG, "wrong type"); 102 assert(basic_type() == T_FLOAT, "wrong type"); 106 assert(basic_type() == T_DOUBLE, "wrong type"); 110 assert(basic_typ [all...] |
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | globalDefinitions.cpp | 61 assert(min_intx == (intx)CONST64(0x8000000000000000), "correct constant"); 62 assert(max_intx == CONST64(0x7FFFFFFFFFFFFFFF), "correct constant"); 63 assert(max_uintx == CONST64(0xFFFFFFFFFFFFFFFF), "correct constant"); 64 assert( 8 == sizeof( intx), "wrong size for basic type"); 65 assert( 8 == sizeof( jobject), "wrong size for basic type"); 67 assert(min_intx == (intx)0x80000000, "correct constant"); 68 assert(max_intx == 0x7FFFFFFF, "correct constant"); 69 assert(max_uintx == 0xFFFFFFFF, "correct constant"); 70 assert( 4 == sizeof( intx), "wrong size for basic type"); 71 assert( [all...] |
H A D | quickSort.cpp | 100 assert(sort_and_compare(test_array, expected_array, 0, test_comparator), "Empty array not handled"); 105 assert(sort_and_compare(test_array, expected_array, 1, test_comparator), "Single value array not handled"); 110 assert(sort_and_compare(test_array, expected_array, 2, test_comparator), "Array with 2 values not correctly sorted"); 115 assert(sort_and_compare(test_array, expected_array, 3, test_comparator), "Array with 3 values not correctly sorted"); 120 assert(sort_and_compare(test_array, expected_array, 4, test_comparator), "Array with 4 values not correctly sorted"); 125 assert(sort_and_compare(test_array, expected_array, 10, test_comparator), "Array with 10 values not correctly sorted"); 130 assert(sort_and_compare(test_array, expected_array, 4, test_comparator), "3 duplicates not sorted correctly"); 135 assert(sort_and_compare(test_array, expected_array, 10, test_comparator), "Already sorted array not correctly sorted"); 141 assert(sort_and_compare(test_array, expected_array, 42, test_comparator), "Not correctly sorted"); 146 assert(sort_and_compar [all...] |
H A D | yieldingWorkgroup.cpp | 116 assert(task() == NULL, "Gang currently tied to a task"); 117 assert(new_task != NULL, "Null task"); 124 assert(requested_size >= 0, "Should be non-negative"); 133 assert(_started_workers == 0, "Tabula rasa non"); 134 assert(_finished_workers == 0, "Tabula rasa non"); 135 assert(_yielded_workers == 0, "Tabula rasa non"); 146 assert(monitor()->owned_by_self(), "Data race"); 151 assert(started_workers() <= active_workers(), "invariant"); 152 assert(finished_workers() <= active_workers(), "invariant"); 153 assert(yielded_worker [all...] |
/openjdk7/hotspot/src/os/solaris/vm/ |
H A D | threadCritical_solaris.cpp | 53 assert(global_mut_count == 0, "must have clean count"); 54 assert(global_mut_owner == -1, "must have clean owner"); 59 assert (Threads::number_of_threads() == 0, "valid only during initialization"); 65 assert(global_mut_owner == thr_self(), "must have correct owner"); 66 assert(global_mut_count > 0, "must have correct count"); 75 assert (Threads::number_of_threads() == 0, "valid only during initialization");
|
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/ |
H A D | spaceDecorator.cpp | 44 assert(!CheckZapUnusedHeapArea || is_mangled(v), 54 assert(ZapUnusedHeapArea, "Mangling should not be in use"); 77 assert(ZapUnusedHeapArea, "Mangling should not be in use"); 84 assert(ZapUnusedHeapArea, "Mangling should not be in use"); 107 assert(top() == end() || 109 assert((top_for_allocations() < top()) || 113 assert(top() == end() || 125 assert(ZapUnusedHeapArea, "Not mangling unused area"); 138 assert(passed, "Mangling is not complete");
|
H A D | isGCActiveMark.hpp | 39 assert(!heap->is_gc_active(), "Not reentrant"); 45 assert(heap->is_gc_active(), "Sanity");
|
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | orderAccess.cpp | 32 // nothing in that case but assert if no fence code exists after threads have been created 39 assert(Threads::number_of_threads() == 0, "for bootstrap only");
|
/openjdk7/hotspot/src/share/vm/memory/ |
H A D | freeList.cpp | 88 assert(head() == NULL || head()->prev() == NULL, "list invariant"); 89 assert(tail() == NULL || tail()->next() == NULL, "list invariant"); 103 assert(head() == NULL || head()->prev() == NULL, "list invariant"); 104 assert(tail() == NULL || tail()->next() == NULL, "list invariant"); 112 assert(fl->count() == 0, "Precondition"); 120 assert(tl != NULL, "Loop Inv."); 143 assert(head() != NULL, "Remove from empty list"); 144 assert(fc != NULL, "Remove a NULL chunk"); 145 assert(size() == fc->size(), "Wrong list"); 146 assert(hea [all...] |
/openjdk7/hotspot/src/os/linux/vm/ |
H A D | osThread_linux.cpp | 51 assert(this != NULL, "check"); 62 assert(_startThread_lock !=NULL, "check");
|
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/ |
H A D | psPromotionLAB.cpp | 38 assert(lab_is_valid(lab), "Sanity"); 58 assert(lab.word_size() >= filler_header_size, "lab is too small"); 67 assert(this->top() <= this->end(), "pointers out of order"); 73 assert(_state != flushed, "Attempt to flush PLAB twice"); 74 assert(top() <= end(), "pointers out of order"); 89 assert( (array_length * (HeapWordSize/sizeof(jint))) < (size_t)max_jint, "array too big in PSPromotionLAB"); 106 assert(Universe::heap()->is_in(obj), "Object outside heap"); 110 assert(object_end == top(), "Not matching last allocation"); 122 assert(_state != flushed, "Attempt to flush PLAB twice"); 123 assert(to [all...] |
H A D | objectStartArray.cpp | 36 assert((int)block_size == (int)CardTableModRefBS::card_size, "Sanity"); 37 assert((int)block_size <= 512, "block_size must be less than or equal to 512"); 43 assert(bytes_to_reserve > 0, "Sanity"); 80 assert(_reserved_region.contains(mr), "MemRegion outside of reserved space"); 81 assert(_reserved_region.start() == mr.start(), "Attempt to move covered region"); 85 assert((uintptr_t(low_bound) & (block_size - 1)) == 0, "heap must start at block boundary"); 86 assert((uintptr_t(high_bound) & (block_size - 1)) == 0, "heap must end at block boundary"); 116 assert(requested_blocks_size_in_bytes % sizeof(HeapWord) == 0, "Block table not expanded in word sized increment"); 117 assert(requested_blocks_size_in_bytes == _blocks_region.byte_size(), "Sanity"); 118 assert(block_for_add [all...] |
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/ |
H A D | g1AllocRegion.cpp | 33 assert(_dummy_region == NULL, "should be set once"); 34 assert(dummy_region != NULL, "pre-condition"); 35 assert(dummy_region->free() == 0, "pre-condition"); 39 assert(allocate(dummy_region, 1, false) == NULL, "should fail"); 40 assert(par_allocate(dummy_region, 1, false) == NULL, "should fail"); 41 assert(allocate(dummy_region, 1, true) == NULL, "should fail"); 42 assert(par_allocate(dummy_region, 1, true) == NULL, "should fail"); 50 assert(alloc_region != NULL && alloc_region != _dummy_region, 83 assert(alloc_region->free() / HeapWordSize < min_word_size_to_fill, 88 assert(_alloc_regio [all...] |
H A D | heapRegionSeq.cpp | 36 assert(num > 1, "use this only for sequences of length 2 or greater"); 37 assert(from <= len, 57 assert(num_so_far <= num, "post-condition"); 60 assert(from <= first && first < len, "post-condition"); 61 assert(first < curr && (curr - first) == num, "post-condition"); 63 assert(at(i)->is_empty(), "post-condition"); 76 assert((uintptr_t) bottom % HeapRegion::GrainBytes == 0, 78 assert((uintptr_t) end % HeapRegion::GrainBytes == 0, 93 assert(&_regions[0] == &_regions_biased[addr_to_index_biased(bottom)], 100 assert(old_en [all...] |
H A D | heapRegionSeq.inline.hpp | 32 assert(_heap_bottom <= addr && addr < _heap_end, 40 assert(_heap_bottom <= addr && addr < _heap_end, 45 assert(hr != NULL, "invariant"); 51 assert(addr >= _heap_bottom, 59 assert(index < length(), "pre-condition"); 61 assert(hr != NULL, "sanity"); 62 assert(hr->hrs_index() == index, "sanity");
|
/openjdk7/hotspot/src/share/vm/interpreter/ |
H A D | bytecodeStream.cpp | 30 assert(!is_last_bytecode(), "should have been checked"); 39 assert(_bci < _next_bci, "length must be > 0"); function 60 assert(size == 2, "raw invokedynamic instruction has 2-byte index only"); 68 assert( is_raw(), "this function only works on raw streams"); 70 assert(!is_raw(), "this function only works on non-raw streams");
|