diff --git a/src/hotspot/share/oops/klassVtable.hpp b/src/hotspot/share/oops/klassVtable.hpp index f986139d3f4..349a859a17f 100644 --- a/src/hotspot/share/oops/klassVtable.hpp +++ b/src/hotspot/share/oops/klassVtable.hpp @@ -54,6 +54,9 @@ class klassVtable { klassVtable(Klass* klass, void* base, int length) : _klass(klass) { _tableOffset = int((address)base - (address)klass); _length = length; +#ifndef PRODUCT + _verify_count = 0; +#endif } // accessors