8215754: ZGC: nmethod is not unlinked from Method before rendezvous handshake

Reviewed-by: pliden, neliasso
This commit is contained in:
Erik Österlund 2019-01-11 13:15:37 +01:00
parent 804d51618f
commit c03e894387
4 changed files with 28 additions and 13 deletions

View file

@ -376,6 +376,8 @@ class nmethod : public CompiledMethod {
int comp_level() const { return _comp_level; }
void unlink_from_method(bool acquire_lock);
// Support for oops in scopes and relocs:
// Note: index 0 is reserved for null.
oop oop_at(int index) const;