# HG changeset patch # User Doug Simon # Date 1335188550 -7200 # Node ID e72dd6533eb95d81066950866b13e3adb45b019c # Parent 7689999f0ea6ac8c89a6527103824147109c2ae2 documented importance of nmethod::_graal_compiled_method wrt code unloading and GC diff -r 7689999f0ea6 -r e72dd6533eb9 src/share/vm/code/nmethod.hpp --- 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: