Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalEnv.cpp @ 20970:a560c9b81f0f
Add suport for oops in vector registers at safepoints
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Tue, 14 Apr 2015 22:20:07 -0700 |
parents | 29916dcee0b8 |
children | 2e35a4ea22ac |
comparison
equal
deleted
inserted
replaced
20969:534f0dde2810 | 20970:a560c9b81f0f |
---|---|
544 MutexUnlocker locker(MethodCompileQueue_lock); | 544 MutexUnlocker locker(MethodCompileQueue_lock); |
545 CompileBroker::handle_full_code_cache(); | 545 CompileBroker::handle_full_code_cache(); |
546 } | 546 } |
547 } else { | 547 } else { |
548 nm->set_has_unsafe_access(has_unsafe_access); | 548 nm->set_has_unsafe_access(has_unsafe_access); |
549 #ifdef TARGET_ARCH_x86 | |
550 // It might be preferable to set this only for methods which | |
551 // use vector instructions but we currently don't track this | |
552 // and it probably wouldn't make much difference. | |
553 nm->set_has_wide_vectors(UseAVX >= 2); | |
554 #endif | |
549 | 555 |
550 // Record successful registration. | 556 // Record successful registration. |
551 // (Put nm into the task handle *before* publishing to the Java heap.) | 557 // (Put nm into the task handle *before* publishing to the Java heap.) |
552 CompileTask* task = env == NULL ? NULL : env->task(); | 558 CompileTask* task = env == NULL ? NULL : env->task(); |
553 if (task != NULL) task->set_code(nm); | 559 if (task != NULL) task->set_code(nm); |