mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-28 14:22:24 +00:00
8184337: CodeCache::get_code_cache_containing wrongly asserts that start can not be NULL
Reviewed-by: thartmann, gtriantafill, rehn
This commit is contained in:
parent
9e3de501f8
commit
143eab3a85
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user