Mercurial > hg > graal-compiler
diff src/share/vm/prims/jvmtiEnvBase.hpp @ 6854:fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
Summary: Change makefiles so that targets and parameters can be overridden by alternate makefiles.
Reviewed-by: dholmes, coleenp
author | jprovino |
---|---|
date | Wed, 10 Oct 2012 14:35:58 -0400 |
parents | da91efe96a93 |
children | 39556eae08af |
line wrap: on
line diff
--- a/src/share/vm/prims/jvmtiEnvBase.hpp Fri Oct 05 13:37:08 2012 -0700 +++ b/src/share/vm/prims/jvmtiEnvBase.hpp Wed Oct 10 14:35:58 2012 -0400 @@ -56,7 +56,9 @@ private: +#if INCLUDE_JVMTI static JvmtiEnvBase* _head_environment; // head of environment list +#endif // INCLUDE_JVMTI static bool _globally_initialized; static jvmtiPhase _phase; @@ -129,7 +131,10 @@ friend class JvmtiEnvIterator; JvmtiEnv* next_environment() { return (JvmtiEnv*)_next; } void set_next_environment(JvmtiEnvBase* env) { _next = env; } - static JvmtiEnv* head_environment() { return (JvmtiEnv*)_head_environment; } + static JvmtiEnv* head_environment() { + JVMTI_ONLY(return (JvmtiEnv*)_head_environment); + NOT_JVMTI(return NULL); + } public: