8184337: CodeCache::get_code_cache_containing wrongly asserts that start can not be NULL

Reviewed-by: thartmann, gtriantafill, rehn
This commit is contained in:
Claes Redestad 2017-07-13 15:33:20 +02:00
parent 9e3de501f8
commit 143eab3a85

View file

@ -423,7 +423,6 @@ void CodeCache::add_heap(ReservedSpace rs, const char* name, int code_blob_type)
}
CodeHeap* CodeCache::get_code_heap_containing(void* start) {
assert(start != NULL, "start is null");
FOR_ALL_HEAPS(heap) {
if ((*heap)->contains(start)) {
return *heap;