OpenJDK / jdk / hs
changeset 40869:2f53be0a45ee
8163864: [JVMCI] move MethodProfileWidth to jvmci_globals.hpp
Reviewed-by: zmajo
author | dnsimon |
---|---|
date | Mon, 22 Aug 2016 19:29:15 +0000 |
parents | e15f80121414 |
children | 2c666a83fd1f |
files | hotspot/src/share/vm/jvmci/jvmci_globals.cpp hotspot/src/share/vm/jvmci/jvmci_globals.hpp hotspot/src/share/vm/oops/methodData.hpp hotspot/src/share/vm/runtime/globals.hpp |
diffstat | 4 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/hotspot/src/share/vm/jvmci/jvmci_globals.cpp Fri Aug 19 18:51:15 2016 -0700 +++ b/hotspot/src/share/vm/jvmci/jvmci_globals.cpp Mon Aug 22 19:29:15 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 Fri Aug 19 18:51:15 2016 -0700 +++ b/hotspot/src/share/vm/jvmci/jvmci_globals.hpp Mon Aug 22 19:29:15 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 Fri Aug 19 18:51:15 2016 -0700 +++ b/hotspot/src/share/vm/oops/methodData.hpp Mon Aug 22 19:29:15 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 Fri Aug 19 18:51:15 2016 -0700 +++ b/hotspot/src/share/vm/runtime/globals.hpp Mon Aug 22 19:29:15 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") \ \