Mercurial > hg > graal-compiler
diff src/share/vm/graal/graalCodeInstaller.cpp @ 17377:44b83285b645
Deduplicate constant oops during code installation
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Wed, 08 Oct 2014 11:50:00 -0700 |
parents | 508e88b5f1d3 |
children | 9a804ec7f707 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCodeInstaller.cpp Wed Oct 08 11:48:00 2014 -0700 +++ b/src/share/vm/graal/graalCodeInstaller.cpp Wed Oct 08 11:50:00 2014 -0700 @@ -370,7 +370,7 @@ } void CodeInstaller::initialize_assumptions(oop compiled_code) { - _oop_recorder = new OopRecorder(&_arena); + _oop_recorder = new OopRecorder(&_arena, true); _dependencies = new Dependencies(&_arena, _oop_recorder); Handle assumptions_handle = CompilationResult::assumptions(HotSpotCompiledCode::comp(compiled_code)); if (!assumptions_handle.is_null()) {