src/hotspot/share/runtime/arguments.cpp
changeset 57777 90ead0febf56
parent 57774 21dccfac0ec5
child 57876 30db6422848b
--- a/src/hotspot/share/runtime/arguments.cpp	Fri Aug 16 09:18:41 2019 +0200
+++ b/src/hotspot/share/runtime/arguments.cpp	Tue Aug 06 10:48:21 2019 +0200
@@ -2867,7 +2867,7 @@
       if (FLAG_SET_CMDLINE(AlwaysTenure, false) != JVMFlag::SUCCESS) {
         return JNI_EINVAL;
       }
-      if (FLAG_SET_CMDLINE(MaxTenuringThreshold, markOopDesc::max_age + 1) != JVMFlag::SUCCESS) {
+      if (FLAG_SET_CMDLINE(MaxTenuringThreshold, markWord::max_age + 1) != JVMFlag::SUCCESS) {
         return JNI_EINVAL;
       }
     } else if (match_option(option, "-XX:+AlwaysTenure")) {