mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02: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
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue