changeset 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 345c3bbf9c3c
children 5c8fc9f05960
files src/share/vm/ci/ciEnv.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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) {