< prev index next >

src/share/vm/code/codeBlob.cpp

Print this page
rev 8914 : Fix JFR code cache test failures

@@ -56,11 +56,11 @@
 #endif
 #ifdef COMPILER1
 #include "c1/c1_Runtime1.hpp"
 #endif
 
-unsigned int align_code_offset(int offset) {
+unsigned int CodeBlob::align_code_offset(int offset) {
   // align the size to CodeEntryAlignment
   return
     ((offset + (int)CodeHeap::header_size() + (CodeEntryAlignment-1)) & ~(CodeEntryAlignment-1))
     - (int)CodeHeap::header_size();
 }
< prev index next >