Lines Matching defs:assert
84 assert(policy != NULL, "Sanity check");
215 assert(total_reserved % pageSize == 0,
219 assert(total_reserved % pageSize == 0,
232 assert(total_reserved != 0, "total_reserved cannot be 0");
270 assert(heap_address == NULL, "");
294 assert(def_new_gen->kind() == Generation::DefNew ||
300 assert(old_gen->kind() == Generation::ConcurrentMarkSweep ||
337 assert(level < _n_gens, "Illegal level parameter");
358 assert(_full_collections_completed <= _total_full_collections,
372 assert((_full_collections_completed <= _total_full_collections) &&
405 assert(*slot == badHeapWordVal,
453 assert(SafepointSynchronize::is_at_safepoint(), "should be at safepoint");
454 assert(my_thread->is_VM_thread() ||
457 assert(Heap_lock->is_locked(),
460 assert(max_level < n_gens(), "sanity check");
801 assert(!Heap_lock->owned_by_self(), "this thread should not own the Heap_lock");
811 assert(Thread::current()->is_VM_thread(), "Precondition#1");
812 assert(Heap_lock->is_locked(), "Precondition#2");
829 assert(Heap_lock->owned_by_self(), "this thread should own the Heap_lock");
854 assert(((_gens[1]->kind() == Generation::ConcurrentMarkSweep) ||
877 assert(!Heap_lock->owned_by_self(), "Should not own Heap_lock");
927 assert(result == _gens[0]->is_in_reserved(p),
958 assert(is_in_reserved(p) || p == NULL,
1005 assert(false, "Could not find containing space");
1011 assert(is_in_reserved(addr), "block_start of address outside of heap");
1014 assert(_gens[i]->is_in(addr),
1020 assert(perm_gen()->is_in(addr),
1024 assert(false, "Some generation should contain the address");
1029 assert(is_in_reserved(addr), "block_size of address outside of heap");
1032 assert(_gens[i]->is_in(addr),
1038 assert(perm_gen()->is_in(addr),
1042 assert(false, "Some generation should contain the address");
1047 assert(is_in_reserved(addr), "block_is_obj of address outside of heap");
1048 assert(block_start(addr) == addr, "addr must be a block start");
1057 assert(false, "Some generation should contain the address");
1105 assert(*prev_ptr == cur, "just checking");
1206 assert(_gch != NULL, "Uninitialized access to GenCollectedHeap::heap()");
1207 assert(_gch->kind() == CollectedHeap::GenCollectedHeap, "not a generational heap");
1315 assert(InlineCacheBuffer::is_empty(), "should have cleaned up ICBuffer");
1342 assert(DerivedPointerTable::is_empty(), "derived pointer present");
1395 assert(obj_size == (size_t)obj->size(), "bad obj_size passed in");