hotspot/src/share/vm/runtime/thread.cpp
changeset 30567 497b3caa8243
parent 30175 543725014c9d
child 30610 d4f41f692503
child 30607 035f5801a92e
--- a/hotspot/src/share/vm/runtime/thread.cpp	Mon Apr 27 09:51:06 2015 +0200
+++ b/hotspot/src/share/vm/runtime/thread.cpp	Mon Apr 27 09:51:13 2015 +0200
@@ -4210,13 +4210,13 @@
                Abstract_VM_Version::vm_info_string());
   st->cr();
 
-#if INCLUDE_ALL_GCS
+#if INCLUDE_SERVICES
   // Dump concurrent locks
   ConcurrentLocksDump concurrent_locks;
   if (print_concurrent_locks) {
     concurrent_locks.dump_at_safepoint();
   }
-#endif // INCLUDE_ALL_GCS
+#endif // INCLUDE_SERVICES
 
   ALL_JAVA_THREADS(p) {
     ResourceMark rm;
@@ -4229,11 +4229,11 @@
       }
     }
     st->cr();
-#if INCLUDE_ALL_GCS
+#if INCLUDE_SERVICES
     if (print_concurrent_locks) {
       concurrent_locks.print_locks_on(p, st);
     }
-#endif // INCLUDE_ALL_GCS
+#endif // INCLUDE_SERVICES
   }
 
   VMThread::vm_thread()->print_on(st);