Mercurial > hg > graal-compiler
diff src/share/vm/graal/graalCodeInstaller.cpp @ 19251:063e8873bd14
changed type of assumptions field in CompilationResult from Assumptions to Assumption[]
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 11 Feb 2015 11:38:22 +0100 |
parents | 3fc907b46313 |
children | a0a760b0fb5f |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCodeInstaller.cpp Wed Feb 11 10:13:08 2015 +0100 +++ b/src/share/vm/graal/graalCodeInstaller.cpp Wed Feb 11 11:38:22 2015 +0100 @@ -389,9 +389,8 @@ CompilerThread* compilerThread = thread->is_Compiler_thread() ? thread->as_CompilerThread() : NULL; _oop_recorder = new OopRecorder(&_arena, true); _dependencies = new Dependencies(&_arena, _oop_recorder, compilerThread != NULL ? compilerThread->log() : NULL); - Handle assumptions_handle = CompilationResult::assumptions(HotSpotCompiledCode::comp(compiled_code)); - if (!assumptions_handle.is_null()) { - objArrayHandle assumptions(Thread::current(), Assumptions::list(assumptions_handle())); + objArrayHandle assumptions = CompilationResult::assumptions(HotSpotCompiledCode::comp(compiled_code)); + if (!assumptions.is_null()) { int length = assumptions->length(); for (int i = 0; i < length; ++i) { Handle assumption = assumptions->obj_at(i);