8059624: Test task: WhiteBox API for testing segmented codecache feature

Reviewed-by: kvn, thartmann
This commit is contained in:
Igor Ignatyev 2014-11-10 19:04:38 +03:00
parent 80830d4932
commit bdac822811
18 changed files with 687 additions and 35 deletions

View file

@ -43,7 +43,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))