Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalEnv.cpp @ 7935:0799a7efbe7b
Clean up of usage of marks and code installation.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Tue, 05 Mar 2013 19:00:23 +0100 |
parents | 0b646334c5f7 |
children | b89a97928e72 |
comparison
equal
deleted
inserted
replaced
7934:6b3c05de9521 | 7935:0799a7efbe7b |
---|---|
408 int orig_pc_offset, | 408 int orig_pc_offset, |
409 CodeBuffer* code_buffer, | 409 CodeBuffer* code_buffer, |
410 int frame_words, | 410 int frame_words, |
411 OopMapSet* oop_map_set, | 411 OopMapSet* oop_map_set, |
412 ExceptionHandlerTable* handler_table, | 412 ExceptionHandlerTable* handler_table, |
413 ImplicitExceptionTable* inc_table, | |
414 AbstractCompiler* compiler, | 413 AbstractCompiler* compiler, |
415 DebugInformationRecorder* debug_info, | 414 DebugInformationRecorder* debug_info, |
416 Dependencies* dependencies, | 415 Dependencies* dependencies, |
417 CompileTask* task, | 416 CompileTask* task, |
418 int compile_id, | 417 int compile_id, |
453 // If the code buffer is created on each compile attempt | 452 // If the code buffer is created on each compile attempt |
454 // as in C2, then it must be freed. | 453 // as in C2, then it must be freed. |
455 //code_buffer->free_blob(); | 454 //code_buffer->free_blob(); |
456 return GraalEnv::dependencies_failed; | 455 return GraalEnv::dependencies_failed; |
457 } | 456 } |
458 | 457 ImplicitExceptionTable implicit_tbl; |
459 nm = nmethod::new_nmethod(method, | 458 nm = nmethod::new_nmethod(method, |
460 compile_id, | 459 compile_id, |
461 entry_bci, | 460 entry_bci, |
462 offsets, | 461 offsets, |
463 orig_pc_offset, | 462 orig_pc_offset, |
464 debug_info, dependencies, code_buffer, | 463 debug_info, dependencies, code_buffer, |
465 frame_words, oop_map_set, | 464 frame_words, oop_map_set, |
466 handler_table, inc_table, | 465 handler_table, &implicit_tbl, |
467 compiler, comp_level, leaf_graph_ids, installed_code); | 466 compiler, comp_level, leaf_graph_ids, installed_code); |
468 | 467 |
469 // Free codeBlobs | 468 // Free codeBlobs |
470 //code_buffer->free_blob(); | 469 //code_buffer->free_blob(); |
471 | 470 |