Mercurial > hg > truffle
comparison src/share/vm/code/nmethod.hpp @ 7154:5d0bb7d52783
changes to support Graal co-existing with the other HotSpot compiler(s) and being used for explicit compilation requests and code installation via the Graal API
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 12 Dec 2012 21:36:40 +0100 |
parents | 1baf7f1e3f23 |
children | 0b646334c5f7 |
comparison
equal
deleted
inserted
replaced
7153:c421c19b7bf8 | 7154:5d0bb7d52783 |
---|---|
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 #ifdef GRAAL | 119 #ifdef GRAAL |
120 // Needed to keep nmethods alive that are not the default nmethod for the associated Method. | 120 // Needed to keep nmethods alive that are not the default nmethod for the associated Method. |
121 // This field is initialized to Universe::non_oop_word() so that a non-default nmethod | |
122 // is not unloaded between being allocated and having this field set in the Graal specific code | |
123 oop _graal_installed_code; | 121 oop _graal_installed_code; |
124 #endif | 122 #endif |
125 | 123 |
126 // To support simple linked-list chaining of nmethods: | 124 // To support simple linked-list chaining of nmethods: |
127 nmethod* _osr_link; // from InstanceKlass::osr_nmethods_head | 125 nmethod* _osr_link; // from InstanceKlass::osr_nmethods_head |