Lines Matching refs:CodeBlob
36 // The entries in the CodeCache are all CodeBlob's.
39 // - Each CodeBlob occupies one chunk of memory.
77 static CodeBlob* allocate(int size); // allocates a new CodeBlob
78 static void commit(CodeBlob* cb); // called when the allocated CodeBlob has been filled
80 static int alignment_offset(); // guaranteed offset of first CodeBlob byte within alignment unit (i.e., allocation header)
81 static void free(CodeBlob* cb); // frees a CodeBlob
84 static void blobs_do(void f(CodeBlob* cb)); // iterates over all CodeBlobs
89 static CodeBlob* find_blob(void* start);
94 static CodeBlob* find_blob_unsafe(void* start) {
98 CodeBlob* result = (CodeBlob*)_heap->find_start(start);
110 // assert(result == NULL || result->blob_contains((address)start), "found wrong CodeBlob");
119 static CodeBlob* first();
120 static CodeBlob* next (CodeBlob* cb);
121 static CodeBlob* alive(CodeBlob *cb);
122 static nmethod* alive_nmethod(CodeBlob *cb);
124 static nmethod* next_nmethod (CodeBlob* cb);
156 static void print_trace(const char* event, CodeBlob* cb, int size = 0) PRODUCT_RETURN;