Mercurial > hg > truffle
comparison src/share/vm/code/nmethod.hpp @ 14172:cd22c8dbda4f
Made graph caching compilation local
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 13 Mar 2014 15:36:30 +0100 |
parents | 5a9afbf72714 |
children | 29ccc4cbabca |
comparison
equal
deleted
inserted
replaced
14171:8c0e92c8c45b | 14172:cd22c8dbda4f |
---|---|
157 int _scopes_data_offset; | 157 int _scopes_data_offset; |
158 int _scopes_pcs_offset; | 158 int _scopes_pcs_offset; |
159 int _dependencies_offset; | 159 int _dependencies_offset; |
160 int _handler_table_offset; | 160 int _handler_table_offset; |
161 int _nul_chk_table_offset; | 161 int _nul_chk_table_offset; |
162 int _leaf_graph_ids_offset; | |
163 int _nmethod_end_offset; | 162 int _nmethod_end_offset; |
164 | 163 |
165 // location in frame (offset for sp) that deopt can store the original | 164 // location in frame (offset for sp) that deopt can store the original |
166 // pc during a deopt. | 165 // pc during a deopt. |
167 int _orig_pc_offset; | 166 int _orig_pc_offset; |
274 int frame_size, | 273 int frame_size, |
275 OopMapSet* oop_maps, | 274 OopMapSet* oop_maps, |
276 ExceptionHandlerTable* handler_table, | 275 ExceptionHandlerTable* handler_table, |
277 ImplicitExceptionTable* nul_chk_table, | 276 ImplicitExceptionTable* nul_chk_table, |
278 AbstractCompiler* compiler, | 277 AbstractCompiler* compiler, |
279 int comp_level, | 278 int comp_level |
280 GrowableArray<jlong>* leaf_graph_ids | |
281 #ifdef GRAAL | 279 #ifdef GRAAL |
282 , Handle installed_code, | 280 , Handle installed_code, |
283 Handle speculation_log | 281 Handle speculation_log |
284 #endif | 282 #endif |
285 ); | 283 ); |
316 int frame_size, | 314 int frame_size, |
317 OopMapSet* oop_maps, | 315 OopMapSet* oop_maps, |
318 ExceptionHandlerTable* handler_table, | 316 ExceptionHandlerTable* handler_table, |
319 ImplicitExceptionTable* nul_chk_table, | 317 ImplicitExceptionTable* nul_chk_table, |
320 AbstractCompiler* compiler, | 318 AbstractCompiler* compiler, |
321 int comp_level, | 319 int comp_level |
322 GrowableArray<jlong>* leaf_graph_ids = NULL | |
323 #ifdef GRAAL | 320 #ifdef GRAAL |
324 , Handle installed_code = Handle(), | 321 , Handle installed_code = Handle(), |
325 Handle speculation_log = Handle() | 322 Handle speculation_log = Handle() |
326 #endif | 323 #endif |
327 ); | 324 ); |
391 address dependencies_begin () const { return header_begin() + _dependencies_offset ; } | 388 address dependencies_begin () const { return header_begin() + _dependencies_offset ; } |
392 address dependencies_end () const { return header_begin() + _handler_table_offset ; } | 389 address dependencies_end () const { return header_begin() + _handler_table_offset ; } |
393 address handler_table_begin () const { return header_begin() + _handler_table_offset ; } | 390 address handler_table_begin () const { return header_begin() + _handler_table_offset ; } |
394 address handler_table_end () const { return header_begin() + _nul_chk_table_offset ; } | 391 address handler_table_end () const { return header_begin() + _nul_chk_table_offset ; } |
395 address nul_chk_table_begin () const { return header_begin() + _nul_chk_table_offset ; } | 392 address nul_chk_table_begin () const { return header_begin() + _nul_chk_table_offset ; } |
396 address nul_chk_table_end () const { return header_begin() + _leaf_graph_ids_offset; } | 393 address nul_chk_table_end () const { return header_begin() + _nmethod_end_offset; } |
397 jlong* leaf_graph_ids_begin () const { return (jlong*)(header_begin() + _leaf_graph_ids_offset); } | |
398 jlong* leaf_graph_ids_end () const { return (jlong*)(header_begin() + _nmethod_end_offset) ; } | |
399 | 394 |
400 // Sizes | 395 // Sizes |
401 int consts_size () const { return consts_end () - consts_begin (); } | 396 int consts_size () const { return consts_end () - consts_begin (); } |
402 int insts_size () const { return insts_end () - insts_begin (); } | 397 int insts_size () const { return insts_end () - insts_begin (); } |
403 int stub_size () const { return stub_end () - stub_begin (); } | 398 int stub_size () const { return stub_end () - stub_begin (); } |