--- a/hotspot/src/share/vm/runtime/vmStructs.cpp Tue Oct 09 10:09:34 2012 -0700
+++ b/hotspot/src/share/vm/runtime/vmStructs.cpp Fri Oct 12 10:49:39 2012 -0700
@@ -230,6 +230,15 @@
return x;
}
+#if INCLUDE_JVMTI
+ #define JVMTI_STRUCTS(static_field) \
+ static_field(JvmtiExport, _can_access_local_variables, bool) \
+ static_field(JvmtiExport, _can_hotswap_or_post_breakpoint, bool) \
+ static_field(JvmtiExport, _can_post_on_exceptions, bool) \
+ static_field(JvmtiExport, _can_walk_any_space, bool)
+#else
+ #define JVMTI_STRUCTS(static_field)
+#endif // INCLUDE_JVMTI
typedef HashtableEntry<intptr_t, mtInternal> IntptrHashtableEntry;
typedef Hashtable<intptr_t, mtInternal> IntptrHashtable;
@@ -1170,10 +1179,7 @@
/* JVMTI */ \
/*************************/ \
\
- static_field(JvmtiExport, _can_access_local_variables, bool) \
- static_field(JvmtiExport, _can_hotswap_or_post_breakpoint, bool) \
- static_field(JvmtiExport, _can_post_on_exceptions, bool) \
- static_field(JvmtiExport, _can_walk_any_space, bool) \
+ JVMTI_STRUCTS(static_field) \
\
/*************/ \
/* Arguments */ \