Mercurial > hg > graal-compiler
diff src/share/vm/ci/ciEnv.cpp @ 3684:1976ebe361c2
don't observe jvmti and dtrace state changes during code installing
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Fri, 18 Nov 2011 11:55:00 +0100 |
parents | 5e9645341ec3 |
children | 5c8fc9f05960 |
line wrap: on
line diff
--- a/src/share/vm/ci/ciEnv.cpp Fri Nov 18 11:54:07 2011 +0100 +++ b/src/share/vm/ci/ciEnv.cpp Fri Nov 18 11:55:00 2011 +0100 @@ -952,6 +952,8 @@ // and invalidating our dependencies until we install this method. MutexLocker ml(Compile_lock); + // TODO(ls) this doesn't make much sense as long as graal doesn't support jvmti or dtrace... +#ifndef GRAAL // Change in Jvmti state may invalidate compilation. if (!failing() && ( (!jvmti_can_hotswap_or_post_breakpoint() && @@ -970,6 +972,7 @@ (!dtrace_alloc_probes() && DTraceAllocProbes) )) { record_failure("DTrace flags change invalidated dependencies"); } +#endif if (!failing()) { if (log() != NULL) {