8184337: CodeCache::get_code_cache_containing wrongly asserts that start can not be NULL
authorredestad
Thu, 13 Jul 2017 15:33:20 +0200
changeset 46661 d40e6ce22209
parent 46659 2a4cca319443
child 46662 396785d39b69
8184337: CodeCache::get_code_cache_containing wrongly asserts that start can not be NULL Reviewed-by: thartmann, gtriantafill, rehn
hotspot/src/share/vm/code/codeCache.cpp
--- a/hotspot/src/share/vm/code/codeCache.cpp	Thu Jul 13 01:28:24 2017 +0000
+++ b/hotspot/src/share/vm/code/codeCache.cpp	Thu Jul 13 15:33:20 2017 +0200
@@ -423,7 +423,6 @@
 }
 
 CodeHeap* CodeCache::get_code_heap_containing(void* start) {
-  assert(start != NULL, "start is null");
   FOR_ALL_HEAPS(heap) {
     if ((*heap)->contains(start)) {
       return *heap;