Mercurial > hg > graal-jvmci-8
comparison src/share/vm/graal/graalCodeInstaller.cpp @ 19426:dd8989d5547f
provide more detail when Graal code installation fails due to a failed dependency check
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 17 Feb 2015 14:49:05 +0100 |
parents | 98592ae4b1fa |
children | b6beb2161e7a |
comparison
equal
deleted
inserted
replaced
19425:b6d8deed3fd5 | 19426:dd8989d5547f |
---|---|
466 if (id == -1) { | 466 if (id == -1) { |
467 // Make sure a valid compile_id is associated with every compile | 467 // Make sure a valid compile_id is associated with every compile |
468 id = CompileBroker::assign_compile_id_unlocked(Thread::current(), method, entry_bci); | 468 id = CompileBroker::assign_compile_id_unlocked(Thread::current(), method, entry_bci); |
469 } | 469 } |
470 result = GraalEnv::register_method(method, nm, entry_bci, &_offsets, _custom_stack_area_offset, &buffer, stack_slots, _debug_recorder->_oopmaps, &_exception_handler_table, | 470 result = GraalEnv::register_method(method, nm, entry_bci, &_offsets, _custom_stack_area_offset, &buffer, stack_slots, _debug_recorder->_oopmaps, &_exception_handler_table, |
471 GraalCompiler::instance(), _debug_recorder, _dependencies, env, id, false, installed_code, speculation_log); | 471 GraalCompiler::instance(), _debug_recorder, _dependencies, env, id, false, installed_code, compiled_code, speculation_log); |
472 cb = nm; | 472 cb = nm; |
473 } | 473 } |
474 | 474 |
475 if (cb != NULL) { | 475 if (cb != NULL) { |
476 // Make sure the pre-calculated constants section size was correct. | 476 // Make sure the pre-calculated constants section size was correct. |