Mercurial > hg > truffle
diff src/share/vm/code/nmethod.hpp @ 5274:e72dd6533eb9
documented importance of nmethod::_graal_compiled_method wrt code unloading and GC
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 23 Apr 2012 15:42:30 +0200 |
parents | 467de393651a |
children | 957c266d8bc5 |
line wrap: on
line diff
--- a/src/share/vm/code/nmethod.hpp Mon Apr 23 11:10:36 2012 +0200 +++ b/src/share/vm/code/nmethod.hpp Mon Apr 23 15:42:30 2012 +0200 @@ -116,6 +116,7 @@ int _entry_bci; // != InvocationEntryBci if this nmethod is an on-stack replacement method jmethodID _jmethod_id; // Cache of method()->jmethod_id() + // Needed to keep nmethods alive that are not the default nmethod for the associated methodOop oop _graal_compiled_method; // To support simple linked-list chaining of nmethods: