8210498: nmethod entry barriers

Reviewed-by: kvn, pliden
This commit is contained in:
Erik Österlund 2018-10-16 13:18:22 +02:00
parent e39c5811b5
commit 0192c14c9b
25 changed files with 699 additions and 4 deletions

View file

@ -186,6 +186,7 @@ public:
bool contains(address addr) const { return content_begin() <= addr && addr < content_end(); }
bool is_frame_complete_at(address addr) const { return _frame_complete_offset != CodeOffsets::frame_never_safe &&
code_contains(addr) && addr >= code_begin() + _frame_complete_offset; }
int frame_complete_offset() const { return _frame_complete_offset; }
// CodeCache support: really only used by the nmethods, but in order to get
// asserts and certain bookkeeping to work in the CodeCache they are defined