hotspot/src/share/vm/runtime/vmStructs.cpp
changeset 37272 c427db4ea8c4
parent 36350 29d8bb1668f5
child 38017 55047d16f141
child 37296 613278eb2a1e
--- a/hotspot/src/share/vm/runtime/vmStructs.cpp	Mon Mar 28 21:21:41 2016 +0800
+++ b/hotspot/src/share/vm/runtime/vmStructs.cpp	Wed Mar 30 09:52:02 2016 -0700
@@ -384,8 +384,8 @@
   nonstatic_field(MethodCounters,              _interpreter_profile_limit,                    int)                                   \
   nonstatic_field(MethodCounters,              _invoke_mask,                                  int)                                   \
   nonstatic_field(MethodCounters,              _backedge_mask,                                int)                                   \
-  nonstatic_field(MethodCounters,              _interpreter_invocation_count,                 int)                                   \
-  nonstatic_field(MethodCounters,              _interpreter_throwout_count,                   u2)                                    \
+  COMPILER2_OR_JVMCI_PRESENT(nonstatic_field(MethodCounters, _interpreter_invocation_count,   int))                                  \
+  COMPILER2_OR_JVMCI_PRESENT(nonstatic_field(MethodCounters, _interpreter_throwout_count,     u2))                                   \
   nonstatic_field(MethodCounters,              _number_of_breakpoints,                        u2)                                    \
   nonstatic_field(MethodCounters,              _invocation_counter,                           InvocationCounter)                     \
   nonstatic_field(MethodCounters,              _backedge_counter,                             InvocationCounter)                     \