Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
5273:7689999f0ea6 | 5274:e72dd6533eb9 |
---|---|
114 // Shared fields for all nmethod's | 114 // Shared fields for all nmethod's |
115 methodOop _method; | 115 methodOop _method; |
116 int _entry_bci; // != InvocationEntryBci if this nmethod is an on-stack replacement method | 116 int _entry_bci; // != InvocationEntryBci if this nmethod is an on-stack replacement method |
117 jmethodID _jmethod_id; // Cache of method()->jmethod_id() | 117 jmethodID _jmethod_id; // Cache of method()->jmethod_id() |
118 | 118 |
119 // Needed to keep nmethods alive that are not the default nmethod for the associated methodOop | |
119 oop _graal_compiled_method; | 120 oop _graal_compiled_method; |
120 | 121 |
121 // To support simple linked-list chaining of nmethods: | 122 // To support simple linked-list chaining of nmethods: |
122 nmethod* _osr_link; // from instanceKlass::osr_nmethods_head | 123 nmethod* _osr_link; // from instanceKlass::osr_nmethods_head |
123 nmethod* _scavenge_root_link; // from CodeCache::scavenge_root_nmethods | 124 nmethod* _scavenge_root_link; // from CodeCache::scavenge_root_nmethods |