Skip to content

Commit dd47d18

Browse files
committed
8231567: minimal build failed after JDK-8226690
Reviewed-by: shade, coleenp
1 parent 59dcb50 commit dd47d18

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/hotspot/share/prims/jvmtiExport.hpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,10 @@ class JvmtiExport : public AllStatic {
193193
}
194194

195195
// Only set in safepoint, so no memory ordering needed.
196-
inline static uint64_t redefinition_count() { return _redefinition_count; }
196+
inline static uint64_t redefinition_count() {
197+
JVMTI_ONLY(return _redefinition_count);
198+
NOT_JVMTI(return 0);
199+
}
197200

198201
inline static bool all_dependencies_are_recorded() {
199202
return _all_dependencies_are_recorded;

0 commit comments

Comments
 (0)