comparison src/share/vm/graal/graalCodeInstaller.cpp @ 8527:8a526d8b4604

Always clear 'queued for compilation' flag at the end of a compilation task
author Gilles Duboscq <duboscq@ssw.jku.at>
date Wed, 27 Mar 2013 14:35:10 +0100
parents 99a71b8c1c5d
children ec06c7e67698
comparison
equal deleted inserted replaced
8526:3a105dec912f 8527:8a526d8b4604
343 int stack_slots = _total_frame_size / HeapWordSize; // conversion to words 343 int stack_slots = _total_frame_size / HeapWordSize; // conversion to words
344 GrowableArray<jlong>* leaf_graph_ids = get_leaf_graph_ids(comp_result); 344 GrowableArray<jlong>* leaf_graph_ids = get_leaf_graph_ids(comp_result);
345 345
346 result = GraalEnv::register_method(method, nm, entry_bci, &_offsets, _custom_stack_area_offset, &buffer, stack_slots, _debug_recorder->_oopmaps, &_exception_handler_table, 346 result = GraalEnv::register_method(method, nm, entry_bci, &_offsets, _custom_stack_area_offset, &buffer, stack_slots, _debug_recorder->_oopmaps, &_exception_handler_table,
347 GraalCompiler::instance(), _debug_recorder, _dependencies, NULL, -1, true, false, leaf_graph_ids, installed_code, triggered_deoptimizations); 347 GraalCompiler::instance(), _debug_recorder, _dependencies, NULL, -1, true, false, leaf_graph_ids, installed_code, triggered_deoptimizations);
348
349 method->clear_queued_for_compilation();
350 } 348 }
351 349
352 // constructor used to create a stub 350 // constructor used to create a stub
353 CodeInstaller::CodeInstaller(Handle& target_method, BufferBlob*& blob, jlong& id) { 351 CodeInstaller::CodeInstaller(Handle& target_method, BufferBlob*& blob, jlong& id) {
354 No_Safepoint_Verifier no_safepoint; 352 No_Safepoint_Verifier no_safepoint;