Merge
authordnsimon
Mon, 22 Aug 2016 20:30:37 +0000
changeset 40870 2c666a83fd1f
parent 40868 607b015fd047 (current diff)
parent 40869 2f53be0a45ee (diff)
child 40871 82848b0654f8
Merge
--- a/hotspot/src/share/vm/jvmci/jvmci_globals.cpp	Mon Aug 22 11:47:15 2016 -0700
+++ b/hotspot/src/share/vm/jvmci/jvmci_globals.cpp	Mon Aug 22 20:30:37 2016 +0000
@@ -84,6 +84,7 @@
   CHECK_NOT_SET(JVMCICountersExcludeCompiler, EnableJVMCI)
   CHECK_NOT_SET(JVMCIUseFastLocking,          EnableJVMCI)
   CHECK_NOT_SET(JVMCINMethodSizeLimit,        EnableJVMCI)
+  CHECK_NOT_SET(MethodProfileWidth,           EnableJVMCI)
   CHECK_NOT_SET(TraceUncollectedSpeculations, EnableJVMCI)
 
 #ifndef PRODUCT
--- a/hotspot/src/share/vm/jvmci/jvmci_globals.hpp	Mon Aug 22 11:47:15 2016 -0700
+++ b/hotspot/src/share/vm/jvmci/jvmci_globals.hpp	Mon Aug 22 20:30:37 2016 +0000
@@ -88,6 +88,9 @@
   experimental(intx, JVMCINMethodSizeLimit, (80*K)*wordSize,                \
           "Maximum size of a compiled method.")                             \
                                                                             \
+  experimental(intx, MethodProfileWidth, 0,                                 \
+          "Number of methods to record in call profile")                    \
+                                                                            \
   develop(bool, TraceUncollectedSpeculations, false,                        \
           "Print message when a failed speculation was not collected")
 
--- a/hotspot/src/share/vm/oops/methodData.hpp	Mon Aug 22 11:47:15 2016 -0700
+++ b/hotspot/src/share/vm/oops/methodData.hpp	Mon Aug 22 20:30:37 2016 +0000
@@ -30,6 +30,9 @@
 #include "oops/method.hpp"
 #include "oops/oop.hpp"
 #include "runtime/orderAccess.hpp"
+#if INCLUDE_JVMCI
+#include "jvmci/jvmci_globals.hpp"
+#endif
 
 class BytecodeStream;
 class KlassSizeStats;
--- a/hotspot/src/share/vm/runtime/globals.hpp	Mon Aug 22 11:47:15 2016 -0700
+++ b/hotspot/src/share/vm/runtime/globals.hpp	Mon Aug 22 20:30:37 2016 +0000
@@ -3027,9 +3027,6 @@
           "Number of receiver types to record in call/cast profile")        \
           range(0, 8)                                                       \
                                                                             \
-  experimental(intx, MethodProfileWidth, 0,                                 \
-          "Number of methods to record in call profile")                    \
-                                                                            \
   develop(intx, BciProfileWidth,      2,                                    \
           "Number of return bci's to record in ret profile")                \
                                                                             \