src/share/vm/code/codeCache.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/code/codeCache.cpp	Mon Feb  6 15:17:32 2017
--- new/src/share/vm/code/codeCache.cpp	Mon Feb  6 15:17:32 2017

*** 415,425 **** --- 415,428 ---- } CodeHeap* CodeCache::get_code_heap(const CodeBlob* cb) { assert(cb != NULL, "CodeBlob is null"); FOR_ALL_HEAPS(heap) { - if ((*heap)->contains(cb->code_begin())) { + guarantee((char*) cb >= (*heap)->low_boundary(), + "Code blob " INTPTR_FORMAT " should be after heap low boundary " INTPTR_FORMAT, + p2i(cb), p2i((*heap)->low_boundary())); return *heap; } } ShouldNotReachHere(); return NULL;

src/share/vm/code/codeCache.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File