hotspot/src/share/vm/prims/nativeLookup.cpp
changeset 13975 2f7431485cfa
parent 13728 882756847a04
child 14391 df0a1573d5bd
--- a/hotspot/src/share/vm/prims/nativeLookup.cpp	Fri Oct 05 13:37:08 2012 -0700
+++ b/hotspot/src/share/vm/prims/nativeLookup.cpp	Wed Oct 10 14:35:58 2012 -0400
@@ -328,6 +328,7 @@
 // native implementation again.
 // See SetNativeMethodPrefix in the JVM TI Spec for more details.
 address NativeLookup::lookup_entry_prefixed(methodHandle method, bool& in_base_library, TRAPS) {
+#if INCLUDE_JVMTI
   ResourceMark rm(THREAD);
 
   int prefix_count;
@@ -358,6 +359,7 @@
       }
     }
   }
+#endif // INCLUDE_JVMTI
   return NULL;
 }