Mercurial > hg > truffle
changeset 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 | 7689999f0ea6 |
children | 290b3025b66f |
files | src/share/vm/code/nmethod.hpp |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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: