--- old/src/share/vm/code/codeBlob.cpp 2019-08-12 15:02:48.672449365 +0800 +++ new/src/share/vm/code/codeBlob.cpp 2019-08-12 15:02:48.494454517 +0800 @@ -58,7 +58,7 @@ #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))