Mercurial > hg > truffle
diff src/share/vm/jvmci/jvmciEnv.cpp @ 21731:df9d2375512a
Track max live register value in reference map
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Wed, 03 Jun 2015 20:24:05 -0700 |
parents | be896a1983c0 |
children |
line wrap: on
line diff
--- a/src/share/vm/jvmci/jvmciEnv.cpp Wed Jun 03 19:57:38 2015 -0700 +++ b/src/share/vm/jvmci/jvmciEnv.cpp Wed Jun 03 20:24:05 2015 -0700 @@ -483,6 +483,7 @@ JVMCIEnv* env, int compile_id, bool has_unsafe_access, + bool has_wide_vector, Handle installed_code, Handle compiled_code, Handle speculation_log) { @@ -546,12 +547,7 @@ } } else { nm->set_has_unsafe_access(has_unsafe_access); -#ifdef TARGET_ARCH_x86 - // It might be preferable to set this only for methods which - // use vector instructions but we currently don't track this - // and it probably wouldn't make much difference. - nm->set_has_wide_vectors(MaxVectorSize > 16); -#endif + nm->set_has_wide_vectors(has_wide_vector); // Record successful registration. // (Put nm into the task handle *before* publishing to the Java heap.)