# HG changeset patch # User Lukas Stadler # Date 1321613700 -3600 # Node ID 1976ebe361c2f03194cc8b60128a046aca6d666b # Parent 345c3bbf9c3c3aa3d397f3a151b2cc5ab6dad430 don't observe jvmti and dtrace state changes during code installing diff -r 345c3bbf9c3c -r 1976ebe361c2 src/share/vm/ci/ciEnv.cpp --- 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) {