1.1 --- a/src/share/vm/code/codeBlob.cpp Wed Oct 14 16:43:13 2020 +0800 1.2 +++ b/src/share/vm/code/codeBlob.cpp Wed Oct 14 17:44:48 2020 +0800 1.3 @@ -67,7 +67,7 @@ 1.4 #include "c1/c1_Runtime1.hpp" 1.5 #endif 1.6 1.7 -unsigned int align_code_offset(int offset) { 1.8 +unsigned int CodeBlob::align_code_offset(int offset) { 1.9 // align the size to CodeEntryAlignment 1.10 return 1.11 ((offset + (int)CodeHeap::header_size() + (CodeEntryAlignment-1)) & ~(CodeEntryAlignment-1))