Mercurial > hg > graal-compiler
diff src/share/vm/jvmci/jvmciEnv.cpp @ 22300:7b4a47fcc4c0
Move most of jdk.internal.jvmci.debug back into com.oracle.graal.debug
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Wed, 22 Jul 2015 23:27:39 -0700 |
parents | df9d2375512a |
children |
line wrap: on
line diff
--- a/src/share/vm/jvmci/jvmciEnv.cpp Wed Jul 22 08:56:03 2015 -0700 +++ b/src/share/vm/jvmci/jvmciEnv.cpp Wed Jul 22 23:27:39 2015 -0700 @@ -24,6 +24,7 @@ #include "precompiled.hpp" #include "jvmci/jvmciEnv.hpp" +#include "classfile/javaAssertions.hpp" #include "classfile/systemDictionary.hpp" #include "classfile/vmSymbols.hpp" #include "code/scopeDesc.hpp" @@ -435,7 +436,7 @@ // or if we don't know whether it has changed (i.e., env == NULL). // In debug mode, always check dependencies. bool counter_changed = env != NULL && env->_system_dictionary_modification_counter != SystemDictionary::number_of_modifications(); - bool verify_deps = env == NULL || trueInDebug || Debug::ENABLED(); + bool verify_deps = env == NULL || trueInDebug || JavaAssertions::enabled(SystemDictionary::HotSpotInstalledCode_klass()->name()->as_C_string(), true); if (!counter_changed && !verify_deps) { return JVMCIEnv::ok; }