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

src/share/vm/code/codeCache.cpp

Print this page

        

*** 415,425 **** } CodeHeap* CodeCache::get_code_heap(const CodeBlob* cb) { assert(cb != NULL, "CodeBlob is null"); FOR_ALL_HEAPS(heap) { ! if ((*heap)->contains(cb->code_begin())) { return *heap; } } ShouldNotReachHere(); return NULL; --- 415,428 ---- } CodeHeap* CodeCache::get_code_heap(const CodeBlob* cb) { assert(cb != NULL, "CodeBlob is null"); FOR_ALL_HEAPS(heap) { ! if ((*heap)->contains(cb)) { ! 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