hotspot/src/share/vm/prims/jvmtiExport.cpp
changeset 37195 88b6f1271f64
parent 36508 5f9eee6b383b
child 37480 291ee208fb72
child 37500 d21941e2e3fe
--- a/hotspot/src/share/vm/prims/jvmtiExport.cpp	Thu Mar 24 23:07:06 2016 -0700
+++ b/hotspot/src/share/vm/prims/jvmtiExport.cpp	Fri Mar 25 12:54:16 2016 +0300
@@ -2315,6 +2315,8 @@
 }
 
 ////////////////////////////////////////////////////////////////////////////////////////////////
+#if INCLUDE_SERVICES
+// Attach is disabled if SERVICES is not included
 
 // type for the Agent_OnAttach entry point
 extern "C" {
@@ -2416,6 +2418,7 @@
   return result;
 }
 
+#endif // INCLUDE_SERVICES
 ////////////////////////////////////////////////////////////////////////////////////////////////
 
 // Setup current current thread for event collection.