--- a/src/hotspot/share/gc/shared/ageTable.cpp Fri Aug 16 09:18:41 2019 +0200
+++ b/src/hotspot/share/gc/shared/ageTable.cpp Tue Aug 06 10:48:21 2019 +0200
@@ -78,8 +78,8 @@
uint result;
if (AlwaysTenure || NeverTenure) {
- assert(MaxTenuringThreshold == 0 || MaxTenuringThreshold == markOopDesc::max_age + 1,
- "MaxTenuringThreshold should be 0 or markOopDesc::max_age + 1, but is " UINTX_FORMAT, MaxTenuringThreshold);
+ assert(MaxTenuringThreshold == 0 || MaxTenuringThreshold == markWord::max_age + 1,
+ "MaxTenuringThreshold should be 0 or markWord::max_age + 1, but is " UINTX_FORMAT, MaxTenuringThreshold);
result = MaxTenuringThreshold;
} else {
size_t total = 0;