hotspot/src/share/vm/code/codeCache.cpp
changeset 27642 8c9eff693145
parent 27420 04e6f914cce1
child 27880 afb974a04396
--- a/hotspot/src/share/vm/code/codeCache.cpp	Sat Nov 08 16:00:28 2014 +0300
+++ b/hotspot/src/share/vm/code/codeCache.cpp	Mon Nov 10 19:04:38 2014 +0300
@@ -305,7 +305,7 @@
   MemoryService::add_code_heap_memory_pool(heap, name);
 }
 
-CodeHeap* CodeCache::get_code_heap(CodeBlob* cb) {
+CodeHeap* CodeCache::get_code_heap(const CodeBlob* cb) {
   assert(cb != NULL, "CodeBlob is null");
   FOR_ALL_HEAPS(heap) {
     if ((*heap)->contains(cb)) {